WordPress File Upload - Version 3.5.0

Version Description

  • textdomain changed to wp-file-upload to support the translation feature of wordpress.org
  • added option in Maintenance Actions of plugin's area in Dashboard to export uploaded file data
  • added pagination of non-admin logged user's Uploaded Files Browser
  • added pagination of front-end File List Viewer
  • added pagination of user permissions table in plugin's Settings
  • added pagination of Log Viewer
  • corrected bug in View Log that was not working when pressing on the link
  • improvements to View Log feature
  • improvements to file download function to avoid corruption of downloaded file due to set_time_limit function that may generate warnings
  • added wfu_before_frontpage_scripts filter that executes right before frontpage scripts and styles are loaded
  • added functionality to avoid incompatibilities with NextGen Gallery plugin
Download this release

Release Info

Developer nickboss
Plugin Icon 128x128 WordPress File Upload
Version 3.5.0
Comparing to
See all releases

Code changes from version 3.4.1 to 3.5.0

Files changed (38) hide show
  1. css/wordpress_file_upload_adminstyle.css +1 -1
  2. css/wordpress_file_upload_style.css +1 -1
  3. css/wordpress_file_upload_style_relaxed.css +1 -1
  4. css/wordpress_file_upload_style_safe.css +1 -1
  5. images/Version Comparison.png +0 -0
  6. js/json2.js +1 -1
  7. js/wordpress_file_upload_adminfunctions.js +3 -3
  8. js/wordpress_file_upload_functions.js +2 -2
  9. languages/wordpress-file-upload-de_DE.mo +0 -0
  10. languages/wordpress-file-upload-el_GR.mo +0 -0
  11. languages/wordpress-file-upload-fr_FR.mo +0 -0
  12. languages/wordpress-file-upload-sr_RS.mo +0 -0
  13. languages/wp-file-upload-de_DE.mo +0 -0
  14. languages/{wordpress-file-upload-de_DE.po → wp-file-upload-de_DE.po} +879 -781
  15. languages/wp-file-upload-el_GR.mo +0 -0
  16. languages/{wordpress-file-upload-el_GR.po → wp-file-upload-el_GR.po} +866 -769
  17. languages/wp-file-upload-fr_FR.mo +0 -0
  18. languages/{wordpress-file-upload-fr_FR.po → wp-file-upload-fr_FR.po} +868 -772
  19. languages/wp-file-upload-pl_PL.mo +0 -0
  20. languages/wp-file-upload-pl_PL.po +847 -0
  21. languages/wp-file-upload-sr_RS.mo +0 -0
  22. languages/{wordpress-file-upload-sr_RS.po → wp-file-upload-sr_RS.po} +862 -756
  23. languages/{wordpress-file-upload.pot → wp-file-upload.pot} +335 -140
  24. lib/wfu_admin.php +58 -5
  25. lib/wfu_admin_browser.php +1 -1
  26. lib/wfu_admin_log.php +73 -42
  27. lib/wfu_admin_settings.php +4 -4
  28. lib/wfu_ajaxactions.php +26 -7
  29. lib/wfu_attributes.php +0 -14
  30. lib/wfu_constants.php +187 -139
  31. lib/wfu_functions.php +126 -4
  32. lib/wfu_processfiles.php +4 -2
  33. lib/wfu_widget.php +4 -4
  34. readme.txt +22 -353
  35. release_notes.txt +8 -1
  36. vendor/datetimepicker/jquery-ui-timepicker-addon.min.js +2 -2
  37. wfu_file_downloader.php +26 -9
  38. wordpress_file_upload.php +14 -6
css/wordpress_file_upload_adminstyle.css CHANGED
@@ -1 +1 @@
1
- div.wfu_help_container,div.wfu_restore_container{display:inline-block;top:4px}div.wfu_shortcode_container{display:inline-block;position:relative;width:50%;padding:0;margin:0;background:0 0;border:none}div.wfu_container input.wfu_long_text,textarea.wfu_shortcode{width:100%}div.wfu_container{margin-top:10px}div.wfu_help_container,div.wfu_restore_container,div.wfu_td_div{position:relative;padding:0;margin:0;background:0 0;border:none}div.wfu_help_container img{visibility:hidden}table.wfu_inner_table th:hover div.wfu_help_container img,table.wfu_main_table th:hover div.wfu_help_container img{visibility:visible}div.wfu_restore_container img{visibility:hidden}div.wfu_mchecklist_item:hover img,table.wfu_inner_table th:hover div.wfu_restore_container img,table.wfu_main_table th:hover div.wfu_restore_container img{visibility:visible}div.wfu_td_div{display:block;width:100%;height:100%}div.wfu_container input.wfu_short_text{width:60px}div.wfu_container input{width:200px}div.wfu_container input[type=checkbox]{width:auto}table.wfu_main_table{table-layout:fixed}table.wfu_main_table tr:nth-child(odd){background-color:#f4f4f4}table.wfu_main_table table.wfu_inner_table tr,table.wfu_main_table tr:nth-child(even){background-color:transparent}table.wfu_main_table th{width:17%}table.wfu_main_table td:nth-child(2){width:33%}table.wfu_main_table td:nth-child(3){width:50%}table.wfu_main_table table.wfu_inner_table th{width:34%}table.wfu_main_table table.wfu_inner_table td:nth-child(2){width:66%}table.wfu_main_table tr.wfu_subcategory{background-color:#ddd}table.wfu_main_table tr.wfu_subcategory>th{padding-top:0;padding-bottom:0}select.wfu_variable{padding:0;height:auto;-webkit-border-radius:5px;-moz-border-radius:5px;-khtml-border-radius:5px;border-radius:5px;user-select:none;cursor:default}select.wfu_variable,span.wfu_variable{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;margin:0;font-size:smaller;background-color:#ddd;border:1px solid #ccc;color:#333}span.wfu_variable{padding:1px;-webkit-border-radius:5px;-moz-border-radius:5px;-khtml-border-radius:5px;border-radius:5px;user-select:none;cursor:default}div.wfu_date_container{display:inline-block;position:relative;width:auto;height:100%;padding:0;margin:0;background:0 0;border:none}.wfu_datereset_button{position:absolute;right:4px;top:0;bottom:0;margin:auto 0;opacity:.5}.wfu_datereset_button:hover{opacity:1}span.wfu_ptext_span{display:inline-block;width:60px}select.wfu_select_folders{height:auto;min-width:75%}select.wfu_select_folders_empty{font-style:italic;color:silver}div.wfu_subfolders_inner_shadow{position:absolute;width:100%;height:100%;padding:0;margin:0;border:none;background-color:rgba(255,255,255,.8)}div.wfu_subfolder_nav_container,table.wfu_subfolder_nav,table.wfu_subfolder_nav td,table.wfu_subfolder_nav tr{border:none;margin:0;padding:0;background:0 0}option.wfu_select_folders_option_default{color:#00f}div.wfu_subfolder_nav_container{width:40px;display:inline-block;vertical-align:top}table.wfu_subfolder_nav{table-layout:fixed;width:100%;border-spacing:1px}table.wfu_subfolder_nav td{font-size:small;line-height:1;text-align:center}table.wfu_subfolder_nav button.button{margin:0;padding:0;width:17px;font-size:smaller;height:18px;line-height:1;color:#000;font-weight:700}.wfu_subfolder_tools_disabled,table.wfu_subfolder_nav button.button:disabled,table.wfu_subfolder_tools button.button:disabled{color:silver}.button.wfu_subfolder_nav_pressed,.button.wfu_subfolder_nav_pressed:focus,.button.wfu_subfolder_nav_pressed:hover{background:#4169e1}div.wfu_subfolder_tools_container{width:75%;margin:0;padding:0;border:none;background:0 0}table.wfu_subfolder_tools,table.wfu_subfolder_tools input{margin:0;width:100%;padding:0}table.wfu_subfolder_tools{table-layout:fixed;border:none;background:0 0}table.wfu_subfolder_tools tr{margin:0;padding:0;border:none;background:0 0}table.wfu_subfolder_tools td{margin:0;padding:0;border:none;background:0 0;font-size:smaller}table.wfu_subfolder_tools td div{margin:0;padding:0;border:none;background:0 0;position:relative}table.wfu_subfolder_tools label{display:block;padding:0;margin:0;line-height:1}table.wfu_subfolder_tools input:disabled{width:100%;padding:0;margin:0;color:silver}table.wfu_subfolder_tools button.button{margin:0;padding:1px 0 0;width:17px;font-size:smaller;height:17px;line-height:1;position:absolute;bottom:2px}table.wfu_subfolder_tools button.button:disabled img{opacity:.4}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container{position:absolute;width:150px;height:150px;margin:0;padding:0;z-index:100;border:1px solid silver;box-shadow:1px 1px 2px;background-color:#fff;font-size:inherit}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container table{table-layout:fixed;width:100%;height:100%;border:none;background:#eee;margin:0;padding:0;border-spacing:0;font-size:inherit}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container tr{border:none;background:0 0;margin:0;padding:0;font-size:inherit}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container td{border:none;background:0 0;margin:0;padding:2px;line-height:0;overflow:hidden;font-size:inherit}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container td div{position:relative;border:none;background:0 0;margin:0;padding:0;width:100%;height:100%;display:inline-block;line-height:1}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container td div button.button{font-size:inherit;line-height:1;height:17px;padding:4px;position:relative;width:auto;margin:0;bottom:auto}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container select{width:100%;height:100%;top:0;bottom:0;position:absolute;margin:0}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container label{color:#222;font-weight:700;position:absolute;top:0;bottom:0;height:10px;margin:auto}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container td div button.button.wfu_folder_browser_cancel{width:17px;height:17px;position:absolute;right:0;top:0;margin:0;padding:0}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container td div div.wfu_folder_browser_loading_container{position:absolute;width:100%;height:100%;top:0;bottom:0;margin:0;padding:0;background-color:rgba(255,255,255,.9);text-align:center}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container td div div.wfu_folder_browser_loading_container label{position:relative;display:block}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container td div div.wfu_folder_browser_loading_container img{position:relative}.button.wfu_folder_browser_cancel img{vertical-align:top;margin-top:2px}div.wfu_mchecklist_container{display:inline-block;border:1px solid #ddd;border-radius:4px;padding:4px}div.wfu_mchecklist_item{display:inline-block}div.wfu_mchecklist_item label{vertical-align:baseline;margin-left:4px;cursor:default}div.wfu_mchecklist_item input:disabled+label{color:gray}div.wfu_mchecklist_item div{margin-left:4px}div.wfu_bloglist_checkbtn,div.wfu_mchecklist_checkall,div.wfu_postlist_checkbtn,div.wfu_rolelist_checkbtn,div.wfu_userlist_checkbtn{display:inline-block;vertical-align:top;margin:0 0 0 10px}table.wfu_bloglist_container,table.wfu_postlist_container,table.wfu_rolelist_container,table.wfu_userlist_container{border:none;background:0 0;margin:0;padding:0;border-spacing:0}table.wfu_bloglist_container tr:nth-child(odd),table.wfu_postlist_container tr:nth-child(odd),table.wfu_rolelist_container tr:nth-child(odd),table.wfu_userlist_container tr:nth-child(odd){border:none;background:0 0;margin:0;padding:0}table.wfu_bloglist_container td,table.wfu_postlist_container td,table.wfu_rolelist_container td,table.wfu_userlist_container td{width:1%;border:none;background:0 0;margin:0;padding:0;vertical-align:top}table.wfu_postlist_container td{padding-right:20px}table.wfu_postlist_container td:last-child{padding-right:0}div.wfu_postlist_header{padding:0 10px}div.wfu_postlist_selectall{float:right}div.wfu_shadow{position:absolute;width:100%;height:100%;left:0;top:0;margin:0;padding:0;background-color:#fff;z-index:10;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";filter:alpha(opacity=60);-moz-opacity:.6;-khtml-opacity:.6;opacity:.6}table.wfu_main_table tr:nth-child(odd) div.wfu_shadow{background-color:#f4f4f4}div.wfu_onoff_container_off,div.wfu_onoff_container_on{display:inline-block;position:relative;padding:2px;border:1px solid #aaa;-webkit-border-radius:3px;-moz-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;background:#066dab;background:-moz-linear-gradient(top,rgba(6,109,171,1) 0,rgba(197,222,234,1) 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(6,109,171,1)),color-stop(100%,rgba(197,222,234,1)));background:-webkit-linear-gradient(top,rgba(6,109,171,1) 0,rgba(197,222,234,1) 100%);background:-o-linear-gradient(top,rgba(6,109,171,1) 0,rgba(197,222,234,1) 100%);background:-ms-linear-gradient(top,rgba(6,109,171,1) 0,rgba(197,222,234,1) 100%);background:linear-gradient(to bottom,rgba(6,109,171,1) 0,rgba(197,222,234,1) 100%);filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#066dab', endColorstr='#c5deea', GradientType=0 )}span.wfu_onoff_text{width:30px;display:inline-block;text-align:center;color:#FFF}div.wfu_onoff_slider{position:absolute;margin:0;width:31px;top:0;bottom:0;border:1px solid #fff;-webkit-border-radius:2px;-moz-border-radius:2px;-khtml-border-radius:2px;border-radius:2px;-moz-box-shadow:0 0 2px;-webkit-box-shadow:0 0 2px;box-shadow:0 0 2px;background:#ccc;background:-moz-linear-gradient(top,rgba(204,204,204,1) 0,rgba(255,255,255,1) 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(204,204,204,1)),color-stop(100%,rgba(255,255,255,1)));background:-webkit-linear-gradient(top,rgba(204,204,204,1) 0,rgba(255,255,255,1) 100%);background:-o-linear-gradient(top,rgba(204,204,204,1) 0,rgba(255,255,255,1) 100%);background:-ms-linear-gradient(top,rgba(204,204,204,1) 0,rgba(255,255,255,1) 100%);background:linear-gradient(to bottom,rgba(204,204,204,1) 0,rgba(255,255,255,1) 100%);filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#cccccc', endColorstr='#ffffff', GradientType=0 )}div.wfu_onoff_container_on div.wfu_onoff_slider{left:50%}div.wfu_onoff_container_off div.wfu_onoff_slider{left:0}@-webkit-keyframes set_on{from{left:0}to{left:50%}}@-moz-keyframes set_on{from{left:0}to{left:50%}}@-o-keyframes set_on{from{left:0}to{left:50%}}@keyframes set_on{from{left:0}to{left:50%}}div.wfu_placements_wrapper{display:block;position:relative;margin:0;padding:0;background:0 0;border:none}div.wfu_placements_container{display:inline-block;position:relative;width:100%;height:300px;background-color:#fff;border:1px solid #ccc;-webkit-border-radius:3px;-moz-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;padding:0;overflow:scroll;font-size:0;line-height:0;white-space:nowrap}div.wfu_componentlist_container{display:inline-block;position:absolute;width:auto;height:auto;top:0;left:100%;background:0 0;border:none;margin:0 0 0 20px;padding:0;z-index:1;white-space:nowrap}div.wfu_component_box,div.wfu_component_box_base{cursor:default;font-size:12px;line-height:1;white-space:normal}div.wfu_component_box_container{display:inline-block;position:relative;width:80px;height:30px;background-color:transparent;border:1px solid transparent;padding:4px;margin:0;cursor:default}div.wfu_component_box_base{display:block;position:absolute;left:-1px;top:-1px;-webkit-border-radius:3px;-moz-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;padding:4px;filter:alpha(opacity=40);-khtml-opacity:.4;opacity:.4}div.wfu_component_box_base,div.wfu_component_box_dragged{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";-moz-opacity:.4}div.wfu_component_box,div.wfu_component_box_base{width:80px;height:30px;background-color:#ddd;border:1px solid #bbb}div.wfu_component_box{display:inline-block;position:relative;-webkit-border-radius:3px;-moz-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;padding:4px;z-index:1}div.wfu_component_box_inner{display:table;width:100%;height:100%}div.wfu_component_box_label{display:table-cell;text-align:center;vertical-align:middle}div.wfu_component_box_index{background-color:coral;padding:1px;float:right;border-radius:10px}div.wfu_inbase{display:block;position:absolute;left:-1px;top:-1px}div.wfu_component_box:hover{background-color:#eee;border:1px solid #bbb}div.wfu_component_box_selected{background-color:#aaa;border:1px solid #bbb}div.wfu_component_separator_hor,div.wfu_component_separator_ver{position:relative;background-color:transparent;border:1px solid transparent;cursor:default;z-index:1}div.wfu_component_box_dragged{filter:alpha(opacity=40);-khtml-opacity:.4;opacity:.4}div.wfu_component_separator_ver{display:inline-block;width:8px;height:26px;margin:6px -8px;padding:0 8px}div.wfu_component_separator_hor{display:block;width:100%;height:8px;margin:-8px 0;padding:8px 0}div.wfu_component_bar_hor,div.wfu_component_bar_ver{padding:0;position:absolute;background-color:silver;border:none;display:none}div.wfu_component_bar_hor{width:auto;height:4px;left:10px;right:0;margin:11px 0 0}div.wfu_component_bar_ver{width:4px;height:40px;margin:-6px 0 0 11px}div.wfu_componentlist_dragdrop{position:absolute;width:100%;height:100%;left:0;top:0;background-color:#f8f8f8;border:4px dashed #aaa;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;z-index:2;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";filter:alpha(opacity=70);-moz-opacity:.7;-khtml-opacity:.7;opacity:.7}div.wfu_componentlist_dragdrop_dragover{border:4px dashed #555}div.wfu_formdata_container,div.wfu_userdata_container{display:block;position:relative;width:100%;height:100%;padding:0;margin:0;background:0 0;border:none}label.wfu_formdata_label{margin-right:6px}.wfu_formdata_props{padding-left:20px}div.wfu_formdata_action,div.wfu_userdata_action{display:inline-block;position:relative;top:2px;width:16px;height:16px;padding:0;margin:0;background:0 0;text-align:center;border:1px solid transparent;-webkit-border-radius:3px;-moz-border-radius:3px;-khtml-border-radius:3px;border-radius:3px}div.wfu_formdata_action:hover,div.wfu_userdata_action:hover{border:1px solid #aaa}div.wfu_formdata_action.wfu_formdata_action_disabled:hover,div.wfu_userdata_action.wfu_userdata_action_disabled:hover{border:1px solid transparent}div.wfu_formdata_action>img,div.wfu_userdata_action>img{width:12px;height:12px}div.wfu_formdata_action_disabled>img,div.wfu_userdata_action_disabled>img{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";filter:alpha(opacity=40);-moz-opacity:.4;-khtml-opacity:.4;opacity:.4}div.wfu_formdata_line_container,div.wfu_userdata_line{display:block;position:relative;padding:0;margin:0;background:0 0;border:none;white-space:nowrap}table.wfu_formdata_props_table{background:0 0;border:none;padding:0}table.wfu_formdata_props_table td,table.wfu_main_table table.wfu_inner_table table.wfu_formdata_props_table td{background:0 0;border:none;padding:0;width:auto}table.wfu_formdata_props_table td.wfu_formdata_props,table.wfu_main_table table.wfu_inner_table table.wfu_formdata_props_table td.wfu_formdata_props{padding-left:20px}div.wfu_color_container{display:block;position:relative;padding:0;margin:0;background:0 0;border:none;white-space:nowrap;z-index:1}span.wfu_save_label,span.wfu_save_label_fail{font-size:smaller;border-radius:6px;padding:1px 2px;box-shadow:1px 1px 1px;opacity:0}input[type=text].wp-color-picker{width:75px}input[type=button].wp-picker-clear{width:62px}span.wfu_save_label{background-color:#f0f8ff;color:#32cd32}span.wfu_save_label_fail{background-color:beige;color:#f08080}div.wfu_global_dialog_container{position:fixed;width:100%;height:100%;top:0;left:0;margin:0;padding:0;border:none;background:0 0;z-index:1;display:none}table.wfu_main_table table.wfu_columns_container{border:none;background:0 0;margin:0;padding:0;border-spacing:0}table.wfu_main_table table.wfu_columns_container tr{background:0 0}table.wfu_main_table table.wfu_columns_container td{border:none;background:0 0;margin:0;padding:0;vertical-align:top;width:auto}button.wfu_columns_addbutton{margin:0 10px;font-size:smaller}option.wfu_columns_item_required{color:gray}
1
+ div.wfu_help_container,div.wfu_restore_container,div.wfu_shortcode_container,div.wfu_td_div{background:0 0;border:none;padding:0;position:relative}select.wfu_variable,span.wfu_variable{font-size:smaller;color:#333;-webkit-touch-callout:none;-khtml-user-select:none;cursor:default}div.wfu_shortcode_container{display:inline-block;width:50%;margin:0}div.wfu_container input.wfu_long_text,textarea.wfu_shortcode{width:100%}div.wfu_container{margin-top:10px}div.wfu_help_container{display:inline-block;top:4px;margin:0}div.wfu_help_container img{visibility:hidden}table.wfu_inner_table th:hover div.wfu_help_container img,table.wfu_main_table th:hover div.wfu_help_container img{visibility:visible}div.wfu_restore_container{display:inline-block;top:4px;margin:0}div.wfu_restore_container img{visibility:hidden}div.wfu_mchecklist_item:hover img,table.wfu_inner_table th:hover div.wfu_restore_container img,table.wfu_main_table th:hover div.wfu_restore_container img{visibility:visible}div.wfu_td_div{display:block;width:100%;height:100%;margin:0}div.wfu_container input.wfu_short_text{width:60px}div.wfu_container input{width:200px}div.wfu_container input[type=checkbox]{width:auto}table.wfu_main_table{table-layout:fixed}table.wfu_main_table tr:nth-child(odd){background-color:#f4f4f4}table.wfu_main_table table.wfu_inner_table tr,table.wfu_main_table tr:nth-child(even){background-color:transparent}select.wfu_variable,span.wfu_variable,table.wfu_main_table tr.wfu_subcategory{background-color:#ddd}table.wfu_main_table th{width:17%}table.wfu_main_table td:nth-child(2){width:33%}table.wfu_main_table td:nth-child(3){width:50%}table.wfu_main_table table.wfu_inner_table th{width:34%}table.wfu_main_table table.wfu_inner_table td:nth-child(2){width:66%}table.wfu_main_table tr.wfu_subcategory>th{padding-top:0;padding-bottom:0}select.wfu_variable{padding:0;margin:0;height:auto;border:1px solid #ccc;-webkit-border-radius:5px;-moz-border-radius:5px;-khtml-border-radius:5px;border-radius:5px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}span.wfu_variable{padding:1px;margin:0;border:1px solid #ccc;-webkit-border-radius:5px;-moz-border-radius:5px;-khtml-border-radius:5px;border-radius:5px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}div.wfu_date_container{display:inline-block;position:relative;width:auto;height:100%;padding:0;margin:0;background:0 0;border:none}.wfu_datereset_button{position:absolute;right:4px;top:0;bottom:0;margin:auto 0;opacity:.5}.wfu_datereset_button:hover{opacity:1}span.wfu_ptext_span{display:inline-block;width:60px}select.wfu_select_folders{height:auto;min-width:75%}select.wfu_select_folders_empty{font-style:italic;color:silver}div.wfu_subfolders_inner_shadow{position:absolute;width:100%;height:100%;padding:0;margin:0;border:none;background-color:rgba(255,255,255,.8)}div.wfu_subfolder_nav_container,table.wfu_subfolder_nav,table.wfu_subfolder_nav td,table.wfu_subfolder_nav tr{background:0 0;margin:0;padding:0;border:none}option.wfu_select_folders_option_default{color:#00f}div.wfu_subfolder_nav_container{width:40px;display:inline-block;vertical-align:top}table.wfu_subfolder_nav{table-layout:fixed;width:100%;border-spacing:1px}table.wfu_subfolder_nav td{font-size:small;line-height:1;text-align:center}table.wfu_subfolder_nav button.button{margin:0;padding:0;width:17px;font-size:smaller;height:18px;line-height:1;color:#000;font-weight:700}.wfu_subfolder_tools_disabled,table.wfu_subfolder_nav button.button:disabled,table.wfu_subfolder_tools button.button:disabled{color:silver}.button.wfu_subfolder_nav_pressed,.button.wfu_subfolder_nav_pressed:focus,.button.wfu_subfolder_nav_pressed:hover{background:#4169e1}div.wfu_subfolder_tools_container{width:75%;margin:0;padding:0;border:none;background:0 0}table.wfu_subfolder_tools,table.wfu_subfolder_tools input{width:100%;padding:0;margin:0}table.wfu_subfolder_tools{table-layout:fixed;border:none;background:0 0}table.wfu_subfolder_tools tr{margin:0;padding:0;border:none;background:0 0}table.wfu_subfolder_tools td{margin:0;padding:0;border:none;background:0 0;font-size:smaller}table.wfu_subfolder_tools td div{margin:0;padding:0;border:none;background:0 0;position:relative}table.wfu_subfolder_tools label{display:block;padding:0;margin:0;line-height:1}table.wfu_subfolder_tools input:disabled{width:100%;padding:0;margin:0;color:silver}table.wfu_subfolder_tools button.button{margin:0;padding:1px 0 0;width:17px;font-size:smaller;height:17px;line-height:1;position:absolute;bottom:2px}table.wfu_subfolder_tools button.button:disabled img{opacity:.4}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container{position:absolute;width:150px;height:150px;margin:0;padding:0;z-index:100;border:1px solid silver;box-shadow:1px 1px 2px;background-color:#fff;font-size:inherit}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container table{table-layout:fixed;width:100%;height:100%;border:none;background:#eee;margin:0;padding:0;border-spacing:0;font-size:inherit}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container tr{border:none;background:0 0;margin:0;padding:0;font-size:inherit}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container td{border:none;background:0 0;margin:0;padding:2px;line-height:0;overflow:hidden;font-size:inherit}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container td div{position:relative;border:none;background:0 0;margin:0;padding:0;width:100%;height:100%;display:inline-block;line-height:1}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container td div button.button{font-size:inherit;line-height:1;height:17px;padding:4px;position:relative;width:auto;margin:0;bottom:auto}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container select{width:100%;height:100%;top:0;bottom:0;position:absolute;margin:0}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container label{color:#222;font-weight:700;position:absolute;top:0;bottom:0;height:10px;margin:auto}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container td div button.button.wfu_folder_browser_cancel{width:17px;height:17px;position:absolute;right:0;top:0;margin:0;padding:0}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container td div div.wfu_folder_browser_loading_container{position:absolute;width:100%;height:100%;top:0;bottom:0;margin:0;padding:0;background-color:rgba(255,255,255,.9);text-align:center}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container td div div.wfu_folder_browser_loading_container label{position:relative;display:block}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container td div div.wfu_folder_browser_loading_container img{position:relative}.button.wfu_folder_browser_cancel img{vertical-align:top;margin-top:2px}div.wfu_mchecklist_container{display:inline-block;border:1px solid #ddd;border-radius:4px;padding:4px}div.wfu_mchecklist_item{display:inline-block}div.wfu_mchecklist_item label{vertical-align:baseline;margin-left:4px;cursor:default}div.wfu_mchecklist_item input:disabled+label{color:gray}div.wfu_mchecklist_item div{margin-left:4px}div.wfu_bloglist_checkbtn,div.wfu_mchecklist_checkall,div.wfu_postlist_checkbtn,div.wfu_rolelist_checkbtn,div.wfu_userlist_checkbtn{display:inline-block;vertical-align:top;margin:0 0 0 10px}table.wfu_bloglist_container,table.wfu_postlist_container,table.wfu_rolelist_container,table.wfu_userlist_container{border:none;background:0 0;margin:0;padding:0;border-spacing:0}table.wfu_bloglist_container tr:nth-child(odd),table.wfu_postlist_container tr:nth-child(odd),table.wfu_rolelist_container tr:nth-child(odd),table.wfu_userlist_container tr:nth-child(odd){border:none;background:0 0;margin:0;padding:0}table.wfu_bloglist_container td,table.wfu_postlist_container td,table.wfu_rolelist_container td,table.wfu_userlist_container td{width:1%;border:none;background:0 0;margin:0;padding:0;vertical-align:top}table.wfu_postlist_container td{padding-right:20px}table.wfu_postlist_container td:last-child{padding-right:0}div.wfu_postlist_header{padding:0 10px}div.wfu_postlist_selectall{float:right}div.wfu_shadow{position:absolute;width:100%;height:100%;left:0;top:0;margin:0;padding:0;background-color:#fff;z-index:10;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";filter:alpha(opacity=60);-moz-opacity:.6;-khtml-opacity:.6;opacity:.6}table.wfu_main_table tr:nth-child(odd) div.wfu_shadow{background-color:#f4f4f4}div.wfu_onoff_container_off,div.wfu_onoff_container_on{display:inline-block;position:relative;padding:2px;border:1px solid #aaa;-webkit-border-radius:3px;-moz-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;background:#066dab;background:-moz-linear-gradient(top,rgba(6,109,171,1) 0,rgba(197,222,234,1) 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(6,109,171,1)),color-stop(100%,rgba(197,222,234,1)));background:-webkit-linear-gradient(top,rgba(6,109,171,1) 0,rgba(197,222,234,1) 100%);background:-o-linear-gradient(top,rgba(6,109,171,1) 0,rgba(197,222,234,1) 100%);background:-ms-linear-gradient(top,rgba(6,109,171,1) 0,rgba(197,222,234,1) 100%);background:linear-gradient(to bottom,rgba(6,109,171,1) 0,rgba(197,222,234,1) 100%);filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#066dab', endColorstr='#c5deea', GradientType=0 )}span.wfu_onoff_text{width:30px;display:inline-block;text-align:center;color:#FFF}div.wfu_onoff_slider{position:absolute;margin:0;width:31px;top:0;bottom:0;border:1px solid #fff;-webkit-border-radius:2px;-moz-border-radius:2px;-khtml-border-radius:2px;border-radius:2px;-moz-box-shadow:0 0 2px;-webkit-box-shadow:0 0 2px;box-shadow:0 0 2px;background:#ccc;background:-moz-linear-gradient(top,rgba(204,204,204,1) 0,rgba(255,255,255,1) 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(204,204,204,1)),color-stop(100%,rgba(255,255,255,1)));background:-webkit-linear-gradient(top,rgba(204,204,204,1) 0,rgba(255,255,255,1) 100%);background:-o-linear-gradient(top,rgba(204,204,204,1) 0,rgba(255,255,255,1) 100%);background:-ms-linear-gradient(top,rgba(204,204,204,1) 0,rgba(255,255,255,1) 100%);background:linear-gradient(to bottom,rgba(204,204,204,1) 0,rgba(255,255,255,1) 100%);filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#cccccc', endColorstr='#ffffff', GradientType=0 )}div.wfu_onoff_container_on div.wfu_onoff_slider{left:50%}div.wfu_onoff_container_off div.wfu_onoff_slider{left:0}@-webkit-keyframes set_on{from{left:0}to{left:50%}}@-moz-keyframes set_on{from{left:0}to{left:50%}}@-o-keyframes set_on{from{left:0}to{left:50%}}@keyframes set_on{from{left:0}to{left:50%}}div.wfu_placements_wrapper{display:block;position:relative;margin:0;padding:0;background:0 0;border:none}div.wfu_placements_container{display:inline-block;position:relative;width:100%;height:300px;background-color:#fff;border:1px solid #ccc;-webkit-border-radius:3px;-moz-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;padding:0;overflow:scroll;font-size:0;line-height:0;white-space:nowrap}div.wfu_componentlist_container{display:inline-block;position:absolute;width:auto;height:auto;top:0;left:100%;background:0 0;border:none;margin:0 0 0 20px;padding:0;z-index:1;white-space:nowrap}div.wfu_component_box_container{display:inline-block;position:relative;width:80px;height:30px;background-color:transparent;border:1px solid transparent;padding:4px;margin:0;cursor:default}div.wfu_component_box,div.wfu_component_box_base{width:80px;height:30px;background-color:#ddd;padding:4px;cursor:default;font-size:12px;line-height:1;white-space:normal}div.wfu_component_box_base{display:block;position:absolute;left:-1px;top:-1px;border:1px solid #bbb;-webkit-border-radius:3px;-moz-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";filter:alpha(opacity=40);-moz-opacity:.4;-khtml-opacity:.4;opacity:.4}div.wfu_component_box{display:inline-block;position:relative;border:1px solid #bbb;-webkit-border-radius:3px;-moz-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;z-index:1}div.wfu_component_box_inner{display:table;width:100%;height:100%}div.wfu_component_box_label{display:table-cell;text-align:center;vertical-align:middle}div.wfu_component_box_index{background-color:coral;padding:1px;float:right;border-radius:10px}div.wfu_inbase{display:block;position:absolute;left:-1px;top:-1px}div.wfu_component_box:hover{background-color:#eee;border:1px solid #bbb}div.wfu_component_box_selected{background-color:#aaa;border:1px solid #bbb}div.wfu_component_separator_hor,div.wfu_component_separator_ver{position:relative;background-color:transparent;border:1px solid transparent;cursor:default;z-index:1}div.wfu_component_box_dragged{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";filter:alpha(opacity=40);-moz-opacity:.4;-khtml-opacity:.4;opacity:.4}div.wfu_component_separator_ver{display:inline-block;width:8px;height:26px;margin:6px -8px;padding:0 8px}div.wfu_component_separator_hor{display:block;width:100%;height:8px;margin:-8px 0;padding:8px 0}div.wfu_component_bar_hor,div.wfu_component_bar_ver{background-color:silver;border:none;display:none;position:absolute}div.wfu_component_bar_hor{width:auto;height:4px;left:10px;right:0;margin:11px 0 0;padding:0}div.wfu_component_bar_ver{width:4px;height:40px;margin:-6px 0 0 11px;padding:0}div.wfu_componentlist_dragdrop{position:absolute;width:100%;height:100%;left:0;top:0;background-color:#f8f8f8;border:4px dashed #aaa;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;z-index:2;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";filter:alpha(opacity=70);-moz-opacity:.7;-khtml-opacity:.7;opacity:.7}div.wfu_componentlist_dragdrop_dragover{border:4px dashed #555}div.wfu_formdata_container,div.wfu_userdata_container{display:block;position:relative;width:100%;height:100%;padding:0;margin:0;background:0 0;border:none}label.wfu_formdata_label{margin-right:6px}.wfu_formdata_props{padding-left:20px}div.wfu_formdata_action,div.wfu_userdata_action{display:inline-block;position:relative;top:2px;width:16px;height:16px;padding:0;margin:0;background:0 0;text-align:center;border:1px solid transparent;-webkit-border-radius:3px;-moz-border-radius:3px;-khtml-border-radius:3px;border-radius:3px}div.wfu_formdata_action:hover,div.wfu_userdata_action:hover{border:1px solid #aaa}div.wfu_formdata_action.wfu_formdata_action_disabled:hover,div.wfu_userdata_action.wfu_userdata_action_disabled:hover{border:1px solid transparent}div.wfu_formdata_action>img,div.wfu_userdata_action>img{width:12px;height:12px}div.wfu_formdata_action_disabled>img,div.wfu_userdata_action_disabled>img{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";filter:alpha(opacity=40);-moz-opacity:.4;-khtml-opacity:.4;opacity:.4}div.wfu_formdata_line_container,div.wfu_userdata_line{display:block;position:relative;padding:0;margin:0;background:0 0;border:none;white-space:nowrap}table.wfu_formdata_props_table{background:0 0;border:none;padding:0}table.wfu_formdata_props_table td,table.wfu_main_table table.wfu_inner_table table.wfu_formdata_props_table td{background:0 0;border:none;padding:0;width:auto}table.wfu_formdata_props_table td.wfu_formdata_props,table.wfu_main_table table.wfu_inner_table table.wfu_formdata_props_table td.wfu_formdata_props{padding-left:20px}div.wfu_color_container{display:block;position:relative;padding:0;margin:0;background:0 0;border:none;white-space:nowrap;z-index:1}span.wfu_save_label,span.wfu_save_label_fail{border-radius:6px;padding:1px 2px;box-shadow:1px 1px 1px;opacity:0;font-size:smaller}input[type=text].wp-color-picker{width:75px}input[type=button].wp-picker-clear{width:62px}span.wfu_save_label{background-color:#f0f8ff;color:#32cd32}span.wfu_save_label_fail{background-color:beige;color:#f08080}div.wfu_global_dialog_container{position:fixed;width:100%;height:100%;top:0;left:0;margin:0;padding:0;border:none;background:0 0;z-index:1;display:none}table.wfu_main_table table.wfu_columns_container{border:none;background:0 0;margin:0;padding:0;border-spacing:0}table.wfu_main_table table.wfu_columns_container tr{background:0 0}table.wfu_main_table table.wfu_columns_container td{border:none;background:0 0;margin:0;padding:0;vertical-align:top;width:auto}button.wfu_columns_addbutton{margin:0 10px;font-size:smaller}option.wfu_columns_item_required{color:gray}
css/wordpress_file_upload_style.css CHANGED
@@ -1 +1 @@
1
- input[type=text].file_input_textbox{position:relative;width:150px;height:25px;margin:0;padding:0;border:1px solid #BBB;background-color:#fff;color:#000}input[type=text].file_input_textbox:disabled{position:relative;width:150px;height:25px;margin:0;padding:0;border:1px solid #BBB;background-color:#fff;color:silver}input[type=text].file_input_textbox_nofile{position:relative;width:150px;height:25px;margin:0;padding:0;border:1px solid #BBB;background-color:red;color:#000}form.file_input_uploadform{position:relative;width:100px;height:27px;overflow:hidden;margin:0;padding:0}input[type=button].file_input_button{color:#555;border-color:#BBB;border-radius:2px}input[type=button].file_input_button,input[type=button].file_input_button_hover{top:0;position:absolute;width:100px;height:27px;margin:0;padding:0;background-color:#EEE;background-image:url(../images/white-grad-active.png);background-position:left top;background-repeat:repeat-x;border-style:solid;border-width:1px;-webkit-border-radius:2px;-moz-border-radius:2px;-khtml-border-radius:2px}input[type=button].file_input_button_hover{color:#111;border-color:#333;border-radius:2px}input[type=button].file_input_button:disabled,input[type=button].file_input_button_hover:disabled{position:absolute;top:0;color:silver;border-radius:2px}input[type=button].file_input_button:disabled,input[type=button].file_input_button_hover:disabled,input[type=button].file_input_submit{width:100px;height:27px;margin:0;padding:0;background-color:#EEE;background-image:url(../images/white-grad-active.png);background-position:left top;background-repeat:repeat-x;border-style:solid;border-width:1px;border-color:#BBB;-webkit-border-radius:2px;-moz-border-radius:2px;-khtml-border-radius:2px}input[type=button].file_input_submit{position:relative;color:#555;border-radius:2px}input[type=button].file_input_submit:focus,input[type=button].file_input_submit:hover{color:#111;border-color:#333;border-radius:2px}input[type=button].file_input_submit:disabled,input[type=button].file_input_submit:focus,input[type=button].file_input_submit:hover{width:100px;margin:0;padding:0;height:27px;position:relative;background-color:#EEE;background-image:url(../images/white-grad-active.png);background-position:left top;background-repeat:repeat-x;border-style:solid;border-width:1px;-webkit-border-radius:2px;-moz-border-radius:2px;-khtml-border-radius:2px}input[type=button].file_input_submit:disabled{color:silver;border-color:#BBB;border-radius:2px}input[type=file].file_input_hidden{font-size:45px;position:absolute;right:0;top:0;margin:0;padding:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:alpha(opacity=0);-moz-opacity:0;-khtml-opacity:0;opacity:0}div.file_progress_bar{display:block;position:relative;width:100px;border:1px solid #333;margin:0;padding:4px}div.file_progress_inner{display:block;width:100%;height:6px;margin:0;padding:0;border:1px solid silver;background-color:#fff}span.file_progress_noanimation,span.file_progress_progressive,span.file_progress_shuffle{overflow:hidden;margin:0;display:block;height:6px;padding:0;border-style:none;background-color:#2bc253;position:relative}img.file_progress_imagesafe{width:100%;height:6px}span.file_progress_noanimation{width:0}span.file_progress_progressive{width:auto}span.file_progress_shuffle{width:25%;-webkit-animation:shuffle 1s linear infinite alternate;-moz-animation:shuffle 1s linear infinite alternate;-o-animation:shuffle 1s linear infinite alternate;animation:shuffle 1s linear infinite alternate}span.file_progress_progressive:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background-image:-webkit-gradient(linear,0 0,100% 100%,color-stop(.25,rgba(255,255,255,.2)),color-stop(.25,transparent),color-stop(.5,transparent),color-stop(.5,rgba(255,255,255,.2)),color-stop(.75,rgba(255,255,255,.2)),color-stop(.75,transparent),to(transparent));background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,.2) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.2) 50%,rgba(255,255,255,.2) 75%,transparent 75%,transparent);z-index:1;-webkit-background-size:30px 30px;-moz-background-size:30px 30px;background-size:30px 30px;-webkit-animation:lengthen 2s linear infinite;-moz-animation:lengthen 2s linear infinite;-o-animation:lengthen 2s linear infinite;animation:lengthen 2s linear infinite;overflow:hidden}@-webkit-keyframes shuffle{from{left:0}to{left:75%}}@-moz-keyframes shuffle{from{left:0}to{left:75%}}@-o-keyframes shuffle{from{left:0}to{left:75%}}@keyframes shuffle{from{left:0}to{left:75%}}@-webkit-keyframes lengthen{from{background-position:0 0}to{background-position:30px 30px}}@-moz-keyframes lengthen{from{background-position:0 0}to{background-position:30px 30px}}@-o-keyframes lengthen{from{background-position:0 0}to{background-position:30px 30px}}@keyframes lengthen{from{background-position:0 0}to{background-position:30px 30px}}span.file_messagebox_inner{display:block;width:340px;margin:0;font-size:small;padding:10px;border-style:solid;border-width:1px;border-color:#D3D3D3;background-color:#F5F5F5;color:#000;line-height:1.2}div.file_div_clean{display:table;position:relative;margin:0;padding:0;border-style:none;background:0 0;color:#000;line-height:1;vertical-align:middle}div.file_div_clean_responsive_container{display:block;position:relative;margin:0;padding:0;border-style:none;background:0 0;color:#000;line-height:1;vertical-align:middle}div.file_div_clean_responsive{display:inline-block;position:relative;margin:0;padding:0;border-style:none;background:0 0;color:#000;line-height:1;vertical-align:middle}div.file_space_clean{display:block;margin:0 0 2px;padding:0;border-style:none;background:0 0;color:#000}table.file_table_clean{margin:0;padding:0;border:none;border-spacing:0;background:0 0;color:#000;width:auto}td.file_td_clean{margin:0;padding:0;border:none;border-spacing:0;background:0 0;color:#000;vertical-align:middle}span.subfolder_label{margin:0;padding:0;border-style:none;background:0 0;color:#000}div.subfolder_container{margin:0;padding:0;height:25px;border-style:none;background:0 0;color:#000;position:relative;display:inline-block}div.subfolder_autoplus_container{margin:0;padding:0 20px 0 0;border-style:none;background:0 0;display:inline-block;width:100%;height:100%}div.subfolder_autoplus_select_container{position:absolute;width:100%;height:100%;top:0;left:100%;margin:0 0 0 -20px;padding:0;border:none;background:0 0;overflow:hidden}select.subfolder_autoplus_dropdown,select.subfolder_autoplus_dropdown:disabled,select.subfolder_autoplus_dropdown_prompt{padding:0;border:none;width:100%;left:-100%;position:absolute}input[type=text].subfolder_autoplus{width:100%;height:100%;border:none;box-shadow:none;padding:0;margin:0}input[type=text].subfolder_autoplus:disabled{width:100%;height:100%;border:none;box-shadow:none;padding:0;margin:0;color:silver}input[type=text].subfolder_autoplus_match{width:100%;height:100%;border:none;box-shadow:none;padding:0;margin:0;font-weight:700;font-style:italic}input[type=text].subfolder_autoplus_match:disabled{width:100%;height:100%;border:none;box-shadow:none;padding:0;margin:0;font-weight:700;font-style:italic;color:silver}input[type=text].subfolder_autoplus_empty{width:100%;height:100%;border:none;box-shadow:none;padding:0;margin:0;color:silver;font-style:italic}input[type=text].subfolder_autoplus_prompt{width:100%;height:100%;border:none;box-shadow:none;padding:0;margin:0;background:red}select.subfolder_dropdown{margin:0;padding:0;height:25px;border:none;background:0 0;color:#000}select.subfolder_autoplus_dropdown{height:100%;background:0 0;color:#000;margin:0 0 0 20px}select.subfolder_dropdown_prompt{margin:0;padding:0;height:25px;border:none;background:red;color:#000}select.subfolder_autoplus_dropdown_prompt{height:100%;background:red;color:#000;margin:0 0 0 20px}select.subfolder_dropdown:disabled{margin:0;padding:0;height:25px;border:none;background:0 0;color:silver}select.subfolder_autoplus_dropdown:disabled{height:100%;background:0 0;color:silver;margin:0 0 0 20px}select.subfolder_autoplus_dropdown option,select.subfolder_autoplus_dropdown_prompt option,select.subfolder_dropdown option,select.subfolder_dropdown_prompt option{background:#fff;color:#000}span.file_title_clean{margin:0;padding:0;border-style:none;background:0 0;color:#000}div.file_userdata_fieldwrapper,div.file_userdata_fieldwrapper_required,div.file_userdata_fieldwrapper_required_empty{position:relative;display:inline-block;width:60%;height:25px;margin:0;padding:0;background:0 0;border:none;box-shadow:none}div.file_userdata_fieldwrapper div.wfu_fieldwrapper_overlay,div.file_userdata_fieldwrapper_required div.wfu_fieldwrapper_overlay{position:absolute;display:none;width:100%;height:100%;margin:0;padding:0;background:0 0;border:none;box-shadow:none;z-index:1000001}div.file_userdata_fieldwrapper_required_empty div.wfu_fieldwrapper_overlay{position:absolute;display:block;width:100%;height:100%;margin:0;padding:0;background:0 0;border:2px solid red;box-shadow:none;z-index:1000001}div.file_userdata_radio_wrapper{position:relative;display:inline-block;margin:0;padding:0;background:0 0;border:none;box-shadow:none}div.file_userdata_container{margin:0;padding:0;white-space:nowrap;position:relative}label.file_userdata_label{margin:0;width:40%;display:inline-block}.file_userdata_message,.file_userdata_message_required{width:100%;height:100%;margin:0;padding:0;border:1px solid #BBB;background:0 0;color:#000}.file_userdata_message:disabled,.file_userdata_message_required:disabled{width:100%;height:100%;margin:0;padding:0;border:1px solid #BBB;background:0 0;color:silver}.file_userdata_message_required_empty{width:100%;height:100%;margin:0;padding:0;border:1px solid #BBB;box-shadow:inset 0 0 2px 2px red;color:#000}.file_userdata_message_required_empty::after{content:'not empty'}div.file_userdata_hint:after,div.file_userdata_hint:before{content:'';position:absolute;display:inline-block}.file_userdata_checkbox_description{width:100%;height:100%;white-space:normal}.file_userdata_dropdown,.file_userdata_listbox{width:100%;height:100%}div.file_userdata_hint{position:absolute;background:#eee;border:1px solid red;border-radius:6px;padding:6px;margin-left:10px;box-shadow:0 0 2px rgba(0,0,0,.2);z-index:1000000}div.file_userdata_hint:before{border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid #eee;border-right-color:red;left:-8px;top:6px}div.file_userdata_hint:after{border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:6px solid #eee;left:-6px;top:7px}div.file_userdata_hint_none{display:none}div.file_userdata_hint_inline{position:absolute;display:table;background:#eee;border:none;padding:6px;margin:auto 0;box-shadow:none;z-index:1000000}div.file_userdata_hint_bottom,div.file_userdata_hint_left,div.file_userdata_hint_right,div.file_userdata_hint_top{background:#eee;padding:6px;box-shadow:0 0 2px rgba(0,0,0,.2);z-index:1000000}div.file_userdata_hint_bottom:after,div.file_userdata_hint_bottom:before,div.file_userdata_hint_left:after,div.file_userdata_hint_left:before,div.file_userdata_hint_right:after,div.file_userdata_hint_right:before,div.file_userdata_hint_top:after,div.file_userdata_hint_top:before{position:absolute;content:'';display:inline-block}div.file_userdata_hint_right{position:absolute;border:1px solid red;border-radius:6px;margin-left:10px}div.file_userdata_hint_right:before{border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid #eee;border-right-color:red;left:-8px;top:6px}div.file_userdata_hint_right:after{border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:6px solid #eee;left:-6px;top:7px}div.file_userdata_hint_left{position:absolute;border:1px solid red;border-radius:6px;margin-right:10px}div.file_userdata_hint_left:before{border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:7px solid #eee;border-left-color:red;right:-8px;top:6px}div.file_userdata_hint_left:after{border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid #eee;right:-6px;top:7px}div.file_userdata_hint_top{position:absolute;border:1px solid red;border-radius:6px;margin-bottom:10px}div.file_userdata_hint_top:before{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #eee;border-top-color:red;bottom:-8px;left:6px}div.file_userdata_hint_top:after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #eee;bottom:-6px;left:7px}div.file_userdata_hint_bottom{position:absolute;border:1px solid red;border-radius:6px;margin-top:10px}div.file_userdata_hint_bottom:before{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #eee;border-bottom-color:red;top:-8px;left:6px}div.file_userdata_hint_bottom:after{border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #eee;top:-6px;left:7px}table.file_messageblock_table{margin:0;padding:0;border:none}td.file_messageblock_header_td{border:1px solid #ddd;margin:0;padding:0}div.file_messageblock_header{margin:0;padding:2px}label.file_messageblock_header_label{font-weight:700;font-size:12px;line-height:1}td.file_messageblock_arrow_td{border:1px solid #ddd;margin:0;padding:0;width:20px;vertical-align:middle}div.file_messageblock_header_arrow_down,div.file_messageblock_header_arrow_up{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;margin:5px 1px 1px 5px;font-size:0;line-height:0}div.file_messageblock_header_arrow_up{border-bottom:5px solid #555}div.file_messageblock_header_arrow_down{border-top:5px solid #555}td.file_messageblock_subheader_td{margin:0;padding:0;border:1px solid #ddd}div.file_messageblock_subheader_message{margin:0;padding:2px;background:0 0}label.file_messageblock_subheader_messagelabel{font-weight:400;font-size:12px;line-height:1}div.file_messageblock_subheader_adminmessage{margin:0;padding:2px;background-color:#F7F7F7;overflow:scroll}label.file_messageblock_subheader_debugmessage_label{margin:0;padding:0;background:0 0;border:none;font-weight:700}div.file_messageblock_subheader_debugmessage_container{margin:0 0 0 20px;padding:0;background:0 0;border:none;font-size:10px}label.file_messageblock_subheader_adminmessagelabel{font-weight:400;font-size:12px;font-style:italic;line-height:1}label.file_messageblock_fileheader_label,td.file_messageblock_filenumber_td{font-weight:700;font-size:11px;line-height:1}td.file_messageblock_filenumber_td{width:30px;margin:0;padding:2px;text-align:center;vertical-align:middle;border:1px solid #ddd}td.file_messageblock_fileheader_td{margin:0;padding:0;border:1px solid #ddd}div.file_messageblock_fileheader{margin:0;padding:2px}td.file_messageblock_filearrow_td{margin:0;padding:0;width:20px;border:1px solid #ddd;vertical-align:middle}div.file_messageblock_file_arrow_down,div.file_messageblock_file_arrow_up{width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;margin:5px 1px 1px 6px;font-size:0;line-height:0}div.file_messageblock_file_arrow_up{border-bottom:4px solid #555}div.file_messageblock_file_arrow_down{border-top:4px solid #555}td.file_messageblock_filesubheaderempty_td{width:30px;margin:0;padding:0;border:1px solid #ddd}td.file_messageblock_filesubheader_td{margin:0;padding:0;border:1px solid #ddd}div.file_messageblock_filesubheader_message{margin:0;padding:2px;background:0 0}label.file_messageblock_filesubheader_messagelabel{font-weight:400;font-size:11px;line-height:1}div.file_messageblock_filesubheader_adminmessage{margin:0;padding:2px;background-color:#F7F7F7}label.file_messageblock_filesubheader_adminmessagelabel{font-weight:400;font-size:11px;font-style:italic;line-height:1}div.wfu_overlay_editor{width:18px;height:18px;padding:2px;box-shadow:1px 1px 2px #aaa;position:absolute;top:0;left:0;z-index:2;display:none;background-color:#fff;line-height:1}.wfu_browser_container:hover div.wfu_overlay_editor,.wfu_container:hover div.wfu_overlay_editor{display:block}div.wfu_overlay_editor:hover{background-color:#ff0}button.wfu_overlay_editor_button,button.wfu_overlay_editor_button:focus{background:0 0;border:none;margin:0;padding:0;width:100%;height:100%;outline:0}img.wfu_overlay_editor_img{vertical-align:top}div.wfu_overlay_container{position:absolute;width:100%;height:100%;top:0;left:0;margin:0;padding:0;background-color:rgba(255,255,255,.7);z-index:2;display:none}table.wfu_overlay_table,table.wfu_overlay_table td,table.wfu_overlay_table tr{border:none;margin:0;padding:0;background:0 0;width:100%;height:100%}table.wfu_overlay_table td{text-align:center;vertical-align:middle}div.wfu_overlay_container_inner{position:absolute;width:100%;height:100%;top:0;left:0;margin:0;padding:0;background:0 0}div.wfu_overlay_container label{margin-left:4px}
1
+ input[type=text].file_input_textbox{position:relative;width:150px;height:25px;margin:0;padding:0;border:1px solid #BBB;background-color:#fff;color:#000}input[type=text].file_input_textbox:disabled{position:relative;width:150px;height:25px;margin:0;padding:0;border:1px solid #BBB;background-color:#fff;color:silver}input[type=text].file_input_textbox_nofile{position:relative;width:150px;height:25px;margin:0;padding:0;border:1px solid #BBB;background-color:red;color:#000}form.file_input_uploadform{position:relative;width:100px;height:27px;overflow:hidden;margin:0;padding:0}input[type=button].file_input_button{width:100px;height:27px;position:absolute;top:0;margin:0;padding:0;background-color:#EEE;color:#555;background-image:url(../images/white-grad-active.png);background-position:left top;background-repeat:repeat-x;border-style:solid;border-width:1px;border-color:#BBB;-webkit-border-radius:2px;-moz-border-radius:2px;-khtml-border-radius:2px;border-radius:2px}input[type=button].file_input_button:disabled,input[type=button].file_input_button_hover,input[type=button].file_input_button_hover:disabled{width:100px;height:27px;position:absolute;margin:0;padding:0;background-color:#EEE;background-image:url(../images/white-grad-active.png);background-position:left top;background-repeat:repeat-x;border-style:solid;border-width:1px;-webkit-border-radius:2px;-moz-border-radius:2px;-khtml-border-radius:2px;top:0}input[type=button].file_input_button_hover{color:#111;border-color:#333;border-radius:2px}input[type=button].file_input_button:disabled,input[type=button].file_input_button_hover:disabled{color:silver;border-color:#BBB;border-radius:2px}input[type=button].file_input_submit,input[type=button].file_input_submit:focus,input[type=button].file_input_submit:hover{-webkit-border-radius:2px;-moz-border-radius:2px;height:27px;position:relative;background-color:#EEE;background-image:url(../images/white-grad-active.png);background-position:left top;background-repeat:repeat-x;border-style:solid;border-width:1px;-khtml-border-radius:2px;width:100px;margin:0;padding:0}input[type=button].file_input_submit{color:#555;border-color:#BBB;border-radius:2px}input[type=button].file_input_submit:focus,input[type=button].file_input_submit:hover{color:#111;border-color:#333;border-radius:2px}input[type=button].file_input_submit:disabled{width:100px;height:27px;position:relative;margin:0;padding:0;background-color:#EEE;color:silver;background-image:url(../images/white-grad-active.png);background-position:left top;background-repeat:repeat-x;border-style:solid;border-width:1px;border-color:#BBB;-webkit-border-radius:2px;-moz-border-radius:2px;-khtml-border-radius:2px;border-radius:2px}input[type=file].file_input_hidden{font-size:45px;position:absolute;right:0;top:0;margin:0;padding:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:alpha(opacity=0);-moz-opacity:0;-khtml-opacity:0;opacity:0}div.file_progress_bar{display:block;position:relative;width:100px;border:1px solid #333;margin:0;padding:4px}div.file_progress_inner{display:block;width:100%;height:6px;margin:0;padding:0;border:1px solid silver;background-color:#fff}span.file_progress_noanimation,span.file_progress_progressive,span.file_progress_shuffle{height:6px;padding:0;border-style:none;background-color:#2bc253;position:relative;display:block;margin:0;overflow:hidden}img.file_progress_imagesafe{width:100%;height:6px}span.file_progress_noanimation{width:0}span.file_progress_progressive{width:auto}span.file_progress_shuffle{width:25%;-webkit-animation:shuffle 1s linear infinite alternate;-moz-animation:shuffle 1s linear infinite alternate;-o-animation:shuffle 1s linear infinite alternate;animation:shuffle 1s linear infinite alternate}span.file_progress_progressive:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background-image:-webkit-gradient(linear,0 0,100% 100%,color-stop(.25,rgba(255,255,255,.2)),color-stop(.25,transparent),color-stop(.5,transparent),color-stop(.5,rgba(255,255,255,.2)),color-stop(.75,rgba(255,255,255,.2)),color-stop(.75,transparent),to(transparent));background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,.2) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.2) 50%,rgba(255,255,255,.2) 75%,transparent 75%,transparent);z-index:1;-webkit-background-size:30px 30px;-moz-background-size:30px 30px;background-size:30px 30px;-webkit-animation:lengthen 2s linear infinite;-moz-animation:lengthen 2s linear infinite;-o-animation:lengthen 2s linear infinite;animation:lengthen 2s linear infinite;overflow:hidden}@-webkit-keyframes shuffle{from{left:0}to{left:75%}}@-moz-keyframes shuffle{from{left:0}to{left:75%}}@-o-keyframes shuffle{from{left:0}to{left:75%}}@keyframes shuffle{from{left:0}to{left:75%}}@-webkit-keyframes lengthen{from{background-position:0 0}to{background-position:30px 30px}}@-moz-keyframes lengthen{from{background-position:0 0}to{background-position:30px 30px}}@-o-keyframes lengthen{from{background-position:0 0}to{background-position:30px 30px}}@keyframes lengthen{from{background-position:0 0}to{background-position:30px 30px}}span.file_messagebox_inner{display:block;width:340px;margin:0;font-size:small;padding:10px;border-style:solid;border-width:1px;border-color:#D3D3D3;background-color:#F5F5F5;color:#000;line-height:1.2}table.file_table_clean,td.file_td_clean{border:none;border-spacing:0;padding:0;color:#000}div.file_div_clean{display:table;position:relative;margin:0;padding:0;border-style:none;background:0 0;color:#000;line-height:1;vertical-align:middle}div.file_div_clean_responsive_container{display:block;position:relative;margin:0;padding:0;border-style:none;background:0 0;color:#000;line-height:1;vertical-align:middle}div.file_div_clean_responsive{display:inline-block;position:relative;margin:0;padding:0;border-style:none;background:0 0;color:#000;line-height:1;vertical-align:middle}div.file_space_clean{display:block;margin:0 0 2px;padding:0;border-style:none;background:0 0;color:#000}table.file_table_clean{margin:0;background:0 0;width:auto}td.file_td_clean{margin:0;background:0 0;vertical-align:middle}span.subfolder_label{margin:0;padding:0;border-style:none;background:0 0;color:#000}div.subfolder_container{margin:0;padding:0;height:25px;border-style:none;background:0 0;color:#000;position:relative;display:inline-block}div.subfolder_autoplus_container{margin:0;padding:0 20px 0 0;border-style:none;background:0 0;display:inline-block;width:100%;height:100%}div.subfolder_autoplus_select_container{position:absolute;width:100%;height:100%;top:0;left:100%;margin:0 0 0 -20px;padding:0;border:none;background:0 0;overflow:hidden}select.subfolder_autoplus_dropdown,select.subfolder_autoplus_dropdown:disabled,select.subfolder_autoplus_dropdown_prompt{width:100%;left:-100%;position:absolute;border:none;padding:0}input[type=text].subfolder_autoplus{width:100%;height:100%;border:none;box-shadow:none;padding:0;margin:0}input[type=text].subfolder_autoplus:disabled{width:100%;height:100%;border:none;box-shadow:none;padding:0;margin:0;color:silver}input[type=text].subfolder_autoplus_match{width:100%;height:100%;border:none;box-shadow:none;padding:0;margin:0;font-weight:700;font-style:italic}input[type=text].subfolder_autoplus_match:disabled{width:100%;height:100%;border:none;box-shadow:none;padding:0;margin:0;font-weight:700;font-style:italic;color:silver}input[type=text].subfolder_autoplus_empty{width:100%;height:100%;border:none;box-shadow:none;padding:0;margin:0;color:silver;font-style:italic}input[type=text].subfolder_autoplus_prompt{width:100%;height:100%;border:none;box-shadow:none;padding:0;margin:0;background:red}select.subfolder_dropdown{margin:0;padding:0;height:25px;border:none;background:0 0;color:#000}select.subfolder_autoplus_dropdown{height:100%;background:0 0;color:#000;margin:0 0 0 20px}select.subfolder_dropdown_prompt{margin:0;padding:0;height:25px;border:none;background:red;color:#000}select.subfolder_autoplus_dropdown_prompt{height:100%;background:red;color:#000;margin:0 0 0 20px}select.subfolder_dropdown:disabled{margin:0;padding:0;height:25px;border:none;background:0 0;color:silver}select.subfolder_autoplus_dropdown:disabled{height:100%;background:0 0;color:silver;margin:0 0 0 20px}select.subfolder_autoplus_dropdown option,select.subfolder_autoplus_dropdown_prompt option,select.subfolder_dropdown option,select.subfolder_dropdown_prompt option{background:#fff;color:#000}span.file_title_clean{margin:0;padding:0;border-style:none;background:0 0;color:#000}div.file_userdata_fieldwrapper,div.file_userdata_fieldwrapper_required,div.file_userdata_fieldwrapper_required_empty{position:relative;display:inline-block;width:60%;height:25px;margin:0;padding:0;background:0 0;border:none;box-shadow:none}div.file_userdata_fieldwrapper div.wfu_fieldwrapper_overlay,div.file_userdata_fieldwrapper_required div.wfu_fieldwrapper_overlay{position:absolute;display:none;width:100%;height:100%;margin:0;padding:0;background:0 0;border:none;box-shadow:none;z-index:1000001}div.file_userdata_fieldwrapper_required_empty div.wfu_fieldwrapper_overlay{position:absolute;display:block;width:100%;height:100%;margin:0;padding:0;background:0 0;border:2px solid red;box-shadow:none;z-index:1000001}div.file_userdata_radio_wrapper{position:relative;display:inline-block;margin:0;padding:0;background:0 0;border:none;box-shadow:none}div.file_userdata_container{margin:0;padding:0;white-space:nowrap;position:relative}label.file_userdata_label{margin:0;width:40%;display:inline-block}.file_userdata_message,.file_userdata_message_required{width:100%;height:100%;margin:0;padding:0;border:1px solid #BBB;background:0 0;color:#000}.file_userdata_message:disabled,.file_userdata_message_required:disabled{width:100%;height:100%;margin:0;padding:0;border:1px solid #BBB;background:0 0;color:silver}.file_userdata_message_required_empty{width:100%;height:100%;margin:0;padding:0;border:1px solid #BBB;box-shadow:inset 0 0 2px 2px red;color:#000}.file_userdata_message_required_empty::after{content:'not empty'}div.file_userdata_hint:after,div.file_userdata_hint:before{content:'';display:inline-block;position:absolute}.file_userdata_checkbox_description{width:100%;height:100%;white-space:normal}.file_userdata_dropdown,.file_userdata_listbox{width:100%;height:100%}div.file_userdata_hint{position:absolute;background:#eee;border:1px solid red;border-radius:6px;padding:6px;margin-left:10px;box-shadow:0 0 2px rgba(0,0,0,.2);z-index:1000000}div.file_userdata_hint:before{border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid #eee;border-right-color:red;left:-8px;top:6px}div.file_userdata_hint:after{border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:6px solid #eee;left:-6px;top:7px}div.file_userdata_hint_none{display:none}div.file_userdata_hint_inline{position:absolute;display:table;background:#eee;border:none;padding:6px;margin:auto 0;box-shadow:none;z-index:1000000}div.file_userdata_hint_bottom:after,div.file_userdata_hint_bottom:before,div.file_userdata_hint_left:after,div.file_userdata_hint_left:before,div.file_userdata_hint_right:after,div.file_userdata_hint_right:before,div.file_userdata_hint_top:after,div.file_userdata_hint_top:before{content:'';display:inline-block}div.file_userdata_hint_bottom,div.file_userdata_hint_left,div.file_userdata_hint_right,div.file_userdata_hint_top{background:#eee;padding:6px;box-shadow:0 0 2px rgba(0,0,0,.2);z-index:1000000;position:absolute}div.file_userdata_hint_right{border:1px solid red;border-radius:6px;margin-left:10px}div.file_userdata_hint_right:before{position:absolute;border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid #eee;border-right-color:red;left:-8px;top:6px}div.file_userdata_hint_right:after{position:absolute;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:6px solid #eee;left:-6px;top:7px}div.file_userdata_hint_left{border:1px solid red;border-radius:6px;margin-right:10px}div.file_userdata_hint_left:before{position:absolute;border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:7px solid #eee;border-left-color:red;right:-8px;top:6px}div.file_userdata_hint_left:after{position:absolute;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid #eee;right:-6px;top:7px}div.file_userdata_hint_top{border:1px solid red;border-radius:6px;margin-bottom:10px}div.file_userdata_hint_top:before{position:absolute;border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #eee;border-top-color:red;bottom:-8px;left:6px}div.file_userdata_hint_top:after{position:absolute;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #eee;bottom:-6px;left:7px}div.file_userdata_hint_bottom{border:1px solid red;border-radius:6px;margin-top:10px}div.file_userdata_hint_bottom:before{position:absolute;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #eee;border-bottom-color:red;top:-8px;left:6px}div.file_userdata_hint_bottom:after{position:absolute;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #eee;top:-6px;left:7px}table.file_messageblock_table{margin:0;padding:0;border:none}td.file_messageblock_header_td{border:1px solid #ddd;margin:0;padding:0}div.file_messageblock_header{margin:0;padding:2px}label.file_messageblock_header_label{font-weight:700;font-size:12px;line-height:1}td.file_messageblock_arrow_td{border:1px solid #ddd;margin:0;padding:0;width:20px;vertical-align:middle}div.file_messageblock_header_arrow_down,div.file_messageblock_header_arrow_up{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;margin:5px 1px 1px 5px;font-size:0;line-height:0}div.file_messageblock_header_arrow_up{border-bottom:5px solid #555}div.file_messageblock_header_arrow_down{border-top:5px solid #555}td.file_messageblock_subheader_td{margin:0;padding:0;border:1px solid #ddd}div.file_messageblock_subheader_message{margin:0;padding:2px;background:0 0}label.file_messageblock_subheader_messagelabel{font-weight:400;font-size:12px;line-height:1}div.file_messageblock_subheader_adminmessage{margin:0;padding:2px;background-color:#F7F7F7;overflow:scroll}label.file_messageblock_subheader_debugmessage_label{margin:0;padding:0;background:0 0;border:none;font-weight:700}div.file_messageblock_subheader_debugmessage_container{margin:0 0 0 20px;padding:0;background:0 0;border:none;font-size:10px}label.file_messageblock_subheader_adminmessagelabel{font-weight:400;font-size:12px;font-style:italic;line-height:1}label.file_messageblock_fileheader_label,td.file_messageblock_filenumber_td{font-weight:700;font-size:11px;line-height:1}td.file_messageblock_filenumber_td{width:30px;margin:0;padding:2px;text-align:center;vertical-align:middle;border:1px solid #ddd}td.file_messageblock_fileheader_td{margin:0;padding:0;border:1px solid #ddd}div.file_messageblock_fileheader{margin:0;padding:2px}td.file_messageblock_filearrow_td{margin:0;padding:0;width:20px;border:1px solid #ddd;vertical-align:middle}div.file_messageblock_file_arrow_down,div.file_messageblock_file_arrow_up{width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;margin:5px 1px 1px 6px;font-size:0;line-height:0}div.file_messageblock_file_arrow_up{border-bottom:4px solid #555}div.file_messageblock_file_arrow_down{border-top:4px solid #555}td.file_messageblock_filesubheaderempty_td{width:30px;margin:0;padding:0;border:1px solid #ddd}td.file_messageblock_filesubheader_td{margin:0;padding:0;border:1px solid #ddd}div.file_messageblock_filesubheader_message{margin:0;padding:2px;background:0 0}label.file_messageblock_filesubheader_messagelabel{font-weight:400;font-size:11px;line-height:1}div.file_messageblock_filesubheader_adminmessage{margin:0;padding:2px;background-color:#F7F7F7}label.file_messageblock_filesubheader_adminmessagelabel{font-weight:400;font-size:11px;font-style:italic;line-height:1}div.wfu_overlay_editor{width:18px;height:18px;padding:2px;box-shadow:1px 1px 2px #aaa;position:absolute;top:0;left:0;z-index:2;display:none;background-color:#fff;line-height:1}.wfu_browser_container:hover div.wfu_overlay_editor,.wfu_container:hover div.wfu_overlay_editor{display:block}div.wfu_overlay_editor:hover{background-color:#ff0}button.wfu_overlay_editor_button,button.wfu_overlay_editor_button:focus{background:0 0;border:none;margin:0;padding:0;width:100%;height:100%;outline:0}img.wfu_overlay_editor_img{vertical-align:top}div.wfu_overlay_container{position:absolute;width:100%;height:100%;top:0;left:0;margin:0;padding:0;background-color:rgba(255,255,255,.7);z-index:2;display:none}table.wfu_overlay_table,table.wfu_overlay_table td,table.wfu_overlay_table tr{border:none;margin:0;padding:0;background:0 0;width:100%;height:100%}table.wfu_overlay_table td{text-align:center;vertical-align:middle}div.wfu_overlay_container_inner{position:absolute;width:100%;height:100%;top:0;left:0;margin:0;padding:0;background:0 0}div.wfu_overlay_container label{margin-left:4px}
css/wordpress_file_upload_style_relaxed.css CHANGED
@@ -1 +1 @@
1
- input[type=text].file_input_textbox,input[type=text].file_input_textbox:disabled,input[type=text].file_input_textbox_nofile{position:relative}form.file_input_uploadform{position:relative;overflow:hidden;margin:0;padding:0}input[type=file].file_input_hidden{font-size:45px;position:absolute;right:0;top:0;margin:0;padding:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:alpha(opacity=0);-moz-opacity:0;-khtml-opacity:0;opacity:0}div.file_progress_bar{display:block;position:relative;width:100px;border:1px solid #333;margin:0;padding:4px}div.file_progress_inner{display:block;width:100%;height:6px;margin:0;padding:0;border:1px solid silver;background-color:#fff}span.file_progress_noanimation,span.file_progress_progressive,span.file_progress_shuffle{overflow:hidden;margin:0;display:block;height:6px;padding:0;border-style:none;background-color:#2bc253;position:relative}img.file_progress_imagesafe{width:100%;height:6px}span.file_progress_noanimation{width:0}span.file_progress_progressive{width:auto}span.file_progress_shuffle{width:25%;-webkit-animation:shuffle 1s linear infinite alternate;-moz-animation:shuffle 1s linear infinite alternate;-o-animation:shuffle 1s linear infinite alternate;animation:shuffle 1s linear infinite alternate}span.file_progress_progressive:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background-image:-webkit-gradient(linear,0 0,100% 100%,color-stop(.25,rgba(255,255,255,.2)),color-stop(.25,transparent),color-stop(.5,transparent),color-stop(.5,rgba(255,255,255,.2)),color-stop(.75,rgba(255,255,255,.2)),color-stop(.75,transparent),to(transparent));background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,.2) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.2) 50%,rgba(255,255,255,.2) 75%,transparent 75%,transparent);z-index:1;-webkit-background-size:30px 30px;-moz-background-size:30px 30px;background-size:30px 30px;-webkit-animation:lengthen 2s linear infinite;-moz-animation:lengthen 2s linear infinite;-o-animation:lengthen 2s linear infinite;animation:lengthen 2s linear infinite;overflow:hidden}@-webkit-keyframes shuffle{from{left:0}to{left:75%}}@-moz-keyframes shuffle{from{left:0}to{left:75%}}@-o-keyframes shuffle{from{left:0}to{left:75%}}@keyframes shuffle{from{left:0}to{left:75%}}@-webkit-keyframes lengthen{from{background-position:0 0}to{background-position:30px 30px}}@-moz-keyframes lengthen{from{background-position:0 0}to{background-position:30px 30px}}@-o-keyframes lengthen{from{background-position:0 0}to{background-position:30px 30px}}@keyframes lengthen{from{background-position:0 0}to{background-position:30px 30px}}span.file_messagebox_inner{display:block;width:340px;margin:0;font-size:small;padding:10px;border-style:solid;border-width:1px;border-color:#D3D3D3;background-color:#F5F5F5;line-height:1.2}div.file_div_clean,div.file_div_clean_responsive,div.file_space_clean,div.subfolder_autoplus_container,div.subfolder_container{background:0 0;border-style:none}div.file_div_clean{display:table;position:relative;margin:0;padding:0;line-height:1;vertical-align:middle}div.file_div_clean_responsive_container{display:block;position:relative;margin:0;padding:0;border-style:none;background:0 0;line-height:1;vertical-align:middle}div.file_div_clean_responsive{display:inline-block;position:relative;margin:0;padding:0;line-height:1;vertical-align:middle}div.file_space_clean{display:block;margin:0 0 2px;padding:0}table.file_table_clean{margin:0;padding:0;border:none;border-spacing:0;background:0 0;width:auto}td.file_td_clean{margin:0;padding:0;border:none;border-spacing:0;background:0 0;vertical-align:middle}div.subfolder_container{margin:0;padding:0;position:relative;display:inline-block}div.subfolder_autoplus_container{margin:0;padding:0 20px 0 0;display:inline-block;width:100%;height:100%}div.subfolder_autoplus_select_container{position:absolute;width:100%;height:100%;top:0;left:100%;margin:0 0 0 -20px;padding:0;border:none;background:0 0;overflow:hidden}select.subfolder_autoplus_dropdown_prompt,select.subfolder_dropdown_prompt{background:red}select.subfolder_autoplus_dropdown,select.subfolder_autoplus_dropdown:disabled,select.subfolder_autoplus_dropdown_prompt{height:100%;width:100%;left:-100%;position:absolute;margin-left:20px}input[type=text].subfolder_autoplus,input[type=text].subfolder_autoplus:disabled{width:100%}input[type=text].subfolder_autoplus_match,input[type=text].subfolder_autoplus_match:disabled{width:100%;font-weight:700;font-style:italic}input[type=text].subfolder_autoplus_empty{width:100%;font-style:italic}input[type=text].subfolder_autoplus_prompt{width:100%;background:red}select.subfolder_autoplus_dropdown option,select.subfolder_autoplus_dropdown_prompt option,select.subfolder_dropdown option,select.subfolder_dropdown_prompt option{background:#fff}div.file_userdata_fieldwrapper,div.file_userdata_fieldwrapper_required,div.file_userdata_fieldwrapper_required_empty{position:relative;display:inline-block;width:60%;margin:0;padding:0;background:0 0;border:none;box-shadow:none}div.file_userdata_fieldwrapper div.wfu_fieldwrapper_overlay,div.file_userdata_fieldwrapper_required div.wfu_fieldwrapper_overlay{position:absolute;display:none;width:100%;height:100%;margin:0;padding:0;background:0 0;border:none;box-shadow:none;z-index:1000001}div.file_userdata_fieldwrapper_required_empty div.wfu_fieldwrapper_overlay{position:absolute;display:block;width:100%;height:100%;margin:0;padding:0;background:0 0;border:2px solid red;box-shadow:none;z-index:1000001}div.file_userdata_radio_wrapper{position:relative;display:inline-block;margin:0;padding:0;background:0 0;border:none;box-shadow:none}div.file_userdata_container{margin:0;padding:0;white-space:nowrap;position:relative}label.file_userdata_label{width:40%;display:inline-block}.file_userdata_checkbox_description,.file_userdata_dropdown,.file_userdata_listbox,.file_userdata_message,.file_userdata_message:disabled,.file_userdata_message_required,.file_userdata_message_required:disabled{width:100%;height:100%}.file_userdata_message_required_empty{width:100%;height:100%;box-shadow:inset 0 0 2px 2px red}.file_userdata_message_required_empty::after{content:'not empty'}div.file_userdata_hint:after,div.file_userdata_hint:before{content:'';position:absolute;display:inline-block}.file_userdata_checkbox_description{white-space:normal}div.file_userdata_hint{position:absolute;background:#eee;border:1px solid red;border-radius:6px;padding:6px;margin-left:10px;box-shadow:0 0 2px rgba(0,0,0,.2);z-index:1000000}div.file_userdata_hint:before{border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid #eee;border-right-color:red;left:-8px;top:6px}div.file_userdata_hint:after{border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:6px solid #eee;left:-6px;top:7px}div.file_userdata_hint_none{display:none}div.file_userdata_hint_inline{position:absolute;display:table;background:#eee;border:none;padding:6px;margin:auto 0;box-shadow:none;z-index:1000000}div.file_userdata_hint_bottom,div.file_userdata_hint_left,div.file_userdata_hint_right,div.file_userdata_hint_top{background:#eee;padding:6px;box-shadow:0 0 2px rgba(0,0,0,.2);z-index:1000000}div.file_userdata_hint_bottom:after,div.file_userdata_hint_bottom:before,div.file_userdata_hint_left:after,div.file_userdata_hint_left:before,div.file_userdata_hint_right:after,div.file_userdata_hint_right:before,div.file_userdata_hint_top:after,div.file_userdata_hint_top:before{position:absolute;content:'';display:inline-block}div.file_userdata_hint_right{position:absolute;border:1px solid red;border-radius:6px;margin-left:10px}div.file_userdata_hint_right:before{border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid #eee;border-right-color:red;left:-8px;top:6px}div.file_userdata_hint_right:after{border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:6px solid #eee;left:-6px;top:7px}div.file_userdata_hint_left{position:absolute;border:1px solid red;border-radius:6px;margin-right:10px}div.file_userdata_hint_left:before{border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:7px solid #eee;border-left-color:red;right:-8px;top:6px}div.file_userdata_hint_left:after{border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid #eee;right:-6px;top:7px}div.file_userdata_hint_top{position:absolute;border:1px solid red;border-radius:6px;margin-bottom:10px}div.file_userdata_hint_top:before{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #eee;border-top-color:red;bottom:-8px;left:6px}div.file_userdata_hint_top:after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #eee;bottom:-6px;left:7px}div.file_userdata_hint_bottom{position:absolute;border:1px solid red;border-radius:6px;margin-top:10px}div.file_userdata_hint_bottom:before{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #eee;border-bottom-color:red;top:-8px;left:6px}div.file_userdata_hint_bottom:after{border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #eee;top:-6px;left:7px}table.file_messageblock_table{margin:0;padding:0;border:none}td.file_messageblock_header_td{border:1px solid #ddd;margin:0;padding:0}div.file_messageblock_header{margin:0;padding:2px}label.file_messageblock_header_label{font-weight:700;font-size:12px;line-height:1}td.file_messageblock_arrow_td{border:1px solid #ddd;margin:0;padding:0;width:20px;vertical-align:middle}div.file_messageblock_header_arrow_down,div.file_messageblock_header_arrow_up{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;margin:5px 1px 1px 5px;font-size:0;line-height:0}div.file_messageblock_header_arrow_up{border-bottom:5px solid #555}div.file_messageblock_header_arrow_down{border-top:5px solid #555}td.file_messageblock_subheader_td{margin:0;padding:0;border:1px solid #ddd}div.file_messageblock_subheader_message{margin:0;padding:2px;background:0 0}label.file_messageblock_subheader_messagelabel{font-weight:400;font-size:12px;line-height:1}div.file_messageblock_subheader_adminmessage{margin:0;padding:2px;background-color:#F7F7F7;overflow:scroll}label.file_messageblock_subheader_debugmessage_label{margin:0;padding:0;background:0 0;border:none;font-weight:700}div.file_messageblock_subheader_debugmessage_container{margin:0 0 0 20px;padding:0;background:0 0;border:none;font-size:10px}label.file_messageblock_subheader_adminmessagelabel{font-weight:400;font-size:12px;font-style:italic;line-height:1}label.file_messageblock_fileheader_label,td.file_messageblock_filenumber_td{font-weight:700;font-size:11px;line-height:1}td.file_messageblock_filenumber_td{width:30px;margin:0;padding:2px;text-align:center;vertical-align:middle;border:1px solid #ddd}td.file_messageblock_fileheader_td{margin:0;padding:0;border:1px solid #ddd}div.file_messageblock_fileheader{margin:0;padding:2px}td.file_messageblock_filearrow_td{margin:0;padding:0;width:20px;border:1px solid #ddd;vertical-align:middle}div.file_messageblock_file_arrow_down,div.file_messageblock_file_arrow_up{width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;margin:5px 1px 1px 6px;font-size:0;line-height:0}div.file_messageblock_file_arrow_up{border-bottom:4px solid #555}div.file_messageblock_file_arrow_down{border-top:4px solid #555}td.file_messageblock_filesubheaderempty_td{width:30px;margin:0;padding:0;border:1px solid #ddd}td.file_messageblock_filesubheader_td{margin:0;padding:0;border:1px solid #ddd}div.file_messageblock_filesubheader_message{margin:0;padding:2px;background:0 0}label.file_messageblock_filesubheader_messagelabel{font-weight:400;font-size:11px;line-height:1}div.file_messageblock_filesubheader_adminmessage{margin:0;padding:2px;background-color:#F7F7F7}label.file_messageblock_filesubheader_adminmessagelabel{font-weight:400;font-size:11px;font-style:italic;line-height:1}div.wfu_overlay_editor{width:18px;height:18px;padding:2px;box-shadow:1px 1px 2px #aaa;position:absolute;top:0;left:0;z-index:2;display:none;background-color:#fff;line-height:1}.wfu_browser_container:hover div.wfu_overlay_editor,.wfu_container:hover div.wfu_overlay_editor{display:block}div.wfu_overlay_editor:hover{background-color:#ff0}button.wfu_overlay_editor_button,button.wfu_overlay_editor_button:focus{background:0 0;border:none;margin:0;padding:0;width:100%;height:100%;outline:0}img.wfu_overlay_editor_img{vertical-align:top}div.wfu_overlay_container{position:absolute;width:100%;height:100%;top:0;left:0;margin:0;padding:0;background-color:rgba(255,255,255,.7);z-index:2;display:none}table.wfu_overlay_table,table.wfu_overlay_table td,table.wfu_overlay_table tr{border:none;margin:0;padding:0;background:0 0;width:100%;height:100%}table.wfu_overlay_table td{text-align:center;vertical-align:middle}div.wfu_overlay_container_inner{position:absolute;width:100%;height:100%;top:0;left:0;margin:0;padding:0;background:0 0}div.wfu_overlay_container label{margin-left:4px}
1
+ input[type=text].file_input_textbox,input[type=text].file_input_textbox:disabled,input[type=text].file_input_textbox_nofile{position:relative}form.file_input_uploadform{position:relative;overflow:hidden;margin:0;padding:0}input[type=file].file_input_hidden{font-size:45px;position:absolute;right:0;top:0;margin:0;padding:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:alpha(opacity=0);-moz-opacity:0;-khtml-opacity:0;opacity:0}div.file_progress_bar{display:block;position:relative;width:100px;border:1px solid #333;margin:0;padding:4px}div.file_progress_inner{display:block;width:100%;height:6px;margin:0;padding:0;border:1px solid silver;background-color:#fff}span.file_progress_noanimation,span.file_progress_progressive,span.file_progress_shuffle{height:6px;padding:0;border-style:none;background-color:#2bc253;position:relative;display:block;margin:0;overflow:hidden}img.file_progress_imagesafe{width:100%;height:6px}span.file_progress_noanimation{width:0}span.file_progress_progressive{width:auto}span.file_progress_shuffle{width:25%;-webkit-animation:shuffle 1s linear infinite alternate;-moz-animation:shuffle 1s linear infinite alternate;-o-animation:shuffle 1s linear infinite alternate;animation:shuffle 1s linear infinite alternate}span.file_progress_progressive:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background-image:-webkit-gradient(linear,0 0,100% 100%,color-stop(.25,rgba(255,255,255,.2)),color-stop(.25,transparent),color-stop(.5,transparent),color-stop(.5,rgba(255,255,255,.2)),color-stop(.75,rgba(255,255,255,.2)),color-stop(.75,transparent),to(transparent));background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,.2) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.2) 50%,rgba(255,255,255,.2) 75%,transparent 75%,transparent);z-index:1;-webkit-background-size:30px 30px;-moz-background-size:30px 30px;background-size:30px 30px;-webkit-animation:lengthen 2s linear infinite;-moz-animation:lengthen 2s linear infinite;-o-animation:lengthen 2s linear infinite;animation:lengthen 2s linear infinite;overflow:hidden}@-webkit-keyframes shuffle{from{left:0}to{left:75%}}@-moz-keyframes shuffle{from{left:0}to{left:75%}}@-o-keyframes shuffle{from{left:0}to{left:75%}}@keyframes shuffle{from{left:0}to{left:75%}}@-webkit-keyframes lengthen{from{background-position:0 0}to{background-position:30px 30px}}@-moz-keyframes lengthen{from{background-position:0 0}to{background-position:30px 30px}}@-o-keyframes lengthen{from{background-position:0 0}to{background-position:30px 30px}}@keyframes lengthen{from{background-position:0 0}to{background-position:30px 30px}}span.file_messagebox_inner{display:block;width:340px;margin:0;font-size:small;padding:10px;border-style:solid;border-width:1px;border-color:#D3D3D3;background-color:#F5F5F5;line-height:1.2}div.file_div_clean{display:table;position:relative;margin:0;padding:0;border-style:none;background:0 0;line-height:1;vertical-align:middle}div.file_div_clean_responsive_container{display:block;position:relative;margin:0;padding:0;border-style:none;background:0 0;line-height:1;vertical-align:middle}div.file_div_clean_responsive{display:inline-block;position:relative;margin:0;padding:0;border-style:none;background:0 0;line-height:1;vertical-align:middle}div.file_space_clean{display:block;margin:0 0 2px;padding:0;border-style:none;background:0 0}table.file_table_clean{margin:0;padding:0;border:none;border-spacing:0;background:0 0;width:auto}td.file_td_clean{margin:0;padding:0;border:none;border-spacing:0;background:0 0;vertical-align:middle}div.subfolder_container{margin:0;padding:0;border-style:none;background:0 0;position:relative;display:inline-block}div.subfolder_autoplus_container{margin:0;padding:0 20px 0 0;border-style:none;background:0 0;display:inline-block;width:100%;height:100%}div.subfolder_autoplus_select_container{position:absolute;width:100%;height:100%;top:0;left:100%;margin:0 0 0 -20px;padding:0;border:none;background:0 0;overflow:hidden}select.subfolder_autoplus_dropdown,select.subfolder_autoplus_dropdown:disabled,select.subfolder_autoplus_dropdown_prompt{width:100%;left:-100%;position:absolute;margin-left:20px;height:100%}input[type=text].subfolder_autoplus,input[type=text].subfolder_autoplus:disabled{width:100%}input[type=text].subfolder_autoplus_match,input[type=text].subfolder_autoplus_match:disabled{width:100%;font-weight:700;font-style:italic}input[type=text].subfolder_autoplus_empty{width:100%;font-style:italic}input[type=text].subfolder_autoplus_prompt{width:100%;background:red}select.subfolder_autoplus_dropdown_prompt,select.subfolder_dropdown_prompt{background:red}select.subfolder_autoplus_dropdown option,select.subfolder_autoplus_dropdown_prompt option,select.subfolder_dropdown option,select.subfolder_dropdown_prompt option{background:#fff}div.file_userdata_fieldwrapper,div.file_userdata_fieldwrapper_required,div.file_userdata_fieldwrapper_required_empty{position:relative;display:inline-block;width:60%;margin:0;padding:0;background:0 0;border:none;box-shadow:none}div.file_userdata_fieldwrapper div.wfu_fieldwrapper_overlay,div.file_userdata_fieldwrapper_required div.wfu_fieldwrapper_overlay{position:absolute;display:none;width:100%;height:100%;margin:0;padding:0;background:0 0;border:none;box-shadow:none;z-index:1000001}div.file_userdata_fieldwrapper_required_empty div.wfu_fieldwrapper_overlay{position:absolute;display:block;width:100%;height:100%;margin:0;padding:0;background:0 0;border:2px solid red;box-shadow:none;z-index:1000001}div.file_userdata_radio_wrapper{position:relative;display:inline-block;margin:0;padding:0;background:0 0;border:none;box-shadow:none}div.file_userdata_container{margin:0;padding:0;white-space:nowrap;position:relative}label.file_userdata_label{width:40%;display:inline-block}.file_userdata_checkbox_description,.file_userdata_dropdown,.file_userdata_listbox,.file_userdata_message,.file_userdata_message:disabled,.file_userdata_message_required,.file_userdata_message_required:disabled{width:100%;height:100%}.file_userdata_message_required_empty{width:100%;height:100%;box-shadow:inset 0 0 2px 2px red}.file_userdata_message_required_empty::after{content:'not empty'}div.file_userdata_hint:after,div.file_userdata_hint:before{content:'';display:inline-block;position:absolute}.file_userdata_checkbox_description{white-space:normal}div.file_userdata_hint{position:absolute;background:#eee;border:1px solid red;border-radius:6px;padding:6px;margin-left:10px;box-shadow:0 0 2px rgba(0,0,0,.2);z-index:1000000}div.file_userdata_hint:before{border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid #eee;border-right-color:red;left:-8px;top:6px}div.file_userdata_hint:after{border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:6px solid #eee;left:-6px;top:7px}div.file_userdata_hint_none{display:none}div.file_userdata_hint_inline{position:absolute;display:table;background:#eee;border:none;padding:6px;margin:auto 0;box-shadow:none;z-index:1000000}div.file_userdata_hint_bottom:after,div.file_userdata_hint_bottom:before,div.file_userdata_hint_left:after,div.file_userdata_hint_left:before,div.file_userdata_hint_right:after,div.file_userdata_hint_right:before,div.file_userdata_hint_top:after,div.file_userdata_hint_top:before{content:'';display:inline-block}div.file_userdata_hint_bottom,div.file_userdata_hint_left,div.file_userdata_hint_right,div.file_userdata_hint_top{background:#eee;padding:6px;box-shadow:0 0 2px rgba(0,0,0,.2);z-index:1000000;position:absolute}div.file_userdata_hint_right{border:1px solid red;border-radius:6px;margin-left:10px}div.file_userdata_hint_right:before{position:absolute;border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid #eee;border-right-color:red;left:-8px;top:6px}div.file_userdata_hint_right:after{position:absolute;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:6px solid #eee;left:-6px;top:7px}div.file_userdata_hint_left{border:1px solid red;border-radius:6px;margin-right:10px}div.file_userdata_hint_left:before{position:absolute;border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:7px solid #eee;border-left-color:red;right:-8px;top:6px}div.file_userdata_hint_left:after{position:absolute;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid #eee;right:-6px;top:7px}div.file_userdata_hint_top{border:1px solid red;border-radius:6px;margin-bottom:10px}div.file_userdata_hint_top:before{position:absolute;border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #eee;border-top-color:red;bottom:-8px;left:6px}div.file_userdata_hint_top:after{position:absolute;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #eee;bottom:-6px;left:7px}div.file_userdata_hint_bottom{border:1px solid red;border-radius:6px;margin-top:10px}div.file_userdata_hint_bottom:before{position:absolute;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #eee;border-bottom-color:red;top:-8px;left:6px}div.file_userdata_hint_bottom:after{position:absolute;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #eee;top:-6px;left:7px}table.file_messageblock_table{margin:0;padding:0;border:none}td.file_messageblock_header_td{border:1px solid #ddd;margin:0;padding:0}div.file_messageblock_header{margin:0;padding:2px}label.file_messageblock_header_label{font-weight:700;font-size:12px;line-height:1}td.file_messageblock_arrow_td{border:1px solid #ddd;margin:0;padding:0;width:20px;vertical-align:middle}div.file_messageblock_header_arrow_down,div.file_messageblock_header_arrow_up{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;margin:5px 1px 1px 5px;font-size:0;line-height:0}div.file_messageblock_header_arrow_up{border-bottom:5px solid #555}div.file_messageblock_header_arrow_down{border-top:5px solid #555}td.file_messageblock_subheader_td{margin:0;padding:0;border:1px solid #ddd}div.file_messageblock_subheader_message{margin:0;padding:2px;background:0 0}label.file_messageblock_subheader_messagelabel{font-weight:400;font-size:12px;line-height:1}div.file_messageblock_subheader_adminmessage{margin:0;padding:2px;background-color:#F7F7F7;overflow:scroll}label.file_messageblock_subheader_debugmessage_label{margin:0;padding:0;background:0 0;border:none;font-weight:700}div.file_messageblock_subheader_debugmessage_container{margin:0 0 0 20px;padding:0;background:0 0;border:none;font-size:10px}label.file_messageblock_subheader_adminmessagelabel{font-weight:400;font-size:12px;font-style:italic;line-height:1}label.file_messageblock_fileheader_label,td.file_messageblock_filenumber_td{font-weight:700;font-size:11px;line-height:1}td.file_messageblock_filenumber_td{width:30px;margin:0;padding:2px;text-align:center;vertical-align:middle;border:1px solid #ddd}td.file_messageblock_fileheader_td{margin:0;padding:0;border:1px solid #ddd}div.file_messageblock_fileheader{margin:0;padding:2px}td.file_messageblock_filearrow_td{margin:0;padding:0;width:20px;border:1px solid #ddd;vertical-align:middle}div.file_messageblock_file_arrow_down,div.file_messageblock_file_arrow_up{width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;margin:5px 1px 1px 6px;font-size:0;line-height:0}div.file_messageblock_file_arrow_up{border-bottom:4px solid #555}div.file_messageblock_file_arrow_down{border-top:4px solid #555}td.file_messageblock_filesubheaderempty_td{width:30px;margin:0;padding:0;border:1px solid #ddd}td.file_messageblock_filesubheader_td{margin:0;padding:0;border:1px solid #ddd}div.file_messageblock_filesubheader_message{margin:0;padding:2px;background:0 0}label.file_messageblock_filesubheader_messagelabel{font-weight:400;font-size:11px;line-height:1}div.file_messageblock_filesubheader_adminmessage{margin:0;padding:2px;background-color:#F7F7F7}label.file_messageblock_filesubheader_adminmessagelabel{font-weight:400;font-size:11px;font-style:italic;line-height:1}div.wfu_overlay_editor{width:18px;height:18px;padding:2px;box-shadow:1px 1px 2px #aaa;position:absolute;top:0;left:0;z-index:2;display:none;background-color:#fff;line-height:1}.wfu_browser_container:hover div.wfu_overlay_editor,.wfu_container:hover div.wfu_overlay_editor{display:block}div.wfu_overlay_editor:hover{background-color:#ff0}button.wfu_overlay_editor_button,button.wfu_overlay_editor_button:focus{background:0 0;border:none;margin:0;padding:0;width:100%;height:100%;outline:0}img.wfu_overlay_editor_img{vertical-align:top}div.wfu_overlay_container{position:absolute;width:100%;height:100%;top:0;left:0;margin:0;padding:0;background-color:rgba(255,255,255,.7);z-index:2;display:none}table.wfu_overlay_table,table.wfu_overlay_table td,table.wfu_overlay_table tr{border:none;margin:0;padding:0;background:0 0;width:100%;height:100%}table.wfu_overlay_table td{text-align:center;vertical-align:middle}div.wfu_overlay_container_inner{position:absolute;width:100%;height:100%;top:0;left:0;margin:0;padding:0;background:0 0}div.wfu_overlay_container label{margin-left:4px}
css/wordpress_file_upload_style_safe.css CHANGED
@@ -1 +1 @@
1
- input.file_input_textbox,input.file_input_textbox:disabled,input.file_input_textbox_nofile{position:relative;width:150px;height:25px;margin:0;padding:0;border:1px solid #BBB}input.file_input_textbox{background-color:#fff;color:#000}input.file_input_textbox:disabled{background-color:#fff;color:silver}input.file_input_textbox_nofile{background-color:red;color:#000}input.file_input_button{color:#555;border-color:#BBB;-moz-border-radius:2px;border-radius:2px}input.file_input_button,input.file_input_button_hover{top:0;position:absolute;width:100px;height:27px;margin:0;padding:0;background-color:#EEE;background-image:url(../images/white-grad-active.png);background-position:left top;background-repeat:repeat-x;border-style:solid;border-width:1px;-webkit-border-radius:2px;-khtml-border-radius:2px}input.file_input_button_hover{color:#111;border-color:#333;-moz-border-radius:2px;border-radius:2px}input.file_input_button:disabled,input.file_input_button_hover:disabled{position:absolute;top:0;color:silver;border-radius:2px}input.file_input_button:disabled,input.file_input_button_hover:disabled,input.file_input_submit{width:100px;height:27px;margin:0;padding:0;background-color:#EEE;background-image:url(../images/white-grad-active.png);background-position:left top;background-repeat:repeat-x;border-style:solid;border-width:1px;border-color:#BBB;-webkit-border-radius:2px;-moz-border-radius:2px;-khtml-border-radius:2px}input.file_input_submit{position:relative;color:#555;border-radius:2px}input.file_input_submit:focus,input.file_input_submit:hover{color:#111;border-color:#333;border-radius:2px}input.file_input_submit:disabled,input.file_input_submit:focus,input.file_input_submit:hover{margin:0;padding:0;width:100px;height:27px;position:relative;background-color:#EEE;background-image:url(../images/white-grad-active.png);background-position:left top;background-repeat:repeat-x;border-style:solid;border-width:1px;-webkit-border-radius:2px;-moz-border-radius:2px;-khtml-border-radius:2px}input.file_input_submit:disabled{color:silver;border-color:#BBB;border-radius:2px}input.file_input_hidden{font-size:45px;position:absolute;right:0;top:0;margin:0;padding:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:alpha(opacity=0);-moz-opacity:0;-khtml-opacity:0;opacity:0}
1
+ input.file_input_textbox,input.file_input_textbox:disabled,input.file_input_textbox_nofile{position:relative;width:150px;height:25px;border:1px solid #BBB;margin:0;padding:0}input.file_input_textbox{background-color:#fff;color:#000}input.file_input_textbox:disabled{background-color:#fff;color:silver}input.file_input_textbox_nofile{background-color:red;color:#000}input.file_input_button{width:100px;height:27px;position:absolute;top:0;margin:0;padding:0;background-color:#EEE;color:#555;background-image:url(../images/white-grad-active.png);background-position:left top;background-repeat:repeat-x;border-style:solid;border-width:1px;border-color:#BBB;-webkit-border-radius:2px;-moz-border-radius:2px;-khtml-border-radius:2px;border-radius:2px}input.file_input_button:disabled,input.file_input_button_hover,input.file_input_button_hover:disabled{width:100px;height:27px;position:absolute;margin:0;padding:0;background-color:#EEE;background-image:url(../images/white-grad-active.png);background-position:left top;background-repeat:repeat-x;border-style:solid;border-width:1px;-webkit-border-radius:2px;-moz-border-radius:2px;-khtml-border-radius:2px;top:0}input.file_input_button_hover{color:#111;border-color:#333;border-radius:2px}input.file_input_button:disabled,input.file_input_button_hover:disabled{color:silver;border-color:#BBB;border-radius:2px}input.file_input_submit,input.file_input_submit:focus,input.file_input_submit:hover{-webkit-border-radius:2px;-moz-border-radius:2px;width:100px;height:27px;position:relative;background-color:#EEE;background-image:url(../images/white-grad-active.png);background-position:left top;background-repeat:repeat-x;border-style:solid;border-width:1px;-khtml-border-radius:2px;margin:0;padding:0}input.file_input_submit{color:#555;border-color:#BBB;border-radius:2px}input.file_input_submit:focus,input.file_input_submit:hover{color:#111;border-color:#333;border-radius:2px}input.file_input_submit:disabled{width:100px;height:27px;position:relative;margin:0;padding:0;background-color:#EEE;color:silver;background-image:url(../images/white-grad-active.png);background-position:left top;background-repeat:repeat-x;border-style:solid;border-width:1px;border-color:#BBB;-webkit-border-radius:2px;-moz-border-radius:2px;-khtml-border-radius:2px;border-radius:2px}input.file_input_hidden{font-size:45px;position:absolute;right:0;top:0;margin:0;padding:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:alpha(opacity=0);-moz-opacity:0;-khtml-opacity:0;opacity:0}
images/Version Comparison.png CHANGED
Binary file
js/json2.js CHANGED
@@ -1 +1 @@
1
- var JSON;JSON||(JSON={}),function(){"use strict";function f(t){return 10>t?"0"+t:t}function quote(t){return escapable.lastIndex=0,escapable.test(t)?'"'+t.replace(escapable,function(t){var e=meta[t];return"string"==typeof e?e:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+t+'"'}function str(t,e){var r,n,o,f,u,i=gap,p=e[t];switch(p&&"object"==typeof p&&"function"==typeof p.toJSON&&(p=p.toJSON(t)),"function"==typeof rep&&(p=rep.call(e,t,p)),typeof p){case"string":return quote(p);case"number":return isFinite(p)?String(p):"null";case"boolean":case"null":return String(p);case"object":if(!p)return"null";if(gap+=indent,u=[],"[object Array]"===Object.prototype.toString.apply(p)){for(f=p.length,r=0;f>r;r+=1)u[r]=str(r,p)||"null";return o=0===u.length?"[]":gap?"[\n"+gap+u.join(",\n"+gap)+"\n"+i+"]":"["+u.join(",")+"]",gap=i,o}if(rep&&"object"==typeof rep)for(f=rep.length,r=0;f>r;r+=1)"string"==typeof rep[r]&&(n=rep[r],o=str(n,p),o&&u.push(quote(n)+(gap?": ":":")+o));else for(n in p)Object.prototype.hasOwnProperty.call(p,n)&&(o=str(n,p),o&&u.push(quote(n)+(gap?": ":":")+o));return o=0===u.length?"{}":gap?"{\n"+gap+u.join(",\n"+gap)+"\n"+i+"}":"{"+u.join(",")+"}",gap=i,o}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()});var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;"function"!=typeof JSON.stringify&&(JSON.stringify=function(t,e,r){var n;if(gap="",indent="","number"==typeof r)for(n=0;r>n;n+=1)indent+=" ";else"string"==typeof r&&(indent=r);if(rep=e,e&&"function"!=typeof e&&("object"!=typeof e||"number"!=typeof e.length))throw new Error("JSON.stringify");return str("",{"":t})}),"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){function walk(t,e){var r,n,o=t[e];if(o&&"object"==typeof o)for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(n=walk(o,r),void 0!==n?o[r]=n:delete o[r]);return reviver.call(t,e,o)}var j;if(text=String(text),cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}();
1
+ var JSON;JSON||(JSON={}),function(){"use strict";function f(t){return 10>t?"0"+t:t}function quote(t){return escapable.lastIndex=0,escapable.test(t)?'"'+t.replace(escapable,function(t){var e=meta[t];return"string"==typeof e?e:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+t+'"'}function str(t,e){var r,n,o,f,u,i=gap,p=e[t];switch(p&&"object"==typeof p&&"function"==typeof p.toJSON&&(p=p.toJSON(t)),"function"==typeof rep&&(p=rep.call(e,t,p)),typeof p){case"string":return quote(p);case"number":return isFinite(p)?String(p):"null";case"boolean":case"null":return String(p);case"object":if(!p)return"null";if(gap+=indent,u=[],"[object Array]"===Object.prototype.toString.apply(p)){for(f=p.length,r=0;f>r;r+=1)u[r]=str(r,p)||"null";return o=0===u.length?"[]":gap?"[\n"+gap+u.join(",\n"+gap)+"\n"+i+"]":"["+u.join(",")+"]",gap=i,o}if(rep&&"object"==typeof rep)for(f=rep.length,r=0;f>r;r+=1)"string"==typeof rep[r]&&(n=rep[r],o=str(n,p),o&&u.push(quote(n)+(gap?": ":":")+o));else for(n in p)Object.prototype.hasOwnProperty.call(p,n)&&(o=str(n,p),o&&u.push(quote(n)+(gap?": ":":")+o));return o=0===u.length?"{}":gap?"{\n"+gap+u.join(",\n"+gap)+"\n"+i+"}":"{"+u.join(",")+"}",gap=i,o}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(t){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(t){return this.valueOf()});var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;"function"!=typeof JSON.stringify&&(JSON.stringify=function(t,e,r){var n;if(gap="",indent="","number"==typeof r)for(n=0;r>n;n+=1)indent+=" ";else"string"==typeof r&&(indent=r);if(rep=e,e&&"function"!=typeof e&&("object"!=typeof e||"number"!=typeof e.length))throw new Error("JSON.stringify");return str("",{"":t})}),"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){function walk(t,e){var r,n,o=t[e];if(o&&"object"==typeof o)for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(n=walk(o,r),void 0!==n?o[r]=n:delete o[r]);return reviver.call(t,e,o)}var j;if(text=String(text),cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}();
js/wordpress_file_upload_adminfunctions.js CHANGED
@@ -1,3 +1,3 @@
1
- function wfu_admin_activate_tab(e){for(var t,a,l=document.getElementById("wfu_tab_container"),d=0;d<l.childNodes.length;d++)t=l.childNodes[d],1===t.nodeType&&(a=t.id.substr(8),t.className.indexOf("nav-tab-active")>-1&&(t.className="nav-tab",document.getElementById("wfu_container_"+a).style.display="none"));document.getElementById("wfu_tab_"+e).className="nav-tab nav-tab-active",document.getElementById("wfu_container_"+e).style.display="block"}function wfu_admin_onoff_clicked(e){var t=document.getElementById("wfu_attribute_"+e),a=document.getElementById("wfu_wrapper"),l=document.getElementsByClassName("wfu_shadow_"+e,"div",a),d=document.getElementsByClassName("wfu_shadow_"+e+"_inv","div",a),n="on"==t.className.substr(t.className.length-2);if(n=!n){document.getElementById("wfu_attribute_value_"+e).value="true",t.className="wfu_onoff_container_on";for(var r=0;r<l.length;r++)l[r].style.display="none";for(var r=0;r<d.length;r++)d[r].style.display="block"}else{document.getElementById("wfu_attribute_value_"+e).value="false",t.className="wfu_onoff_container_off";for(var r=0;r<l.length;r++)l[r].style.display="block";for(var r=0;r<d.length;r++)d[r].style.display="none"}wfu_generate_shortcode(),("userdata"==e||"formdata"==e)&&wfu_update_formfield_variables()}function wfu_admin_radio_clicked(e){var t=document.getElementsByName("wfu_radioattribute_"+e),a=document.getElementById("wfu_wrapper"),l=document.getElementsByClassName("wfu_shadow_"+e,"div",a),d=document.getElementsByClassName("wfu_shadow_"+e+"_inv","div",a),n="";for(u=0;u<t.length;u++)t[u].checked&&(n=t[u].value);var r="*"==n.substr(0,1);if(r){n=n.substr(1);for(var u=0;u<l.length;u++)l[u].style.display="none";for(var u=0;u<d.length;u++)d[u].style.display="block"}else{for(var u=0;u<l.length;u++)l[u].style.display="block";for(var u=0;u<d.length;u++)d[u].style.display="none"}document.getElementById("wfu_attribute_value_"+e).value=n,wfu_generate_shortcode()}function wfu_addEventHandler(e,t,a){e.addEventListener?e.addEventListener(t,a,!1):e.attachEvent?e.attachEvent("on"+t,a):e["on"+t]=a}function wfu_attach_separator_dragdrop_events(){for(var e,t=document.getElementById("wfu_placements_container"),a=0;a<t.childNodes.length;a++)e=t.childNodes[a],("wfu_component_separator_hor"==e.className||"wfu_component_separator_ver"==e.className)&&(wfu_addEventHandler(e,"dragenter",wfu_separator_dragenter),wfu_addEventHandler(e,"dragover",wfu_default_dragover),wfu_addEventHandler(e,"dragleave",wfu_separator_dragleave),wfu_addEventHandler(e,"drop",wfu_separator_drop))}function wfu_Attach_Admin_DragDrop_Events(){if(window.FileReader){var e=document.getElementById("wfu_placements_container");if(e){for(var t,a=document.getElementById("wfu_componentlist_container"),l=0;l<e.childNodes.length;l++)t=e.childNodes[l],"wfu_component_box"==t.className&&(wfu_addEventHandler(t,"dragstart",wfu_component_dragstart),wfu_addEventHandler(t,"dragend",wfu_component_dragend));for(var l=0;l<a.childNodes.length;l++)if(t=a.childNodes[l],"wfu_component_box_container"==t.className)for(var d=0;d<t.childNodes.length;d++)"wfu_component_box wfu_inbase"==t.childNodes[d].className&&(wfu_addEventHandler(t.childNodes[d],"dragstart",wfu_component_dragstart),wfu_addEventHandler(t.childNodes[d],"dragend",wfu_component_dragend));t=document.getElementById("wfu_componentlist_dragdrop"),wfu_addEventHandler(t,"dragenter",wfu_componentlist_dragenter),wfu_addEventHandler(t,"dragover",wfu_default_dragover),wfu_addEventHandler(t,"dragleave",wfu_componentlist_dragleave),wfu_addEventHandler(t,"drop",wfu_componentlist_drop),wfu_attach_separator_dragdrop_events()}}}function wfu_componentlist_dragenter(e){if(e=e||window.event,e.preventDefault&&e.preventDefault(),!DraggedItem)return!1;var t=document.getElementById("wfu_componentlist_dragdrop");return-1==t.className.indexOf("wfu_componentlist_dragdrop_dragover")&&(t.className+=" wfu_componentlist_dragdrop_dragover"),!1}function wfu_componentlist_dragleave(e){if(e=e||window.event,e.preventDefault&&e.preventDefault(),!DraggedItem)return!1;var t=document.getElementById("wfu_componentlist_dragdrop");return t.className=t.className.replace(" wfu_componentlist_dragdrop_dragover",""),!1}function wfu_componentlist_drop(e){e=e||window.event,e.preventDefault&&e.preventDefault();var t=e.dataTransfer.getData("Component");if(!t)return!1;var a=t.split("_"),l=a[0],d=parseInt(a[1]),n=document.getElementById("wfu_component_box_"+l+"_"+d);0==d?(n.className="wfu_component_box wfu_inbase",n.style.display="block",document.getElementById("wfu_component_box_container_"+l).appendChild(n)):n.parentNode.removeChild(n);var r=wfu_admin_recreate_placements_text(null,"");return wfu_admin_recreate_placements_panel(r),document.getElementById("wfu_attribute_value_placements").value=r,wfu_update_multiplacement_attributes(),wfu_generate_shortcode(),!1}function wfu_separator_dragenter(e){if(e=e||window.event,e.preventDefault&&e.preventDefault(),!DraggedItem)return!1;if("wfu_component_separator_hor"==e.target.className){var t=document.getElementById("wfu_component_bar_hor");t.style.top=e.target.offsetTop+"px",t.style.display="block"}else if("wfu_component_separator_ver"==e.target.className){var t=document.getElementById("wfu_component_bar_ver");t.style.top=e.target.offsetTop+"px",t.style.left=e.target.offsetLeft+"px",t.style.display="block"}return!1}function wfu_default_dragover(e){return e=e||window.event,e.preventDefault&&e.preventDefault(),!1}function wfu_separator_dragleave(e){if(e=e||window.event,e.preventDefault&&e.preventDefault(),!DraggedItem)return!1;if("wfu_component_separator_hor"==e.target.className){var t=document.getElementById("wfu_component_bar_hor");t.style.display="none"}else if("wfu_component_separator_ver"==e.target.className){var t=document.getElementById("wfu_component_bar_ver");t.style.display="none"}return!1}function wfu_separator_drop(e){e=e||window.event,e.preventDefault&&e.preventDefault();var t=e.dataTransfer.getData("Component");if(!t)return!1;var a=t.split("_"),l=a[0],d=parseInt(a[1]),n=document.getElementById("wfu_component_box_"+l+"_"+d);n.style.display="none",n.className="wfu_component_box wfu_inbase",document.getElementById("wfu_component_box_container_"+l).appendChild(n);var r=wfu_admin_recreate_placements_text(e.target,l);return wfu_admin_recreate_placements_panel(r),document.getElementById("wfu_attribute_value_placements").value=r,wfu_update_multiplacement_attributes(),wfu_generate_shortcode(),!1}function wfu_component_dragstart(e){e=e||window.event,e.dataTransfer.setData("Component",e.target.id.replace("wfu_component_box_","")),-1==e.target.className.indexOf("wfu_component_box_dragged")&&(e.target.className+=" wfu_component_box_dragged",DraggedItem=e.target),e.target.style.zIndex=3;var t=document.getElementById("wfu_componentlist_dragdrop");return t.className="wfu_componentlist_dragdrop wfu_componentlist_dragdrop_dragover",t.style.display="block",!1}function wfu_component_dragend(e){e=e||window.event,DraggedItem=null,e.target.style.zIndex=1;var t=document.getElementById("wfu_componentlist_dragdrop");return t.style.display="none",t.className="wfu_componentlist_dragdrop",e.target.className=e.target.className.replace(" wfu_component_box_dragged",""),document.getElementById("wfu_component_bar_ver").style.display="none",document.getElementById("wfu_component_bar_hor").style.display="none",!1}function wfu_admin_recreate_placements_text(e,t){function a(e){""!=n&&(n+=d),n+=e,d=""}for(var l=document.getElementById("wfu_placements_container"),d="",n="",r=0;r<l.childNodes.length;r++)item=l.childNodes[r],"wfu_component_separator_ver"==item.className?(""==d&&(d="+"),item==e&&(a(t),d="+")):"wfu_component_separator_hor"==item.className?(d="/",item==e&&(a(t),d="/")):"wfu_component_box"==item.className&&a(item.id.replace("wfu_component_box_","").replace(/_.*$/,""));return n}function wfu_admin_recreate_placements_panel(e){for(var t,a,l,d,n,r,u,o=document.getElementById("wfu_placements_container"),_="",s=0;s<o.childNodes.length;s++)t=o.childNodes[s],"wfu_component_box"==t.className&&(d=t.id.replace("wfu_component_box_",""),n=d.split("_"),_=n[0],r=parseInt(n[1]),0==r?(t.style.display="inline-block",t.className="wfu_component_box wfu_inbase",document.getElementById("wfu_component_box_container_"+_).appendChild(t)):t.parentNode.removeChild(t));for(var c=document.querySelectorAll("div.wfu_component_box_container"),f={},s=0;s<c.length;s++)_=c[s].id.replace("wfu_component_box_container_",""),f[_]=0,u=document.querySelector("div#"+c[s].id+" div.wfu_component_box_index"),u&&(u.innerHTML="1");o.innerHTML="",a=e.split("/");for(var s=0;s<a.length;s++){t=document.createElement("DIV"),t.className="wfu_component_separator_hor",t.setAttribute("draggable",!0),o.appendChild(t),t=document.createElement("DIV"),t.className="wfu_component_separator_ver",t.setAttribute("draggable",!0),o.appendChild(t),l=a[s].split("+");for(var i=0;i<l.length;i++)t=document.querySelector("div#wfu_component_box_container_"+l[i]+" div.wfu_component_box.wfu_inbase"),t&&(d=t.id.replace("wfu_component_box_",""),n=d.split("_"),_=n[0],r=parseInt(n[1]),0==r?o.appendChild(t):(f[_]++,t.id="wfu_component_box_"+_+"_"+(f[_]+1).toString(),t.style.display="block",u=document.querySelector("div#"+t.id+" div.wfu_component_box_index"),u.innerHTML=(f[_]+1).toString(),t=t.cloneNode(!0),o.appendChild(t),t.id="wfu_component_box_"+_+"_"+f[_].toString(),u=document.querySelector("div#"+t.id+" div.wfu_component_box_index"),u.innerHTML=f[_].toString(),wfu_addEventHandler(t,"dragstart",wfu_component_dragstart),wfu_addEventHandler(t,"dragend",wfu_component_dragend)),t.className="wfu_component_box",t.style.display="inline-block",t=document.createElement("DIV"),t.className="wfu_component_separator_ver",t.setAttribute("draggable",!0),o.appendChild(t))}t=document.createElement("DIV"),t.className="wfu_component_separator_hor",t.setAttribute("draggable",!0),o.appendChild(t),t=document.createElement("DIV"),t.id="wfu_component_bar_hor",t.className="wfu_component_bar_hor",o.appendChild(t),t=document.createElement("DIV"),t.id="wfu_component_bar_ver",t.className="wfu_component_bar_ver",o.appendChild(t),wfu_attach_separator_dragdrop_events()}function wfu_update_multiplacement_attributes(){for(var e=document.querySelectorAll("div.wfu_component_box_container"),t=0;t<e.length;t++){itemname=e[t].id.replace("wfu_component_box_container_","");var a=document.querySelector("div#"+e[t].id+" div.wfu_component_box_index");if(a)for(var l=Math.max(1,parseInt(a.innerHTML)-1),d=document.getElementsByName("wfu_attribute_governor_"+itemname),n=0;n<d.length;n++)wfu_update_multiplacement_attribute(d[n].value,l)}}function wfu_update_multiplacement_attribute(e,t){if("userdatalabel"==e){var a=document.querySelectorAll("div.wfu_formdata_container"),l=a.length;if(1>l)return;for(var d,n,r=a[0],u=2;u<=Math.max(l,t);){if(u>l){var o=e+u.toString();for(d=r.parentNode;null!=d&&"TR"!=d.tagName;)d=d.parentNode;if(null==d||"TR"!=d.tagName)return;n=d.cloneNode(!0),n.id="tr_"+wfu_randomString(4),d.parentNode.appendChild(n);var _=document.querySelector("tr#"+n.id+' label[for="wfu_attribute_'+e+'"]');_.setAttribute("for","wfu_attribute_"+o),_.innerHTML+=" ("+u.toString()+")",_=document.querySelector("tr#"+n.id+" input.wfu_attribute_governor"),_.setAttribute("name","wfu_attribute_governor_independent"),_.value=o,_=document.querySelector("tr#"+n.id+" div.wfu_formdata_container"),_.id+=u.toString();var s=document.getElementById("wfu_attribute_default_"+o);s||(s=document.createElement("INPUT"),s.id="wfu_attribute_default_"+o,s.type="hidden",s.value=document.getElementById("wfu_attribute_default_"+e).value,document.getElementById("wfu_attribute_defaults").appendChild(s));var c=document.getElementById("wfu_attribute_value_"+o);c||(c=document.createElement("INPUT"),c.id="wfu_attribute_value_"+o,c.type="hidden",c.value=s.value,document.getElementById("wfu_attribute_values").appendChild(c)),window["wfu_attribute_"+o+"_formtemplate"]=window["wfu_attribute_"+e+"_formtemplate"],window["wfu_attribute_"+o+"_typeprops"]=window["wfu_attribute_"+e+"_typeprops"],wfu_apply_value(o,"formfields",c.value)}else if(u>t){for(n=a[u-1].parentNode;null!=n&&"TR"!=n.tagName;)n=n.parentNode;if(null==n||"TR"!=n.tagName)return;n.parentNode.removeChild(n),wfu_update_formfield_variables()}u++}}}function wfu_subfolders_input_changed(e){e=e||window.event;var t=e.target,a=t.id.replace("wfu_subfolders_path_","");a=a.replace("wfu_subfolders_label_","");var l=document.getElementById("wfu_attribute_"+a);if(!(l.selectedIndex<0)){var d,n,r=document.getElementById("wfu_subfolders_path_"+a),u=document.getElementById("wfu_subfolders_label_"+a),o=document.getElementById("wfu_subfolders_ok_"+a),_="1"==document.getElementById("wfu_subfolders_isnewitem_"+a).value;if(_)d="",n="";else{var s=l.data;t=s[l.selectedIndex],d=t.path,n=t.label}if(r.value==d&&u.value==n)o.disabled=!0,_||wfu_subfolders_update_nav(a);else{o.disabled=!1;for(var c=document.getElementsByName("wfu_subfolder_nav_"+a),f=0;f<c.length;f++)c[f].disabled=!0}}}function wfu_subfolders_auto_changed(e){var t=document.getElementById("wfu_attribute_"+e),a=document.getElementById("wfu_subfolders_auto_"+e),l=document.getElementById("wfu_subfolders_editable_"+e),d=document.getElementById("wfu_subfolders_manualtext_"+e);if(a.checked){var n=document.getElementById("wfu_attribute_value_"+e).value;"auto"!=n.substr(0,4)&&(d.value=n),l.parentNode.style.display="inline",wfu_apply_value(e,"folderlist","auto"+(l.checked?"+":"")),t.disabled=!0}else t.disabled=!1,l.parentNode.style.display="none",wfu_apply_value(e,"folderlist",d.value)}function wfu_subfolders_up_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=t.data;item=a[t.selectedIndex];var l=item.index-1;if(!(0>l)){for(var d=-1,n=t.selectedIndex-1;n>=0;){if(a[n].level==item.level&&a[n].index==l){d=n;break}n--}if(-1!=d){var r=0;for(n=t.selectedIndex+1;n<a.length&&a[n].level>item.level;)r++,n++;a[d].index=item.index,item.index=l,t.data=a.slice(0,d).concat(a.slice(t.selectedIndex,t.selectedIndex+1+r)).concat(a.slice(d,t.selectedIndex)).concat(a.slice(t.selectedIndex+1+r));var u=wfu_update_subfolder_list(e);t.selectedIndex=d,wfu_subfolders_update_toolnav(e),item=t,u!==item.oldVal&&(item.oldVal=u,document.getElementById("wfu_attribute_value_"+e).value=u,wfu_generate_shortcode())}}}}function wfu_subfolders_down_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=t.data;item=a[t.selectedIndex];var l=item.index+1,d=-1;for(curind=t.selectedIndex+1;curind<a.length;){if(a[curind].level==item.level){d=curind;break}if(a[curind].level<item.level)break;curind++}if(-1!=d){var n=0;for(curind=d+1;curind<a.length&&a[curind].level>item.level;)n++,curind++;a[d].index=item.index,item.index=l,t.data=a.slice(0,t.selectedIndex).concat(a.slice(d,d+1+n)).concat(a.slice(t.selectedIndex,d)).concat(a.slice(d+1+n));var r=wfu_update_subfolder_list(e);t.selectedIndex=t.selectedIndex+n+1,wfu_subfolders_update_toolnav(e),item=t,r!==item.oldVal&&(item.oldVal=r,document.getElementById("wfu_attribute_value_"+e).value=r,wfu_generate_shortcode())}}}function wfu_subfolders_left_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=t.data;for(item=a[t.selectedIndex],curind=t.selectedIndex+1;curind<a.length&&a[curind].level>item.level;)a[curind].level--,curind++;item.level--;var l=wfu_update_subfolder_list(e);t.data=wfu_decode_subfolder_list(e),wfu_subfolders_update_toolnav(e),item=t,l!==item.oldVal&&(item.oldVal=l,document.getElementById("wfu_attribute_value_"+e).value=l,wfu_generate_shortcode())}}function wfu_subfolders_right_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=t.data;for(item=a[t.selectedIndex],curind=t.selectedIndex+1;curind<a.length&&a[curind].level>item.level;)a[curind].level++,curind++;item.level++;var l=wfu_update_subfolder_list(e);t.data=wfu_decode_subfolder_list(e),wfu_subfolders_update_toolnav(e),item=t,l!==item.oldVal&&(item.oldVal=l,document.getElementById("wfu_attribute_value_"+e).value=l,wfu_generate_shortcode())}}function wfu_subfolders_def_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=t.data;if(item=a[t.selectedIndex],item.default)item.default=!1;else{for(var l=0;l<a.length;l++)a[l].default=!1;item.default=!0}var d=wfu_update_subfolder_list(e);wfu_subfolders_update_toolnav(e),item=t,d!==item.oldVal&&(item.oldVal=d,document.getElementById("wfu_attribute_value_"+e).value=d,wfu_generate_shortcode())}}function wfu_subfolders_ok_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=document.getElementById("wfu_subfolders_path_"+e),l=document.getElementById("wfu_subfolders_label_"+e);if(""==a.value||""==l.value)return void alert("Path or label cannot be empty!");var d=t.data,n="1"==document.getElementById("wfu_subfolders_isnewitem_"+e).value;if(n){var r=parseInt(document.getElementById("wfu_subfolders_newitemlevel_"+e).value),u={label:l.value,path:a.value,level:r,"default":!1},o=parseInt(document.getElementById("wfu_subfolders_newitemindex_"+e).value);o>=d.length?d.push(u):d.splice(o,0,u)}else item=d[t.selectedIndex],item.path=a.value,item.label=l.value;var _=wfu_update_subfolder_list(e);t.data=wfu_decode_subfolder_list(e),wfu_subfolders_update_toolnav(e),item=t,_!==item.oldVal&&(item.oldVal=_,document.getElementById("wfu_attribute_value_"+e).value=_,wfu_generate_shortcode())}}function wfu_subfolders_del_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=t.data;item=a[t.selectedIndex];var l=0;for(curind=t.selectedIndex+1;curind<a.length&&a[curind].level>item.level;)l++,curind++;if(!(l>0)||confirm("Children items will be deleted as well. Proceed?")){a.splice(t.selectedIndex,1+l);var d=wfu_update_subfolder_list(e);t.data=wfu_decode_subfolder_list(e),wfu_subfolders_update_toolnav(e),item=t,d!==item.oldVal&&(item.oldVal=d,document.getElementById("wfu_attribute_value_"+e).value=d,wfu_generate_shortcode())}}}function wfu_subfolders_add_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=t.data,l=t.selectedIndex;item=a[l];var d=t.options,n=document.createElement("option");n.value="",n.innerHTML="",d.add(n,l),t.selectedIndex=l;var r=document.getElementById("wfu_subfolder_tools_"+e),u=document.getElementById("wfu_subfolders_path_"+e),o=document.getElementById("wfu_subfolders_label_"+e),_=document.getElementById("wfu_subfolders_ok_"+e),s=document.getElementById("wfu_subfolders_browse_"+e);r.className="wfu_subfolder_tools_container",o.disabled=!1,_.disabled=!0,document.getElementById("wfu_subfolders_isnewitem_"+e).value="1",document.getElementById("wfu_subfolders_newitemindex_"+e).value=l,document.getElementById("wfu_subfolders_newitemlevel_"+e).value=item.level,document.getElementById("wfu_subfolders_newitemlevel2_"+e).value="",u.disabled=0==item.level,s.disabled=0==item.level,0==item.level?(u.value="{root}",o.value="{upload folder}"):(u.value="",o.value="");for(var c=document.getElementsByName("wfu_subfolder_nav_"+e),f=0;f<c.length;f++)c[f].disabled=!0}}function wfu_subfolders_browse_clicked(e){var t=wfu_GetHttpRequestObject();if(null!=t){var a=null;try{var a=new FormData}catch(l){}if(null!=a){for(var d=document.getElementById("wfu_global_dialog_container"),n=document.getElementById("wfu_subfolders_browser_"+e),r=document.getElementById("wfu_subfolders_browse_"+e),u=document.getElementById("wfu_subfolders_inner_shadow_"+e),o=document.getElementById("wfu_subfolders_browser_msgcont_"+e),_=document.getElementById("wfu_subfolders_browser_msg_"+e),s=document.getElementById("wfu_subfolders_browser_img_"+e),c=document.getElementById("wfu_subfolders_browser_ok_"+e),f=document.getElementById("wfu_subfolders_browser_list_"+e);f.options.length>0;)f.options.remove(0);c.disabled=!0,c.onclick=function(){wfu_folder_browser_cancel_clicked(e)},_.innerHTML="loading folder contents...",s.style.display="inline",o.style.display="block",d.style.display="block",n.style.display="block",n.style.left=r.offsetLeft+r.offsetWidth-n.offsetWidth+"px",n.style.top=r.offsetTop+r.offsetHeight-n.offsetHeight+"px",u.style.display="block",d.onclick=function(){wfu_folder_browser_cancel_clicked(e)};var i=document.getElementById("wfu_attribute_uploadpath").value;"/"==i.substr(i.length-1)&&(i=i.substr(0,i.length-1));var m=wfu_get_relative_path(e).split(","),p=i+m[0];"/"!=p.substr(0)&&(p="/"+p);var w="";2==m.length&&(w=m[1]),a.append("action","wfu_ajax_action_read_subfolders"),a.append("folder1",wfu_plugin_encode_string(p)),a.append("folder2",wfu_plugin_encode_string(w)),t.key=e,t.addEventListener("load",wfu_readfolderComplete,!1),t.addEventListener("error",wfu_readfolderFailed,!1),t.addEventListener("abort",wfu_readfolderCanceled,!1),t.open("POST",AdminParams.wfu_ajax_url),t.send(a)}}}function wfu_readfolderComplete(e){var t=e.target.key,a=document.getElementById("wfu_subfolders_browser_msgcont_"+t),l=document.getElementById("wfu_subfolders_browser_msg_"+t),d=document.getElementById("wfu_subfolders_browser_img_"+t),n=document.getElementById("wfu_subfolders_browser_list_"+t),r=document.getElementById("wfu_subfolders_browser_ok_"+t),u=document.getElementById("wfu_subfolders_path_"+t),o=document.getElementById("wfu_subfolders_label_"+t),_=e.target.responseText;if(-1!=_){var s="wfu_read_subfolders:",c=e.target.responseText.indexOf(s);-1==c&&(c=e.target.responseText.length);var f=(e.target.responseText.substr(0,c),e.target.responseText.substr(c+s.length,e.target.responseText.length-c-s.length));c=f.indexOf(":");var i=f.substr(0,c);if(txt_value=f.substr(c+1,f.length-c-1),"success"==i){for(var m,p=wfu_plugin_decode_string(txt_value),w=p.split(","),g=0,v=0;v<w.length;v++)""!=w[v]&&(m=document.createElement("option"),m.value=w[v],m.innerHTML=w[v].replace("*","&nbsp;&nbsp;&nbsp;"),n.add(m),g++);0==g&&(m=document.createElement("option"),m.value="",m.innerHTML="{empty}",m.disabled=!0,n.add(m)),n.selectedIndex=-1,r.onclick=function(){var e=n.options[n.selectedIndex].value,a=parseInt(document.getElementById("wfu_subfolders_newitemlevel_"+t).value);("*"==e.substr(0,1)||0==a)&&(document.getElementById("wfu_subfolders_newitemlevel_"+t).value=a+1,a>0&&(e=e.substr(1))),u.value=e,o.value=e,wfu_folder_browser_cancel_clicked(t),wfu_subfolders_ok_clicked(t)},a.style.display="none"}else"error"==i?(l.innerHTML=txt_value,d.style.display="none",r.disabled=!1):(l.innerHTML="Unknown error",d.style.display="none",r.disabled=!1)}}function wfu_readfolderFailed(e){var t=e.target.key,a=document.getElementById("wfu_subfolders_browser_msg_"+t),l=document.getElementById("wfu_subfolders_browser_img_"+t),d=document.getElementById("wfu_subfolders_browser_ok_"+t);a.innerHTML="Unknown error",l.style.display="none",d.disabled=!1}function wfu_readfolderCanceled(e){var t=e.target.key,a=document.getElementById("wfu_subfolders_browser_msg_"+t),l=document.getElementById("wfu_subfolders_browser_img_"+t),d=document.getElementById("wfu_subfolders_browser_ok_"+t);a.innerHTML="Unknown error",l.style.display="none",d.disabled=!1}function wfu_subfolders_browser_list_changed(e){var t=document.getElementById("wfu_subfolders_browser_list_"+e),a=document.getElementById("wfu_subfolders_browser_ok_"+e);a.disabled=t.selectedIndex<0}function wfu_folder_browser_cancel_clicked(e){var t=document.getElementById("wfu_global_dialog_container"),a=document.getElementById("wfu_subfolders_browser_"+e),l=(document.getElementById("wfu_subfolders_browse_"+e),document.getElementById("wfu_subfolders_inner_shadow_"+e));t.onclick=null,l.style.display="none",a.style.display="none",t.style.display="none"}function wfu_get_relative_path(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a,l=t.data,d="1"==document.getElementById("wfu_subfolders_isnewitem_"+e).value;a=d?parseInt(document.getElementById("wfu_subfolders_newitemlevel_"+e).value):l[t.selectedIndex].level;for(var n="/",r=t.selectedIndex-1,u=a;r>=0&&u>1;)l[r].level<u&&(n="/"+l[r].path+n,u=l[r].level),r--;return d&&"1"==document.getElementById("wfu_subfolders_newitemlevel2_"+e).value&&a>0&&t.selectedIndex>0&&(n+=","+l[t.selectedIndex-1].path),n}}function wfu_subfolders_changed(e){wfu_update_subfolder_list(e),wfu_subfolders_update_toolnav(e)}function wfu_subfolders_update_toolnav(e){var t,a,l=document.getElementById("wfu_attribute_"+e),d=document.getElementById("wfu_subfolder_tools_"+e),n=document.getElementById("wfu_subfolders_path_"+e),r=document.getElementById("wfu_subfolders_label_"+e),u=document.getElementById("wfu_subfolders_ok_"+e),o=document.getElementById("wfu_subfolders_browse_"+e),_=document.getElementById("wfu_subfolders_auto_"+e);if(document.getElementById("wfu_subfolders_isnewitem_"+e).value="",document.getElementById("wfu_subfolders_newitemindex_"+e).value="",document.getElementById("wfu_subfolders_newitemlevel_"+e).value="",document.getElementById("wfu_subfolders_newitemlevel2_"+e).value="",null==l.data?(t=wfu_decode_subfolder_list(e),l.data=t):t=l.data,0===l.data.length?(l.className="wfu_select_folders wfu_select_folders_empty",l.options[0].innerHTML=_.checked?"":"press here"):l.className="wfu_select_folders",l.selectedIndex<0)d.className="wfu_subfolder_tools_container wfu_subfolder_tools_disabled",n.disabled=!0,r.disabled=!0,u.disabled=!0,o.disabled=!0,r.value="",n.value="";else if(l.selectedIndex>=l.options.length-1){d.className="wfu_subfolder_tools_container",r.disabled=!1,u.disabled=!0,document.getElementById("wfu_subfolders_isnewitem_"+e).value="1",document.getElementById("wfu_subfolders_newitemindex_"+e).value=t.length;var s;s=0==t.length?0:0==t[t.length-1].level?1:t[t.length-1].level,document.getElementById("wfu_subfolders_newitemlevel_"+e).value=s,document.getElementById("wfu_subfolders_newitemlevel2_"+e).value="1",n.disabled=0==s,o.disabled=!1,0==s?(n.value="{root}",r.value="{upload folder}"):(n.value="",r.value="")}else d.className="wfu_subfolder_tools_container",r.disabled=!1,u.disabled=!0,a=t[l.selectedIndex],n.disabled=0==a.level,o.disabled=0==a.level,r.value=a.label,n.value=a.path;var c=document.getElementsByName("wfu_subfolder_nav_"+e);if(l.selectedIndex<0||l.selectedIndex>=l.options.length-1)for(var f=0;f<c.length;f++)c[f].disabled=!0;else wfu_subfolders_update_nav(e)}function wfu_subfolders_update_nav(e){var t=document.getElementById("wfu_attribute_"+e),a=document.getElementById("wfu_subfolders_up_"+e),l=document.getElementById("wfu_subfolders_down_"+e),d=document.getElementById("wfu_subfolders_left_"+e),n=document.getElementById("wfu_subfolders_right_"+e),r=document.getElementById("wfu_subfolders_add_"+e),u=document.getElementById("wfu_subfolders_def_"+e),o=document.getElementById("wfu_subfolders_del_"+e),_=t.data,s=_[t.selectedIndex];for(a.disabled=s.index<=0,ind=t.selectedIndex+1,nextind=0;ind<_.length;){if(_[ind].level==s.level){nextind=_[ind].index;break}if(_[ind].level<s.level)break;ind++}l.disabled=0==s.level||0==nextind,d.disabled=0==t.selectedIndex&&s.level<1||t.selectedIndex>0&&s.level<=1,prevlevel=t.selectedIndex>=1?_[t.selectedIndex-1].level:0,n.disabled=s.level-prevlevel>0,r.disabled=0==s.level,u.disabled=!1,u.className="button"+(s.default?" wfu_subfolder_nav_pressed":""),o.disabled=!1}function wfu_decode_subfolder(e){var t={label:"",path:"",level:0,"default":!1};e=e.trim();for(var a=0,l=!1;a<e.length&&"*"==e.substr(a,1);)a++;e=e.substr(a,e.length-a),"&"==e.substr(0,1)&&(e=e.substr(1),l=!0),t.level=a,t.default=l;var d=e.split("/");return 1==d.length?(t.path=d[0],t.label=d[0]):d.length>1&&(t.path=d[0],t.label=d[1]),0==a&&(t.path="{root}",""==t.label&&(t.label="{upload folder}")),t}function wfu_decode_subfolder_list(e){for(var t,a=document.getElementById("wfu_attribute_"+e).options,l=Array(),d=["root"],n=[0],r=-1,u=0;u<a.length-1;u++){for(l.push(wfu_decode_subfolder(wfu_plugin_decode_string(a[u].value))),d.length>l[u].level?d[l[u].level]=l[u].path:d.push(l[u].path),t="",j=1;j<=l[u].level;j++)t+=d[j]+"/";l[u].fullpath=t,n.length<=l[u].level&&n.push(0),l[u].index=l[u].level>r?0:n[l[u].level]+1,n[l[u].level]=l[u].index,r=l[u].level}return l}function wfu_update_subfolder_list(e){var t=document.getElementById("wfu_attribute_"+e).options,a=document.getElementById("wfu_attribute_"+e),l=a.data;if(null!=l){var d,n,r="";t.length=l.length+1;for(var u=0;u<l.length;u++){for(d="",n="",j=0;j<l[u].level;j++)d+="*",n+="&nbsp;&nbsp;&nbsp;";l[u].default?(d+="&",t[u].className="wfu_select_folders_option_default"):t[u].className="",d+=l[u].path+"/"+l[u].label,n+=l[u].label,t[u].value=wfu_plugin_encode_string(d),t[u].innerHTML=n,""!=r&&(r+=","),r+=d}return t[l.length].value="",t[l.length].innerHTML="",r}}function wfu_userdata_edit_field(e,t,a){for(var l,d=0;d<e.childNodes.length;d++)l=e.childNodes[d],"INPUT"==l.tagName?"text"==l.type?(l.value=t,wfu_attach_element_handlers(l,wfu_update_userfield_value)):"checkbox"==l.type&&(l.checked=a):"DIV"==l.tagName&&(l.className="wfu_userdata_action")}function wfu_formdata_edit_field(){}function wfu_formdata_type_changed(e){var t=e.split("_"),a=t[0],l="wfu_formfield_"+e,d=(document.getElementById("wfu_attribute_"+a),document.getElementById(l+"_container")),n=window["wfu_attribute_"+a+"_typeprops"][document.getElementById(l+"_type").value],r={type:document.getElementById(l+"_type").value,label:document.getElementById(l+"_label").value,labelposition:document.getElementById(l+"_labelposition").value,required:"show"==n.required.substr(0,4)&&document.getElementById(l+"_required")?document.getElementById(l+"_required").checked:"true"==n.required.substr(5),donotautocomplete:"show"==n.donotautocomplete.substr(0,4)&&document.getElementById(l+"_donotautocomplete")?document.getElementById(l+"_donotautocomplete").checked:"true"==n.donotautocomplete.substr(5),validate:"show"==n.validate.substr(0,4)&&document.getElementById(l+"_validate")?document.getElementById(l+"_validate").checked:"true"==n.validate.substr(5),typehook:"show"==n.typehook.substr(0,4)&&document.getElementById(l+"_typehook")?document.getElementById(l+"_typehook").checked:"true"==n.typehook.substr(5),hintposition:"show"==n.hintposition.substr(0,4)&&document.getElementById(l+"_hintposition")?document.getElementById(l+"_hintposition").value:n.hintposition.substr(5),"default":"show"==n.default.substr(0,4)&&document.getElementById(l+"_default")?document.getElementById(l+"_default").value:n.default.substr(5),data:"show"==n.data.substr(0,4)&&document.getElementById(l+"_data")?document.getElementById(l+"_data").value:n.data.substr(5),group:"show"==n.group.substr(0,4)&&document.getElementById(l+"_group")?document.getElementById(l+"_group").value:n.group.substr(5),format:"show"==n.format.substr(0,4)&&document.getElementById(l+"_format")?document.getElementById(l+"_format").value:n.format.substr(5)},u=wfu_formdata_prepare_template(a,r,e);d.innerHTML=u;for(var o=document.querySelectorAll("div#"+l+'_container input[name="wfu_formfield_elements"]'),_=0;_<o.length;_++)wfu_attach_element_handlers(o[_],wfu_update_formfield_value);for(var s=document.querySelectorAll("div#wfu_attribute_"+a+" .wfu_formdata_action_remove"),_=0;_<s.length;_++)s[_].className="wfu_formdata_action wfu_formdata_action_remove"+(s.length>1?"":" wfu_formdata_action_disabled");wfu_update_formfield_value({target:d})}function wfu_userdata_add_field(e){var t=e.parentNode,a=t.cloneNode(!0);wfu_userdata_edit_field(a,"",!1),t.parentNode.insertBefore(a,t.nextSibling)}function wfu_formdata_add_field(e){var t=e.split("_"),a=t[0],l=(t[1],document.getElementById("wfu_attribute_"+a)),d=document.getElementById("wfu_formfield_"+e+"_container"),n=document.createElement("DIV"),r=a+"_"+wfu_randomString(4);n.id="wfu_formfield_"+r+"_container",n.className="wfu_formdata_line_container",l.insertBefore(n,d.nextSibling);var u={type:"text",label:"",labelposition:"left",required:!1,donotautocomplete:!1,validate:!1,"default":"",data:"",group:"",format:"",hintposition:"right",typehook:!1},o=wfu_formdata_prepare_template(a,u,r);n.innerHTML=o;for(var _=document.querySelectorAll("div#wfu_formfield_"+r+'_container input[name="wfu_formfield_elements"]'),s=0;s<_.length;s++)wfu_attach_element_handlers(_[s],wfu_update_formfield_value);
2
- for(var c=document.querySelectorAll("div#wfu_attribute_"+a+" .wfu_formdata_action_remove"),s=0;s<c.length;s++)c[s].className="wfu_formdata_action wfu_formdata_action_remove"+(c.length>1?"":" wfu_formdata_action_disabled");wfu_update_formfield_value({target:n})}function wfu_formdata_prepare_template(e,t,a){var l=wfu_plugin_decode_string(window["wfu_attribute_"+e+"_formtemplate"]),d=window["wfu_attribute_"+e+"_typeprops"][t.type],n=window["wfu_attribute_"+e+"_typeprops"][0].split(","),r=["required","donotautocomplete","validate","typehook","labelposition","hintposition","default","data","group","format"],u=["none","top","right","bottom","left"],o=["none","inline","top","right","bottom","left"];l=l.replace(/\[\[key\]\]/g,a).replace(/\[\[t\]\]/g,t.type).replace(/\[\[label\]\]/g,t.label).replace(/\[\[s\]\]/g,t.labelposition).replace(/\[\[d\]\]/g,t.default).replace(/\[\[l\]\]/g,t.data).replace(/\[\[data_label\]\]/g,d.data_label).replace(/\[\[g\]\]/g,t.group).replace(/\[\[f\]\]/g,t.format).replace(/\[\[p\]\]/g,t.hintposition);for(var _=0;_<r.length;_++)l=l.replace(new RegExp("\\[\\["+r[_]+"_hint\\]\\]","g"),d[r[_]+"_hint"]);for(var _=0;_<n.length;_++)l=l.replace("[[type_"+n[_]+"_selected]]",n[_]==t.type?' selected="selected"':"");for(var _=0;_<u.length;_++)l=l.replace("[[labelposition_"+u[_]+"_selected]]",u[_]==t.labelposition?' selected="selected"':"");for(var _=0;_<o.length;_++)l=l.replace("[[hintposition_"+o[_]+"_selected]]",o[_]==t.hintposition?' selected="selected"':"");return l=l.replace("[[remove_disabled]]",""),l=t.required?l.replace(/\[\[r\-\>\]\]|\[\[\<\-r\]\]/g,""):l.replace(/\[\[r\-\>\]\].*\[\[\<\-r\]\]/g,""),l=t.donotautocomplete?l.replace(/\[\[a\-\>\]\]|\[\[\<\-a\]\]/g,""):l.replace(/\[\[a\-\>\]\].*\[\[\<\-a\]\]/g,""),l=t.validate?l.replace(/\[\[v\-\>\]\]|\[\[\<\-v\]\]/g,""):l.replace(/\[\[v\-\>\]\].*\[\[\<\-v\]\]/g,""),l=t.typehook?l.replace(/\[\[h\-\>\]\]|\[\[\<\-h\]\]/g,""):l.replace(/\[\[h\-\>\]\].*\[\[\<\-h\]\]/g,""),l="show"==d.required.substr(0,4)?l.replace(/\[\[R\-\>\]\]|\[\[\<\-R\]\]/g,""):l.replace(/\[\[R\-\>\]\][^]*\[\[\<\-R\]\]/g,""),l="show"==d.donotautocomplete.substr(0,4)?l.replace(/\[\[A\-\>\]\]|\[\[\<\-A\]\]/g,""):l.replace(/\[\[A\-\>\]\][^]*\[\[\<\-A\]\]/g,""),l="show"==d.validate.substr(0,4)?l.replace(/\[\[V\-\>\]\]|\[\[\<\-V\]\]/g,""):l.replace(/\[\[V\-\>\]\][^]*\[\[\<\-V\]\]/g,""),l="show"==d.hintposition.substr(0,4)?l.replace(/\[\[P\-\>\]\]|\[\[\<\-P\]\]/g,""):l.replace(/\[\[P\-\>\]\][^]*\[\[\<\-P\]\]/g,""),l="show"==d.typehook.substr(0,4)?l.replace(/\[\[H\-\>\]\]|\[\[\<\-H\]\]/g,""):l.replace(/\[\[H\-\>\]\][^]*\[\[\<\-H\]\]/g,""),l="show"==d.default.substr(0,4)?l.replace(/\[\[D\-\>\]\]|\[\[\<\-D\]\]/g,""):l.replace(/\[\[D\-\>\]\][^]*\[\[\<\-D\]\]/g,""),l="show"==d.data.substr(0,4)?l.replace(/\[\[L\-\>\]\]|\[\[\<\-L\]\]/g,""):l.replace(/\[\[L\-\>\]\][^]*\[\[\<\-L\]\]/g,""),l="show"==d.group.substr(0,4)?l.replace(/\[\[G\-\>\]\]|\[\[\<\-G\]\]/g,""):l.replace(/\[\[G\-\>\]\][^]*\[\[\<\-G\]\]/g,""),l="show"==d.format.substr(0,4)?l.replace(/\[\[F\-\>\]\]|\[\[\<\-F\]\]/g,""):l.replace(/\[\[F\-\>\]\][^]*\[\[\<\-F\]\]/g,"")}function wfu_userdata_remove_field(e){for(var t=e.parentNode,a=t.parentNode,l=null,d=0;d<a.childNodes.length;d++)if(1===a.childNodes[d].nodeType){l=a.childNodes[d];break}if(t!=l){t.parentNode.removeChild(t);for(var d=0;d<l.childNodes.length;d++)if(1===l.childNodes[d].nodeType){wfu_update_userfield_value({target:l.childNodes[d]});break}}}function wfu_formdata_remove_field(e){var t=e.split("_"),a=t[0],l=document.querySelectorAll("div#wfu_attribute_"+a+" .wfu_formdata_line_container");if(!(l.length<2)){var d=document.getElementById("wfu_attribute_"+a),n=document.getElementById("wfu_formfield_"+e+"_container");d.removeChild(n),n=document.querySelector("div#wfu_attribute_"+a+" .wfu_formdata_line_container");for(var r=document.querySelectorAll("div#wfu_attribute_"+a+" .wfu_formdata_action_remove"),u=0;u<r.length;u++)r[u].className="wfu_formdata_action wfu_formdata_action_remove"+(r.length>1?"":" wfu_formdata_action_disabled");wfu_update_formfield_value({target:n})}}function wfu_generate_shortcode(){for(var e,t=document.getElementById("wfu_shortcode_tag").value,a=document.getElementById("wfu_attribute_defaults"),l=(document.getElementById("wfu_attribute_values"),""),d="",n="["+t,r="",u=0;u<a.childNodes.length;u++)e=a.childNodes[u],1===e.nodeType&&(l=e.id.replace("wfu_attribute_default_",""),d=document.getElementById("wfu_attribute_value_"+l).value,e.value!=d&&(r+=" "+l+'="'+d+'"'));n+=r+"]",document.getElementById("wfu_shortcode").value=n,ShortcodeString=r.substr(1),document.getElementById("wfu_update_shortcode")&&(document.getElementById("wfu_update_shortcode").disabled=wfu_plugin_encode_string(n)==document.getElementById("wfu_shortcode_original_enc").value),Autosave&&wfu_schedule_save_shortcode()}function wfu_update_text_value(e){e=e||window.event;var t=e.target,a=t.id.replace("wfu_attribute_",""),l=t.value;l=l.replace(/(\r\n|\n|\r)/gm,"%n%"),l=l.replace(/\"/gm,"%dq%"),l=l.replace(/\[/gm,"%brl%"),l=l.replace(/\]/gm,"%brr%"),l!==t.oldVal&&(t.oldVal=l,document.getElementById("wfu_attribute_value_"+a).value=l,wfu_generate_shortcode())}function wfu_update_date_value(e){e=e||window.event;var t=e.target,a=t.id.replace("wfu_attribute_",""),l=t.value;l!==t.oldVal&&(t.oldVal=l,document.getElementById("wfu_attribute_value_"+a).value=l,wfu_generate_shortcode())}function wfu_update_stringmatch_textvalue(e){e=e||window.event;var t=e.target,a=t.id.replace("wfu_attribute_","");a=a.replace("_matchfield","").replace("_matchvalue",""),wfu_update_stringmatch_value(a)}function wfu_update_triplecolor_value(e){e=e||window.event;var t=e.target,a=t.id.replace("wfu_attribute_","");a=a.replace("_color",""),a=a.replace("_bgcolor",""),a=a.replace("_borcolor",""),t=document.getElementById("wfu_attribute_"+a+"_color");var l=t.value+","+document.getElementById("wfu_attribute_"+a+"_bgcolor").value+","+document.getElementById("wfu_attribute_"+a+"_borcolor").value;l!==t.oldVal&&(t.oldVal=l,document.getElementById("wfu_attribute_value_"+a).value=l,wfu_generate_shortcode())}function wfu_update_dimension_value(e){e=e||window.event;var t=e.target,a=t.name.replace("wfu_dimension_elements_",""),l=document.getElementsByName(t.name);t=l[0];for(var d="",n="",r=0;r<l.length;r++)n=l[r].id.replace("wfu_attribute_"+a+"_",""),""!=d&&""!=l[r].value&&(d+=", "),""!=l[r].value&&(d+=n+":"+l[r].value);d!==t.oldVal&&(t.oldVal=d,document.getElementById("wfu_attribute_value_"+a).value=d,wfu_generate_shortcode())}function wfu_update_ptext_value(e){e=e||window.event;var t=e.target,a=t.id.replace("wfu_attribute_","");a=a.substr(2);var l=document.getElementById("wfu_attribute_s_"+a).value,d=document.getElementById("wfu_attribute_p_"+a).value,n=l+"/"+d;n!==t.oldVal&&(t.oldVal=n,document.getElementById("wfu_attribute_value_"+a).value=n),wfu_generate_shortcode()}function wfu_update_mchecklist_value(e){var t="",a=(document.getElementById("wfu_attribute_"+e),document.getElementById("wfu_attribute_"+e+"_all"));a.checked?(jQuery("#wfu_attribute_"+e+" input").prop("disabled",!0),jQuery("#wfu_attribute_"+e+" input").prop("checked",!0),t="all"):(jQuery("#wfu_attribute_"+e+" input").prop("disabled",!1),jQuery("#wfu_attribute_"+e+" input").each(function(){jQuery(this).prop("checked")&&(t+=","+jQuery(this).next().html())}),t=t.substr(1)),document.getElementById("wfu_attribute_value_"+e).value=t,wfu_generate_shortcode()}function wfu_update_rolelist_value(e){var t="",a=document.getElementById("wfu_attribute_"+e),l=document.getElementById("wfu_attribute_"+e+"_guests"),d=document.getElementById("wfu_attribute_"+e+"_all");if(d.checked)a.disabled=!0,t="all";else{a.disabled=!1;for(var n=a.options,r=0;r<n.length;r++)n[r].selected&&(""!=t&&(t+=","),t+=n[r].value)}l.checked&&(""!=t&&(t+=","),t+="guests"),document.getElementById("wfu_attribute_value_"+e).value=t,wfu_generate_shortcode()}function wfu_update_userlist_value(e){var t="",a=document.getElementById("wfu_attribute_"+e),l=document.getElementById("wfu_attribute_"+e+"_current"),d=document.getElementById("wfu_attribute_"+e+"_guests"),n=document.getElementById("wfu_attribute_"+e+"_all");if(l&&l.checked)a.disabled=!0,n.disabled=!0,d.disabled=!0,t="current";else{if(n.disabled=!1,d.disabled=!1,n.checked)a.disabled=!0,t="all";else{a.disabled=!1;for(var r=a.options,u=0;u<r.length;u++)r[u].selected&&(""!=t&&(t+=","),t+=r[u].value)}d.checked&&(""!=t&&(t+=","),t+="guests")}document.getElementById("wfu_attribute_value_"+e).value=t,wfu_generate_shortcode()}function wfu_update_postlist_value(e){for(var t="",a=Array(),l=Array(),d=document.getElementById("wfu_attribute_"+e+"_postlist").value.split(","),n=0;n<d.length;n++)a.push(document.getElementById("wfu_attribute_"+e+"_"+d[n])),l.push(document.getElementById("wfu_attribute_"+e+"_all_"+d[n]));var r=document.getElementById("wfu_attribute_"+e+"_current");if(r&&r.checked){for(var n=0;n<d.length;n++)a[n].disabled=!0,l[n].disabled=!0;t="current"}else{var u=!0;t="";for(var n=0;n<d.length;n++)if(l[n].disabled=!1,l[n].checked)a[n].disabled=!0,""!=t&&(t+=","),t+="all"+d[n];else{a[n].disabled=!1,u=!1;for(var o=a[n].options,_=0;_<o.length;_++)o[_].selected&&(""!=t&&(t+=","),t+=o[_].value)}u&&(t="all")}document.getElementById("wfu_attribute_value_"+e).value=t,wfu_generate_shortcode()}function wfu_update_bloglist_value(e){var t="",a=document.getElementById("wfu_attribute_"+e),l=document.getElementById("wfu_attribute_"+e+"_current"),d=document.getElementById("wfu_attribute_"+e+"_all");if(l&&l.checked)a.disabled=!0,d.disabled=!0,t="current";else if(d.disabled=!1,d.checked)a.disabled=!0,t="all";else{a.disabled=!1;for(var n=a.options,r=0;r<n.length;r++)n[r].selected&&(""!=t&&(t+=","),t+=n[r].value)}document.getElementById("wfu_attribute_value_"+e).value=t,wfu_generate_shortcode()}function wfu_update_stringmatch_value(e){var t=document.getElementById("wfu_attribute_"+e+"_matchfield").value,a=document.getElementById("wfu_attribute_"+e+"_matchcriterion").value,l=document.getElementById("wfu_attribute_"+e+"_matchvalue").value;t=t.replace(";",""),document.getElementById("wfu_attribute_value_"+e).value=""==t.trim()?"":"field:"+t+";criterion:"+a+";value:"+l,wfu_generate_shortcode()}function wfu_update_userfield_value(e){e=e||window.event;for(var t=e.target,a=t.parentNode,l=a.parentNode,d="",n=!1,r="",u=0;u<l.childNodes.length;u++)if(a=l.childNodes[u],"DIV"===a.tagName){for(var o=0;o<a.childNodes.length;o++)"INPUT"==a.childNodes[o].tagName&&("text"==a.childNodes[o].type?(d=a.childNodes[o].value,0==u&&(t=a.childNodes[o])):"checkbox"==a.childNodes[o].type&&(n=a.childNodes[o].checked));""!=r&&""!=d&&(r+="/"),""!=d&&n&&(r+="*"),""!=d&&(r+=d)}r!==t.oldVal&&(t.oldVal=r,document.getElementById("wfu_attribute_value_userdatalabel").value=r,wfu_generate_shortcode(),wfu_update_formfield_variables())}function wfu_update_formfield_value(e){e=e||window.event;for(var t=e.target,a=t.id.match(/^wfu_formfield_(.*?)_/)[1],l=document.querySelectorAll("div#wfu_attribute_"+a+" .wfu_formdata_line_container"),d="",n=0;n<l.length;n++){var r="",u=l[n].id.match(/^wfu_formfield_.*?_(.*?)_/)[1],o=a+"_"+u,_=document.getElementById("wfu_formfield_"+o+"_label").value;if(""!=_.trim()){r=_.trim();var s=document.getElementById("wfu_formfield_"+o+"_type").value,c=window["wfu_attribute_"+a+"_typeprops"];r+="|t:"+s,r+="|s:"+document.getElementById("wfu_formfield_"+o+"_labelposition").value,"show"==c[s].required.substr(0,4)&&(r+="|r:"+(document.getElementById("wfu_formfield_"+o+"_required").checked?"1":"0")),"show"==c[s].donotautocomplete.substr(0,4)&&(r+="|a:"+(document.getElementById("wfu_formfield_"+o+"_donotautocomplete").checked?"1":"0")),"show"==c[s].validate.substr(0,4)&&(r+="|v:"+(document.getElementById("wfu_formfield_"+o+"_validate").checked?"1":"0")),"show"==c[s].typehook.substr(0,4)&&(r+="|h:"+(document.getElementById("wfu_formfield_"+o+"_typehook").checked?"1":"0")),"show"==c[s].hintposition.substr(0,4)&&(r+="|p:"+document.getElementById("wfu_formfield_"+o+"_hintposition").value),"show"==c[s].default.substr(0,4)&&(r+="|d:"+document.getElementById("wfu_formfield_"+o+"_default").value),"show"==c[s].data.substr(0,4)&&(r+="|l:"+document.getElementById("wfu_formfield_"+o+"_data").value),"show"==c[s].group.substr(0,4)&&(r+="|g:"+document.getElementById("wfu_formfield_"+o+"_group").value),"show"==c[s].format.substr(0,4)&&(r+="|f:"+document.getElementById("wfu_formfield_"+o+"_format").value)}""!=r&&(""!=d&&(d+="/"),d+=r)}d!==t.oldVal&&(t.oldVal=d,document.getElementById("wfu_attribute_value_"+a).value=d,wfu_generate_shortcode(),wfu_update_formfield_variables())}function wfu_update_formfield_variables(){var e=document.getElementById("wfu_attribute_value_userdatalabel");if(e){for(var t=document.getElementById("wfu_wrapper"),a=document.getElementsByClassName("wfu_shadow_userdata","div",t),l=document.getElementsByName("wfu_formfield_select"),d=0;d<l.length;d++)l[d].style.display="none";if(0!=a.length&&"block"!=a[0].style.display){for(var n='<option style="display:none;">%userdataXXX%</option>',r=e.value.replace(/\//g,"[/]").replace(/\(.*\)/,function(e){return e.replace(/\[\/\]/g,"/")}).split("[/]"),u=2;document.getElementById("wfu_attribute_userdatalabel"+u);){var o=document.getElementById("wfu_attribute_value_userdatalabel"+u).value.replace(/\//g,"[/]").replace(/\(.*\)/,function(e){return e.replace(/\[\/\]/g,"/")}).split("[/]");r=r.concat(o),u++}var _="",s=0;u=1;for(var d=0;d<r.length;d++)_=r[d],"*"==_[0]&&(_=_.substr(1)),s=_.indexOf("|"),s>-1&&(_=_.substr(0,s)),""!=_.trim()&&(n+='<option value="%userdata'+u+'%">'+u+": "+_.trim()+"</option>",u++);for(var d=0;d<l.length;d++)l[d].innerHTML=n,l[d].style.display="inline-block"}}}function wfu_attach_element_handlers(e,t){for(var a=["DOMAttrModified","textInput","input","change","keypress","paste","focus","propertychange"],l=0;l<a.length;l++)wfu_addEventHandler(e,a[l],t)}function wfu_Attach_Admin_Events(e){Autosave=e,wfu_generate_shortcode(),wfu_update_formfield_variables(),wfu_Attach_Admin_DragDrop_Events();for(var t=document.getElementsByName("wfu_text_elements"),a=0;a<t.length;a++)wfu_attach_element_handlers(t[a],wfu_update_text_value);for(var l=document.getElementsByName("wfu_ptext_elements"),a=0;a<l.length;a++)wfu_attach_element_handlers(l[a],wfu_update_ptext_value);for(var d=document.getElementsByName("wfu_stringmatch_elements"),a=0;a<d.length;a++)wfu_attach_element_handlers(d[a],wfu_update_stringmatch_textvalue);for(var n=document.getElementsByName("wfu_triplecolor_elements"),a=0;a<n.length;a++)wfu_attach_element_handlers(n[a],wfu_update_triplecolor_value);for(var r=document.getElementsByName("wfu_dimension_elements_widths"),a=0;a<r.length;a++)wfu_attach_element_handlers(r[a],wfu_update_dimension_value);r=document.getElementsByName("wfu_dimension_elements_heights");for(var a=0;a<r.length;a++)wfu_attach_element_handlers(r[a],wfu_update_dimension_value);for(var u=document.getElementsByName("wfu_userfield_elements"),a=0;a<u.length;a++)wfu_attach_element_handlers(u[a],wfu_update_userfield_value);for(var o=document.getElementsByName("wfu_formfield_elements"),a=0;a<o.length;a++)wfu_attach_element_handlers(o[a],wfu_update_formfield_value);for(var _=document.getElementsByName("wfu_subfolder_tools_input"),a=0;a<_.length;a++)wfu_attach_element_handlers(_[a],wfu_subfolders_input_changed);""!=document.getElementById("wfu_shortcode_postid").value&&setTimeout(function(){wfu_check_page_obsolescence()},CheckObsolescenceTimeOut)}function wfu_insert_variable(e){var t=e.className.replace("wfu_variable wfu_variable_",""),a=document.getElementById("wfu_attribute_"+t),l=a.selectionStart,d=a.value;a.value=d.substr(0,l)+e.innerHTML+d.substr(l),wfu_update_text_value({target:a})}function wfu_insert_userfield_variable(e){var t=e.className.replace("wfu_variable wfu_variable_",""),a=document.getElementById("wfu_attribute_"+t),l=a.selectionStart,d=a.value;a.value=d.substr(0,l)+e.value+d.substr(l),e.value="%userdataXXX%",wfu_update_text_value({target:a})}function wfu_columns_itemclicked(e){var t=e.parentNode;if("SELECT"==t.tagName)for(var a=0;a<t.options.length;a++)t.options[a].selected=t.options[a]==e}function wfu_columns_buttonaction(e,t){var a=document.getElementById("wfu_attribute_"+e+"_sourcelist"),l=document.getElementById("wfu_attribute_"+e);if("add"==t){for(var d=0;d<a.options.length;d++)if(a.options[d].selected||"wfu_columns_item_required"==a.options[d].className){for(var n=!1,r=0;r<l.options.length;r++)if(l.options[r].value==a.options[d].value){n=!0;break}if(!n){var u=document.createElement("OPTION");u.value=a.options[d].value,u.innerHTML=a.options[d].innerHTML,u.className=a.options[d].className,l.appendChild(u)}}}else if("del"==t)for(var d=0;d<l.options.length;)l.options[d].selected&&"wfu_columns_item_required"!=l.options[d].className?l.options.remove(d):d++;else if("up"==t||"down"==t){for(var o=-1,d=0;d<l.options.length;d++)l.options[d].selected&&-1==o?o=d:l.options[d].selected&&o>-1&&(l.options[d].selected=!1);"up"==t&&o>0?l.insertBefore(l.options[o],l.options[o-1]):"down"==t&&o<l.options.length-1&&l.insertBefore(l.options[o+1],l.options[o])}wfu_update_columns(e)}function wfu_update_columns(e){for(var t=document.getElementById("wfu_attribute_"+e),a="",l=0;l<t.options.length;l++)""!=a&&(a+=","),a+=t.options[l].value;document.getElementById("wfu_attribute_value_"+e).value=a,wfu_generate_shortcode()}function wfu_GetHttpRequestObject(){var e=null;try{e=new XMLHttpRequest}catch(t){try{e=new ActiveXObject("Msxml2.XMLHTTP")}catch(a){try{e=new ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}}if(null==e&&window.createRequest)try{xmlhttp=window.createRequest()}catch(t){}return e}function wfu_plugin_encode_string(e){var t,a=0,l="",d="";for(a=0;a<e.length;a++)t=e.charCodeAt(a),t>=2048?t=((16773120&t|917504)<<4)+((4032&t|8192)<<2)+(63&t|128):t>=128&&(t=((65472&t|12288)<<2)+(63&t|128)),d=t.toString(16),(1==d.length||3==d.length||5==d.length)&&(d="0"+d),l+=d;return l}function wfu_plugin_decode_string(e){for(var t,a,l=0,d="";l<e.length;)t=parseInt(e.substr(l,2),16),a=128>t?t:224>t?((31&t)<<6)+(63&parseInt(e.substr(l+=2,2),16)):((15&t)<<12)+((63&parseInt(e.substr(l+=2,2),16))<<6)+(63&parseInt(e.substr(l+=2,2),16)),d+=String.fromCharCode(a),l+=2;return d}function wfu_randomString(e){for(var t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz",a=e,l="",d=0;a>d;d++){var n=Math.floor(Math.random()*t.length);l+=t.substring(n,n+1)}return l}function wfu_schedule_save_shortcode(){var e=new Date,t=ShortcodeNextSave-e.getTime();null!=ShortcodeTimeOut&&(clearTimeout(ShortcodeTimeOut),ShortcodeTimeOut=null),0>=t?wfu_save_shortcode():ShortcodeTimeOut=setTimeout(function(){wfu_save_shortcode()},t)}function wfu_check_page_obsolescence(){PageObsolete||PageUpdating||""==document.getElementById("wfu_shortcode_postid").value}function wfu_save_shortcode(){if(!PageObsolete){var e=wfu_GetHttpRequestObject();if(null!=e){PageUpdating=!0,document.getElementById("wfu_update_failed_message").style.display="none";var t=AdminParams.wfu_ajax_url;params=new Array(8),params[0]=new Array(2),params[0][0]="action",params[0][1]="wfu_ajax_action_save_shortcode",params[1]=new Array(2),params[1][0]="shortcode",params[1][1]=wfu_plugin_encode_string(ShortcodeString),params[2]=new Array(2),params[2][0]="shortcode_original",params[2][1]=document.getElementById("wfu_shortcode_original_enc").value,params[3]=new Array(2),params[3][0]="post_id",params[3][1]=document.getElementById("wfu_shortcode_postid").value,params[4]=new Array(2),params[4][0]="post_hash",params[4][1]=document.getElementById("wfu_shortcode_posthash").value,params[5]=new Array(2),params[5][0]="shortcode_position",params[5][1]=document.getElementById("wfu_shortcode_position").value,params[6]=new Array(2),params[6][0]="shortcode_tag",params[6][1]=document.getElementById("wfu_shortcode_tag").value,params[7]=new Array(2),params[7][0]="widget_id",params[7][1]=document.getElementById("wfu_shortcode_widgetid").value;for(var a="",l=0;l<params.length;l++)a+=(l>0?"&":"")+params[l][0]+"="+encodeURI(params[l][1]);var d=new Date;Autosave?ShortcodeNextSave=d.getTime()+5e3:document.getElementById("wfu_update_shortcode")&&(document.getElementById("wfu_update_shortcode_wait").style.display="inline"),e.open("POST",t,!0),e.setRequestHeader("Content-type","application/x-www-form-urlencoded"),e.onreadystatechange=function(){if(4==e.readyState&&200==e.status){PageUpdating=!1;var t="wfu_save_shortcode:",a=e.responseText.indexOf(t);-1==a&&(a=e.responseText.length);var l=(e.responseText.substr(0,a),e.responseText.substr(a+t.length,e.responseText.length-a-t.length));a=l.indexOf(":");var n=l.substr(0,a);if(txt_value=l.substr(a+1,l.length-a-1),"success"==n){if(Autosave?(document.getElementById("wfu_save_label").innerHTML="saved",document.getElementById("wfu_save_label").className="wfu_save_label",document.getElementById("wfu_save_label").style.opacity=1,wfu_fadeout_element(300),ShortcodeNextSave=d.getTime()+1e3,null!=ShortcodeTimeOut&&wfu_schedule_save_shortcode()):document.getElementById("wfu_update_shortcode")&&(document.getElementById("wfu_update_shortcode_wait").style.display="none",document.getElementById("wfu_update_shortcode").disabled=!0,window.plugin_window&&window.plugin_window.location.reload(!0)),""!=document.getElementById("wfu_shortcode_postid").value){var r=document.getElementById("wfu_shortcode_tag").value;document.getElementById("wfu_shortcode_original_enc").value=wfu_plugin_encode_string("["+r+" "+ShortcodeString+"]"),document.getElementById("wfu_shortcode_posthash").value=txt_value,setTimeout(function(){wfu_check_page_obsolescence()},CheckObsolescenceTimeOut)}}else Autosave&&(document.getElementById("wfu_save_label").innerHTML="not saved",document.getElementById("wfu_save_label").className="wfu_save_label_fail",document.getElementById("wfu_save_label").style.opacity=1,wfu_fadeout_element(300)),"fail"==n&&("post_modified"==txt_value?(PageObsolete=!0,document.getElementById("wfu_update_shortcode")&&(document.getElementById("wfu_update_shortcode").disabled=!0),document.getElementById("wfu_update_rejected_message").style.display="block"):document.getElementById("wfu_update_failed_message").style.display="block")}},e.send(a)}}}function wfu_adjust_opacity(e){document.getElementById("wfu_save_label").style.opacity=e}function wfu_fadeout_element(e){for(var t=20,a=0,l=0;t>l;l++)a=1-l/t,setTimeout('wfu_adjust_opacity("'+a.toString()+'")',l*e/t);setTimeout('wfu_adjust_opacity("0.0")',l*e/t)}function wfu_apply_value(e,t,a){if("onoff"==t)document.getElementById("wfu_attribute_"+e).className="wfu_onoff_container_"+("true"!=a?"on":"off"),wfu_admin_onoff_clicked(e);else if("text"==t||"ltext"==t||"integer"==t||"float"==t||"mtext"==t||"color"==t){var l=document.getElementById("wfu_attribute_"+e);if(a=a.replace(/\%n\%/gm,"\n"),a=a.replace(/\%dq\%/gm,'"'),a=a.replace(/\%brl\%/gm,"["),a=a.replace(/\%brr\%/gm,"]"),"color"==t){var d=colourNameToHex(a);d||(d=a),jQuery("#wfu_attribute_"+e).wpColorPicker("color",d)}l.value=a,wfu_update_text_value({target:l})}else if("date"==t){var l=document.getElementById("wfu_attribute_"+e);l.value=a,wfu_update_date_value({target:l})}else if("placements"==t)wfu_admin_recreate_placements_panel(a),document.getElementById("wfu_attribute_value_placements").value=a,wfu_generate_shortcode();else if("radio"==t){for(var n=document.getElementsByName("wfu_radioattribute_"+e),r=0;r<n.length;r++)n[r].checked=n[r].value==a||"*"+n[r].value==a;wfu_admin_radio_clicked(e)}else if("ptext"==t){a=a.replace(/\%n\%/gm,"\n"),a=a.replace(/\%dq\%/gm,'"'),a=a.replace(/\%brl\%/gm,"["),a=a.replace(/\%brr\%/gm,"]");var u=a.split("/"),o=u.length<1?"":u[0],_=u.length<2?o:u[1],s=document.getElementById("wfu_attribute_s_"+e);s.value=o;var c=document.getElementById("wfu_attribute_p_"+e);c.value=_,wfu_update_ptext_value({target:s}),wfu_update_ptext_value({target:c})}else if("mchecklist"==t){if(a=a.toLowerCase(),"all"==a)document.getElementById("wfu_attribute_"+e+"_all").checked=!0;else{document.getElementById("wfu_attribute_"+e+"_all").checked=!1;for(var f=a.split(","),r=0;r<f.length;r++)f[r]=f[r].trim();jQuery("#wfu_attribute_"+e+" input").each(function(){jQuery(this).prop("checked",f.indexOf(jQuery(this).next().html())>-1)})}wfu_update_mchecklist_value(e)}else if("rolelist"==t){var l=document.getElementById("wfu_attribute_"+e),i=document.getElementById("wfu_attribute_"+e+"_all"),m=i.className.indexOf("wfu_default_administrator")>-1,p=a.split(",");if(p.indexOf("all")>-1){i.checked=!0;for(var r=0;r<l.options.length;r++)l.options[r].selected=m&&"administrator"==l.options[r].value}else{i.checked=!1;for(var r=0;r<p.length;r++)p[r]=p[r].trim();for(var r=0;r<l.options.length;r++)l.options[r].selected=p.indexOf(l.options[r].value)>-1}document.getElementById("wfu_attribute_"+e+"_guests").checked=p.indexOf("guests")>-1,wfu_update_rolelist_value(e)}else if("userlist"==t){var l=document.getElementById("wfu_attribute_"+e),i=document.getElementById("wfu_attribute_"+e+"_all"),w=i.className.indexOf("wfu_default_0")>-1,g=document.getElementById("wfu_attribute_"+e+"_current");if(g&&"current"==a){g.checked=!0,i.checked=!1,document.getElementById("wfu_attribute_"+e+"_guests").checked=!1;for(var r=0;r<l.options.length;r++)l.options[r].selected=w&&1>r}else{g&&(g.checked=!1);var v=a.split(",");if(v.indexOf("all")>-1){i.checked=!0;for(var r=0;r<l.options.length;r++)l.options[r].selected=w&&1>r}else{i.checked=!1;for(var r=0;r<v.length;r++)v[r]=v[r].trim();for(var r=0;r<l.options.length;r++)l.options[r].selected=v.indexOf(l.options[r].value)>-1}document.getElementById("wfu_attribute_"+e+"_guests").checked=v.indexOf("guests")>-1}wfu_update_userlist_value(e)}else if("postlist"==t){for(var b=Array(),i=Array(),h=document.getElementById("wfu_attribute_"+e+"_postlist").value.split(","),r=0;r<h.length;r++)b.push(document.getElementById("wfu_attribute_"+e+"_"+h[r])),i.push(document.getElementById("wfu_attribute_"+e+"_all_"+h[r]));var g=document.getElementById("wfu_attribute_"+e+"_current");if(g&&"current"==a){g.checked=!0;for(var r=0;r<h.length;r++){i[r].checked=!1;for(var y=0;y<b[r].options.length;y++)b[r].options[y].selected=!1}}else{g&&(g.checked=!1);for(var I=a.split(","),r=0;r<h.length;r++){("all"==a||I.indexOf("all"+h[r])>-1)&&(i[r].checked=!0);for(var y=0;y<b[r].options.length;y++)b[r].options[y].selected=I.indexOf(b[r].options[y].value)>-1}}wfu_update_postlist_value(e)}else if("bloglist"==t){var g=document.getElementById("wfu_attribute_"+e+"_current");if(g&&"current"==a){g.checked=!0,document.getElementById("wfu_attribute_"+e+"_all").checked=!1;for(var l=document.getElementById("wfu_attribute_"+e),r=0;r<l.options.length;r++)l.options[r].selected=!1}else{g&&(g.checked=!1);var E=a.split(",");if("all"==a)document.getElementById("wfu_attribute_"+e+"_all").checked=!0;else{document.getElementById("wfu_attribute_"+e+"_all").checked=!1;for(var r=0;r<E.length;r++)E[r]=E[r].trim();for(var l=document.getElementById("wfu_attribute_"+e),r=0;r<l.options.length;r++)l.options[r].selected=E.indexOf(l.options[r].value)>-1}}wfu_update_bloglist_value(e)}else if("stringmatch"==t){var B="",k="equal to",x="",N=a.match(/^field:(.*?);\s*criterion:(.*?)\s*;\s*value:(.*)$/);N&&4==N.length&&(B=N[1],k=N[2],x=N[3]),document.getElementById("wfu_attribute_"+e+"_matchfield").value=B,document.getElementById("wfu_attribute_"+e+"_matchcriterion").value=k,document.getElementById("wfu_attribute_"+e+"_matchvalue").value=x,wfu_update_stringmatch_value(e)}else if("columns"==t){var T=document.getElementById("wfu_attribute_"+e+"_sourcelist"),A=document.getElementById("wfu_attribute_"+e);A.innerHTML="";for(var H=a.split(","),r=0;r<T.options.length;r++)if("wfu_columns_item_required"==T.options[r].className&&-1==H.indexOf(T.options[r].value)){var S=document.createElement("OPTION");S.value=T.options[r].value,S.innerHTML=T.options[r].innerHTML,S.className=T.options[r].className,A.appendChild(S)}for(var r=0;r<H.length;r++){for(var q=-1,y=0;y<T.options.length;y++)if(T.options[y].value==H[r]){q=y;break}for(var O=!1,y=0;y<A.options.length;y++)if(A.options[y].value==H[r]){O=!0;break}if(q>-1&&!O){var S=document.createElement("OPTION");S.value=T.options[q].value,S.innerHTML=T.options[q].innerHTML,S.className=T.options[q].className,A.appendChild(S)}}wfu_update_columns(e)}else if("dimensions"==t){for(var C,L,D,l,M=a.split(","),j=document.getElementsByName("wfu_dimension_elements_"+e),r=0;r<j.length;r++)j[r].value="";for(var r=0;r<M.length;r++)C=M[r].split(":",2),L=C.length<1?"":C[0],D=C.length<2?L:C[1],l=document.getElementById("wfu_attribute_"+e+"_"+L.trim()),l&&(l.value=D.trim());l=j[0],wfu_update_dimension_value({target:l})}else if("userfields"==t){for(var V,P=a.replace(/\//g,"[/]").replace(/\(.*\)/,function(e){return e.replace(/\[\/\]/g,"/")}).split("[/]"),R=Array(),r=0;r<P.length;r++)V="*"==P[r].substr(0,1),V&&(P[r]=P[r].substr(1)),""!=P[r]&&R.push({name:P[r],required:V});for(var F=document.getElementById("wfu_attribute_"+e),U=null,Q=Array(),r=0;r<F.childNodes.length;r++)1===F.childNodes[r].nodeType&&(null==U?U=F.childNodes[r]:Q.push(F.childNodes[r]));for(var r=0;r<Q.length;r++)F.removeChild(Q[r]);wfu_userdata_edit_field(U,"",!1);for(var X,G=U,r=0;r<R.length;r++)0==r?wfu_userdata_edit_field(U,R[r].name,R[r].required):(X=G.cloneNode(!0),wfu_userdata_edit_field(X,R[r].name,R[r].required),F.insertBefore(X,G.nextSibling),G=X);for(var l,r=0;r<U.childNodes.length&&(l=U.childNodes[r],"INPUT"!=l.tagName);r++);wfu_update_userfield_value({target:l})}else if("formfields"==t){for(var R=Array(),W=window["wfu_attribute_"+e+"_typeprops"],z=W[0].split(","),$={},r=0;r<z.length;r++){var J=W[z[r]],K={};K.type=z[r],K.label="",K.labelposition=J.labelposition.substr(5),K.required="true"==J.required.substr(5),K.donotautocomplete="true"==J.donotautocomplete.substr(5),K.validate="true"==J.validate.substr(5),K.typehook="true"==J.typehook.substr(5),K.hintposition=J.hintposition.substr(5),K.default=J.default.substr(5),K.data=J.data.substr(5),K.group=J.group.substr(5),K.format=J.format.substr(5),$[z[r]]=K}for(var P=a.replace(/\//g,"[/]").replace(/\(.*\)/,function(e){return e.replace(/\[\/\]/g,"/")}).split("[/]"),r=0;r<P.length;r++){var Z=P[r].trim(),Y={};for(prop in $.text)Y[prop]=$.text[prop];"*"==Z.substr(0,1)&&(Y.required=!0,Z=Z.substr(1));var et=Z.split("|");if(""!=et[0].trim()){for(var tt=-1,at="",y=0;y<et.length;y++){var lt=et[y].replace(/^\s+/gm,""),dt=lt.substr(0,2),D=lt.substr(2);if("t:"==dt&&y>0&&z.indexOf(D)>-1){at=D,tt=y;break}}if(""!=at){for(prop in $[at])Y[prop]=$[at][prop];et.splice(tt,1)}Y.label=et[0].trim(),et.splice(0,1);for(var y=0;y<et.length;y++){var lt=et[y].replace(/^\s+/gm,""),dt=lt.substr(0,2),D=lt.substr(2);"s:"==dt?Y.labelposition=D:"r:"==dt?Y.required="1"==D:"a:"==dt?Y.donotautocomplete="1"==D:"v:"==dt?Y.validate="1"==D:"d:"==dt?Y.default=D:"l:"==dt?Y.data=D:"g:"==dt?Y.group=D:"f:"==dt?Y.format=D:"p:"==dt?Y.hintposition=D:"h:"==dt&&(Y.typehook="1"==D)}R.push(Y)}}0==R.length&&R.push(fieldprops_default);for(var F=document.getElementById("wfu_attribute_"+e),nt=document.querySelectorAll("div#wfu_attribute_"+e+" .wfu_formdata_line_container"),r=1;r<nt.length;r++)F.removeChild(nt[r]);for(var rt=nt[0],r=0;r<R.length;r++){var ut=e+"_"+wfu_randomString(4),ot=wfu_formdata_prepare_template(e,R[r],ut);r>0&&(rt=document.createElement("DIV")),rt.id="wfu_formfield_"+ut+"_container",rt.className="wfu_formdata_line_container",r>0&&F.insertBefore(rt,null),rt.innerHTML=ot}for(var _t=document.querySelectorAll("div#wfu_attribute_"+e+' input[name="wfu_formfield_elements"]'),r=0;r<_t.length;r++)wfu_attach_element_handlers(_t[r],wfu_update_formfield_value);for(var st=document.querySelectorAll("div#wfu_attribute_"+e+" .wfu_formdata_action_remove"),r=0;r<st.length;r++)st[r].className="wfu_formdata_action wfu_formdata_action_remove"+(st.length>1?"":" wfu_formdata_action_disabled");wfu_update_formfield_value({target:nt[0]})}else if("color-triplet"==t){for(var ct=a.split(","),r=0;r<ct.length;r++)ct[r]=ct[r].trim();2==ct.length?ct=[ct[0],ct[1],"#000000"]:1==ct.length?ct=[ct[0],"#FFFFFF","#000000"]:ct.length<3&&(ct=["#000000","#FFFFFF","#000000"]);
3
- var d=colourNameToHex(ct[0]);d||(d=ct[0]),jQuery("#wfu_attribute_"+e+"_color").wpColorPicker("color",d);var l=document.getElementById("wfu_attribute_"+e+"_color");l.value=ct[0],d=colourNameToHex(ct[1]),d||(d=ct[1]),jQuery("#wfu_attribute_"+e+"_bgcolor").wpColorPicker("color",d),document.getElementById("wfu_attribute_"+e+"_bgcolor").value=ct[1],d=colourNameToHex(ct[2]),d||(d=ct[2]),jQuery("#wfu_attribute_"+e+"_borcolor").wpColorPicker("color",d),document.getElementById("wfu_attribute_"+e+"_borcolor").value=ct[2],wfu_update_triplecolor_value({target:l})}else if("folderlist"==t){for(var f=wfu_parse_folderlist_js(a),ft=document.getElementById("wfu_attribute_"+e).options;ft.length>0;)ft.remove(0);for(var S,it,mt,pt,wt,gt,r=0;r<f.path.length;r++){it=f.path[r],"/"==it.substr(it.length,1)&&(it=it.substr(0,it.length-1)),mt=it.split("/"),it=mt[mt.length-1],wt=parseInt(f.level[r]),pt="",gt="";for(var y=0;wt>y;y++)pt+="&nbsp;&nbsp;&nbsp;",gt+="*";pt+=f.label[r],f.default[r]&&(gt+="&"),gt+=""==it?"{root}/"+f.label[r]:it+f.label[r],S=document.createElement("option"),S.className=f.default[r]?"wfu_select_folders_option_default":"",S.value=wfu_plugin_encode_string(gt),S.innerHTML=pt,ft.add(S)}S=document.createElement("option"),S.value="",S.innerHTML="",ft.add(S);var vt=document.getElementById("wfu_attribute_"+e);vt.data=wfu_decode_subfolder_list(e),wfu_subfolders_update_toolnav(e),l=vt,a!==l.oldVal&&(l.oldVal=a,document.getElementById("wfu_attribute_value_"+e).value=a,wfu_generate_shortcode())}}function wfu_parse_folderlist_js(e){var t=Object();if(t.path=Array(),t.label=Array(),t.level=Array(),t.default=Array(),"auto"==e.substr(0,4))return t;var a=e.split(",");if(0==a.length)return t;if(1==a.length&&""==a[0].trim())return t;for(var l,d,n,r,u,o,_,s=["root"],c=0,f=0,i=-1,m=0;m<a.length;m++){for(l=a[m].trim(),d=0,n="",r=!1;d<l.length&&"*"==l.substr(d,1);)d++,n+="&nbsp;&nbsp;&nbsp;";if(1>=d-c&&(d>0||0==f)&&(l=l.substr(d,l.length-d),"&"==l.substr(0,1)&&(l=l.substr(1),r=!0),subfolder_items=l.split("/"),subfolder_items.length<2&&subfolder_items.push(""),""!=subfolder_items[1]?(u=subfolder_items[0],o=subfolder_items[1]):(u=l,o=l),""!=u)){r&&-1==i?i=t.path.length:r=!1,0==d&&(f=1),s.length>d?s[d]=u:s.push(u),_="";for(var p=1;d>=p;p++)_+=s[p]+"/";t.path.push(_),t.label.push(o),t.level.push(d),t.default.push(r),c=d}}return t}function colourNameToHex(e){var t={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4","indianred ":"#cd5c5c","indigo ":"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};return"undefined"!=typeof t[e.toLowerCase()]?t[e.toLowerCase()]:!1}function wfu_download_file(e,t,a){var l=wfu_GetHttpRequestObject();if(null!=l){var d=AdminParams.wfu_ajax_url;params=new Array(3),params[0]=new Array(2),params[0][0]="action",params[0][1]="wfu_ajax_action_download_file_invoker",params[1]=new Array(2),params[1][0]="file",params[1][1]=e,params[2]=new Array(2),params[2][0]="nonce",params[2][1]=a;for(var n="",r=0;r<params.length;r++)n+=(r>0?"&":"")+params[r][0]+"="+encodeURI(params[r][1]);l.open("POST",d,!0),l.setRequestHeader("Content-type","application/x-www-form-urlencoded"),l.onreadystatechange=function(){if(4==l.readyState&&200==l.status){var a="wfu_ajax_action_download_file_invoker:",d=l.responseText.indexOf(a);-1==d&&(d=l.responseText.length);var n=(l.responseText.substr(0,d),l.responseText.substr(d+a.length,l.responseText.length-d-a.length));d=n.indexOf(":");var r=n.substr(0,d);if(txt_value=n.substr(d+1,n.length-d-1),"wfu_download_id;"==r.substr(0,16)){var u=r.substr(16),o=document.getElementById("wfu_file_download_container_"+t);o.innerHTML=txt_value,setTimeout("wfu_download_file_monitor('"+e+"', "+t+", '"+u+"')",100)}}},l.send(n)}}function wfu_download_file_monitor(e,t,a){var l=wfu_GetHttpRequestObject();if(null!=l){var d=AdminParams.wfu_ajax_url;params=new Array(3),params[0]=new Array(2),params[0][0]="action",params[0][1]="wfu_ajax_action_download_file_monitor",params[1]=new Array(2),params[1][0]="file",params[1][1]=e,params[2]=new Array(2),params[2][0]="id",params[2][1]=a;for(var n="",r=0;r<params.length;r++)n+=(r>0?"&":"")+params[r][0]+"="+encodeURI(params[r][1]);l.open("POST",d,!0),l.setRequestHeader("Content-type","application/x-www-form-urlencoded"),l.onreadystatechange=function(){if(4==l.readyState&&200==l.status){var a="wfu_ajax_action_download_file_monitor:",d=l.responseText.indexOf(a);-1==d&&(d=l.responseText.length);var n=(l.responseText.substr(0,d),l.responseText.substr(d+a.length,l.responseText.length-d-a.length));d=n.indexOf(":");var r=n.substr(0,d);if(txt_value=n.substr(d+1,n.length-d-1),"repeat"!=r){var u=document.getElementById("wfu_file_download_container_"+t);u.innerHTML=""}else"repeat"==r&&setTimeout("wfu_download_file_monitor('"+e+"', "+t+", '"+txt_value+"')",100)}},l.send(n)}}function wfu_filedetails_userdata_changed(){for(var e,t,a=document.getElementsByName("wfu_filedetails_userdata"),l=!1,d=0;d<a.length;d++)if(e=document.getElementById(a[d].id.replace("wfu_filedetails_userdata_value_","wfu_filedetails_userdata_default_")),t=document.getElementById(a[d].id.replace("wfu_filedetails_userdata_value_","wfu_filedetails_userdata_")),t.value=a[d].value,a[d].value!=e.value){l=!0;break}document.getElementById("dp_filedetails_submit_fields").disabled=!l}function wfu_Attach_FileDetails_Admin_Events(){for(var e=document.getElementsByName("wfu_filedetails_userdata"),t=0;t<e.length;t++)wfu_attach_element_handlers(e[t],wfu_filedetails_userdata_changed)}function wfu_update_browserpermission_option(e,t){var a=document.getElementById("wfu_fbperm_users"),l=document.getElementById("wfu_fbperm_roles"),d=document.getElementById("wfu_fbperm_"+e+"_"+t+"_view"),n=document.getElementById("wfu_fbperm_"+e+"_"+t+"_dl"),r=document.getElementById("wfu_fbperm_"+e+"_"+t+"_edit"),u=document.getElementById("wfu_fbperm_"+e+"_"+t+"_del");if("role"==e){if("0"==t){n.checked=d.checked&&n.checked,r.checked=d.checked&&r.checked,u.checked=d.checked&&u.checked,n.disabled=!d.checked,r.disabled=!d.checked,u.disabled=!d.checked;for(var o=l.value.split(","),_=0;_<o.length;_++){var s=o[_].indexOf("["),c=o[_].substr(0,s);"0"!=c&&wfu_update_browserpermission_option("role",c)}var f=(d.checked?"v":"")+(n.checked?"d":"")+(r.checked?"e":"")+(u.checked?"l":"");l.value=l.value.replace(/^0\[\w*\]/,"0["+f+"]")}else if("administrator"!=t){var i=document.getElementById("wfu_fbperm_role_"+t+"_row"),m=document.getElementById("wfu_fbperm_role_"+t+"_def"),p=document.getElementById("wfu_fbperm_role_0_view"),w=document.getElementById("wfu_fbperm_role_0_dl"),g=document.getElementById("wfu_fbperm_role_0_edit"),v=document.getElementById("wfu_fbperm_role_0_del");d.checked=m.checked?p.checked:d.checked,i.style.fontWeight=m.checked?"":"bold",n.checked=m.checked?w.checked:d.checked&&n.checked,r.checked=m.checked?g.checked:d.checked&&r.checked,u.checked=m.checked?v.checked:d.checked&&u.checked,d.disabled=m.checked,n.disabled=m.checked||!d.checked,r.disabled=m.checked||!d.checked,u.disabled=m.checked||!d.checked;var f=m.checked?"":"D"+(d.checked?"v":"")+(n.checked?"d":"")+(r.checked?"e":"")+(u.checked?"l":"");l.value=l.value.replace(new RegExp(","+t+"\\[\\w*\\]"),","+t+"["+f+"]")}for(var b=a.value.split(","),_=0;_<b.length;_++){var s=b[_].indexOf("["),h=b[_].substr(0,s);"0"!=h&&wfu_update_browserpermission_option("user",h)}}else if("user"==e){var y=document.getElementById("wfu_fbperm_user_"+t+"_role");if("0"==t){d.checked=y.checked?!1:d.checked,n.checked=y.checked?!1:d.checked&&n.checked,r.checked=y.checked?!1:d.checked&&r.checked,u.checked=y.checked?!1:d.checked&&u.checked,d.disabled=y.checked,n.disabled=y.checked||!d.checked,r.disabled=y.checked||!d.checked,u.disabled=y.checked||!d.checked,d.indeterminate=y.checked,n.indeterminate=y.checked,r.indeterminate=y.checked,u.indeterminate=y.checked;for(var b=a.value.split(","),_=0;_<b.length;_++){var s=b[_].indexOf("["),h=b[_].substr(0,s);"0"!=h&&wfu_update_browserpermission_option("user",h)}var f=y.checked?"":"R"+(d.checked?"v":"")+(n.checked?"d":"")+(r.checked?"e":"")+(u.checked?"l":"");a.value=a.value.replace(/^0\[\w*\]/,"0["+f+"]")}else{var I=document.getElementById("wfu_fbperm_user_"+t+"_roles").value.split(",");if(1==I.length&&""==I[0]&&(I=Array()),I.indexOf("administrator")<0){var i=document.getElementById("wfu_fbperm_user_"+t+"_row"),m=document.getElementById("wfu_fbperm_user_"+t+"_def"),E=document.getElementById("wfu_fbperm_user_0_role"),p=document.getElementById("wfu_fbperm_user_0_view"),w=document.getElementById("wfu_fbperm_user_0_dl"),g=document.getElementById("wfu_fbperm_user_0_edit"),v=document.getElementById("wfu_fbperm_user_0_del");if(I.length>0)for(var B=!1,k=!1,x=!1,N=!1,_=0;_<I.length;_++)B=B||document.getElementById("wfu_fbperm_role_"+I[_]+"_view").checked,k=B&&(k||document.getElementById("wfu_fbperm_role_"+I[_]+"_dl").checked),x=B&&(x||document.getElementById("wfu_fbperm_role_"+I[_]+"_edit").checked),N=B&&(N||document.getElementById("wfu_fbperm_role_"+I[_]+"_del").checked);else var B=document.getElementById("wfu_fbperm_role_0_view"),k=document.getElementById("wfu_fbperm_role_0_dl"),x=document.getElementById("wfu_fbperm_role_0_edit"),N=document.getElementById("wfu_fbperm_role_0_del");i.style.fontWeight=m.checked?"":"bold",y.checked=m.checked?E.checked:y.checked,d.checked=m.checked?E.checked?B:p.checked:y.checked?B:d.checked,n.checked=m.checked?E.checked?k:w.checked:y.checked?k:d.checked&&n.checked,r.checked=m.checked?E.checked?x:g.checked:y.checked?x:d.checked&&r.checked,u.checked=m.checked?E.checked?N:v.checked:y.checked?N:d.checked&&u.checked,y.disabled=m.checked,d.disabled=m.checked||y.checked,n.disabled=m.checked||y.checked||!d.checked,r.disabled=m.checked||y.checked||!d.checked,u.disabled=m.checked||y.checked||!d.checked;var f=m.checked?"":"D"+(y.checked?"":"R"+(d.checked?"v":"")+(n.checked?"d":"")+(r.checked?"e":"")+(u.checked?"l":""));a.value=a.value.replace(new RegExp(","+t+"\\[\\w*\\]"),","+t+"["+f+"]")}}}}var DraggedItem=null,ShortcodeNextSave=0,ShortcodeTimeOut=null,ShortcodeString="",Autosave=!1,PageObsolete=!1,PageUpdating=!1,CheckObsolescenceTimeOut=5e3;jQuery(document).ready(function(e){e(".wfu_color_field").wpColorPicker({change:function(e,t){e.target.value=t.color.toString(),"wfu_text_elements"==e.target.name?wfu_update_text_value(e):"wfu_triplecolor_elements"==e.target.name&&wfu_update_triplecolor_value(e)}})});
1
+ function wfu_admin_activate_tab(e){for(var t,a,l=document.getElementById("wfu_tab_container"),n=0;n<l.childNodes.length;n++)t=l.childNodes[n],1===t.nodeType&&(a=t.id.substr(8),t.className.indexOf("nav-tab-active")>-1&&(t.className="nav-tab",document.getElementById("wfu_container_"+a).style.display="none"));document.getElementById("wfu_tab_"+e).className="nav-tab nav-tab-active",document.getElementById("wfu_container_"+e).style.display="block"}function wfu_admin_onoff_clicked(e){var t=document.getElementById("wfu_attribute_"+e),a=document.getElementById("wfu_wrapper"),l=document.getElementsByClassName("wfu_shadow_"+e,"div",a),n=document.getElementsByClassName("wfu_shadow_"+e+"_inv","div",a),d="on"==t.className.substr(t.className.length-2);if(d=!d){document.getElementById("wfu_attribute_value_"+e).value="true",t.className="wfu_onoff_container_on";for(var r=0;r<l.length;r++)l[r].style.display="none";for(var r=0;r<n.length;r++)n[r].style.display="block"}else{document.getElementById("wfu_attribute_value_"+e).value="false",t.className="wfu_onoff_container_off";for(var r=0;r<l.length;r++)l[r].style.display="block";for(var r=0;r<n.length;r++)n[r].style.display="none"}wfu_generate_shortcode(),("userdata"==e||"formdata"==e)&&wfu_update_formfield_variables()}function wfu_admin_radio_clicked(e){var t=document.getElementsByName("wfu_radioattribute_"+e),a=document.getElementById("wfu_wrapper"),l=document.getElementsByClassName("wfu_shadow_"+e,"div",a),n=document.getElementsByClassName("wfu_shadow_"+e+"_inv","div",a),d="";for(o=0;o<t.length;o++)t[o].checked&&(d=t[o].value);var r="*"==d.substr(0,1);if(r){d=d.substr(1);for(var o=0;o<l.length;o++)l[o].style.display="none";for(var o=0;o<n.length;o++)n[o].style.display="block"}else{for(var o=0;o<l.length;o++)l[o].style.display="block";for(var o=0;o<n.length;o++)n[o].style.display="none"}document.getElementById("wfu_attribute_value_"+e).value=d,wfu_generate_shortcode()}function wfu_addEventHandler(e,t,a){e.addEventListener?e.addEventListener(t,a,!1):e.attachEvent?e.attachEvent("on"+t,a):e["on"+t]=a}function wfu_attach_separator_dragdrop_events(){for(var e,t=document.getElementById("wfu_placements_container"),a=0;a<t.childNodes.length;a++)e=t.childNodes[a],("wfu_component_separator_hor"==e.className||"wfu_component_separator_ver"==e.className)&&(wfu_addEventHandler(e,"dragenter",wfu_separator_dragenter),wfu_addEventHandler(e,"dragover",wfu_default_dragover),wfu_addEventHandler(e,"dragleave",wfu_separator_dragleave),wfu_addEventHandler(e,"drop",wfu_separator_drop))}function wfu_Attach_Admin_DragDrop_Events(){if(window.FileReader){var e=document.getElementById("wfu_placements_container");if(e){for(var t,a=document.getElementById("wfu_componentlist_container"),l=0;l<e.childNodes.length;l++)t=e.childNodes[l],"wfu_component_box"==t.className&&(wfu_addEventHandler(t,"dragstart",wfu_component_dragstart),wfu_addEventHandler(t,"dragend",wfu_component_dragend));for(var l=0;l<a.childNodes.length;l++)if(t=a.childNodes[l],"wfu_component_box_container"==t.className)for(var n=0;n<t.childNodes.length;n++)"wfu_component_box wfu_inbase"==t.childNodes[n].className&&(wfu_addEventHandler(t.childNodes[n],"dragstart",wfu_component_dragstart),wfu_addEventHandler(t.childNodes[n],"dragend",wfu_component_dragend));t=document.getElementById("wfu_componentlist_dragdrop"),wfu_addEventHandler(t,"dragenter",wfu_componentlist_dragenter),wfu_addEventHandler(t,"dragover",wfu_default_dragover),wfu_addEventHandler(t,"dragleave",wfu_componentlist_dragleave),wfu_addEventHandler(t,"drop",wfu_componentlist_drop),wfu_attach_separator_dragdrop_events()}}}function wfu_componentlist_dragenter(e){if(e=e||window.event,e.preventDefault&&e.preventDefault(),!DraggedItem)return!1;var t=document.getElementById("wfu_componentlist_dragdrop");return-1==t.className.indexOf("wfu_componentlist_dragdrop_dragover")&&(t.className+=" wfu_componentlist_dragdrop_dragover"),!1}function wfu_componentlist_dragleave(e){if(e=e||window.event,e.preventDefault&&e.preventDefault(),!DraggedItem)return!1;var t=document.getElementById("wfu_componentlist_dragdrop");return t.className=t.className.replace(" wfu_componentlist_dragdrop_dragover",""),!1}function wfu_componentlist_drop(e){e=e||window.event,e.preventDefault&&e.preventDefault();var t=e.dataTransfer.getData("Component");if(!t)return!1;var a=t.split("_"),l=a[0],n=parseInt(a[1]),d=document.getElementById("wfu_component_box_"+l+"_"+n);0==n?(d.className="wfu_component_box wfu_inbase",d.style.display="block",document.getElementById("wfu_component_box_container_"+l).appendChild(d)):d.parentNode.removeChild(d);var r=wfu_admin_recreate_placements_text(null,"");return wfu_admin_recreate_placements_panel(r),document.getElementById("wfu_attribute_value_placements").value=r,wfu_update_multiplacement_attributes(),wfu_generate_shortcode(),!1}function wfu_separator_dragenter(e){if(e=e||window.event,e.preventDefault&&e.preventDefault(),!DraggedItem)return!1;if("wfu_component_separator_hor"==e.target.className){var t=document.getElementById("wfu_component_bar_hor");t.style.top=e.target.offsetTop+"px",t.style.display="block"}else if("wfu_component_separator_ver"==e.target.className){var t=document.getElementById("wfu_component_bar_ver");t.style.top=e.target.offsetTop+"px",t.style.left=e.target.offsetLeft+"px",t.style.display="block"}return!1}function wfu_default_dragover(e){return e=e||window.event,e.preventDefault&&e.preventDefault(),!1}function wfu_separator_dragleave(e){if(e=e||window.event,e.preventDefault&&e.preventDefault(),!DraggedItem)return!1;if("wfu_component_separator_hor"==e.target.className){var t=document.getElementById("wfu_component_bar_hor");t.style.display="none"}else if("wfu_component_separator_ver"==e.target.className){var t=document.getElementById("wfu_component_bar_ver");t.style.display="none"}return!1}function wfu_separator_drop(e){e=e||window.event,e.preventDefault&&e.preventDefault();var t=e.dataTransfer.getData("Component");if(!t)return!1;var a=t.split("_"),l=a[0],n=parseInt(a[1]),d=document.getElementById("wfu_component_box_"+l+"_"+n);d.style.display="none",d.className="wfu_component_box wfu_inbase",document.getElementById("wfu_component_box_container_"+l).appendChild(d);var r=wfu_admin_recreate_placements_text(e.target,l);return wfu_admin_recreate_placements_panel(r),document.getElementById("wfu_attribute_value_placements").value=r,wfu_update_multiplacement_attributes(),wfu_generate_shortcode(),!1}function wfu_component_dragstart(e){e=e||window.event,e.dataTransfer.setData("Component",e.target.id.replace("wfu_component_box_","")),-1==e.target.className.indexOf("wfu_component_box_dragged")&&(e.target.className+=" wfu_component_box_dragged",DraggedItem=e.target),e.target.style.zIndex=3;var t=document.getElementById("wfu_componentlist_dragdrop");return t.className="wfu_componentlist_dragdrop wfu_componentlist_dragdrop_dragover",t.style.display="block",!1}function wfu_component_dragend(e){e=e||window.event,DraggedItem=null,e.target.style.zIndex=1;var t=document.getElementById("wfu_componentlist_dragdrop");return t.style.display="none",t.className="wfu_componentlist_dragdrop",e.target.className=e.target.className.replace(" wfu_component_box_dragged",""),document.getElementById("wfu_component_bar_ver").style.display="none",document.getElementById("wfu_component_bar_hor").style.display="none",!1}function wfu_admin_recreate_placements_text(e,t){function a(e){""!=d&&(d+=n),d+=e,n=""}for(var l=document.getElementById("wfu_placements_container"),n="",d="",r=0;r<l.childNodes.length;r++)item=l.childNodes[r],"wfu_component_separator_ver"==item.className?(""==n&&(n="+"),item==e&&(a(t),n="+")):"wfu_component_separator_hor"==item.className?(n="/",item==e&&(a(t),n="/")):"wfu_component_box"==item.className&&a(item.id.replace("wfu_component_box_","").replace(/_.*$/,""));return d}function wfu_admin_recreate_placements_panel(e){for(var t,a,l,n,d,r,o,u=document.getElementById("wfu_placements_container"),_="",s=0;s<u.childNodes.length;s++)t=u.childNodes[s],"wfu_component_box"==t.className&&(n=t.id.replace("wfu_component_box_",""),d=n.split("_"),_=d[0],r=parseInt(d[1]),0==r?(t.style.display="inline-block",t.className="wfu_component_box wfu_inbase",document.getElementById("wfu_component_box_container_"+_).appendChild(t)):t.parentNode.removeChild(t));for(var i=document.querySelectorAll("div.wfu_component_box_container"),f={},s=0;s<i.length;s++)_=i[s].id.replace("wfu_component_box_container_",""),f[_]=0,o=document.querySelector("div#"+i[s].id+" div.wfu_component_box_index"),o&&(o.innerHTML="1");u.innerHTML="",a=e.split("/");for(var s=0;s<a.length;s++){t=document.createElement("DIV"),t.className="wfu_component_separator_hor",t.setAttribute("draggable",!0),u.appendChild(t),t=document.createElement("DIV"),t.className="wfu_component_separator_ver",t.setAttribute("draggable",!0),u.appendChild(t),l=a[s].split("+");for(var c=0;c<l.length;c++)t=document.querySelector("div#wfu_component_box_container_"+l[c]+" div.wfu_component_box.wfu_inbase"),t&&(n=t.id.replace("wfu_component_box_",""),d=n.split("_"),_=d[0],r=parseInt(d[1]),0==r?u.appendChild(t):(f[_]++,t.id="wfu_component_box_"+_+"_"+(f[_]+1).toString(),t.style.display="block",o=document.querySelector("div#"+t.id+" div.wfu_component_box_index"),o.innerHTML=(f[_]+1).toString(),t=t.cloneNode(!0),u.appendChild(t),t.id="wfu_component_box_"+_+"_"+f[_].toString(),o=document.querySelector("div#"+t.id+" div.wfu_component_box_index"),o.innerHTML=f[_].toString(),wfu_addEventHandler(t,"dragstart",wfu_component_dragstart),wfu_addEventHandler(t,"dragend",wfu_component_dragend)),t.className="wfu_component_box",t.style.display="inline-block",t=document.createElement("DIV"),t.className="wfu_component_separator_ver",t.setAttribute("draggable",!0),u.appendChild(t))}t=document.createElement("DIV"),t.className="wfu_component_separator_hor",t.setAttribute("draggable",!0),u.appendChild(t),t=document.createElement("DIV"),t.id="wfu_component_bar_hor",t.className="wfu_component_bar_hor",u.appendChild(t),t=document.createElement("DIV"),t.id="wfu_component_bar_ver",t.className="wfu_component_bar_ver",u.appendChild(t),wfu_attach_separator_dragdrop_events()}function wfu_update_multiplacement_attributes(){for(var e=document.querySelectorAll("div.wfu_component_box_container"),t=0;t<e.length;t++){itemname=e[t].id.replace("wfu_component_box_container_","");var a=document.querySelector("div#"+e[t].id+" div.wfu_component_box_index");if(a)for(var l=Math.max(1,parseInt(a.innerHTML)-1),n=document.getElementsByName("wfu_attribute_governor_"+itemname),d=0;d<n.length;d++)wfu_update_multiplacement_attribute(n[d].value,l)}}function wfu_update_multiplacement_attribute(e,t){if("userdatalabel"==e){var a=document.querySelectorAll("div.wfu_formdata_container"),l=a.length;if(1>l)return;for(var n,d,r=a[0],o=2;o<=Math.max(l,t);){if(o>l){var u=e+o.toString();for(n=r.parentNode;null!=n&&"TR"!=n.tagName;)n=n.parentNode;if(null==n||"TR"!=n.tagName)return;d=n.cloneNode(!0),d.id="tr_"+wfu_randomString(4),n.parentNode.appendChild(d);var _=document.querySelector("tr#"+d.id+' label[for="wfu_attribute_'+e+'"]');_.setAttribute("for","wfu_attribute_"+u),_.innerHTML+=" ("+o.toString()+")",_=document.querySelector("tr#"+d.id+" input.wfu_attribute_governor"),_.setAttribute("name","wfu_attribute_governor_independent"),_.value=u,_=document.querySelector("tr#"+d.id+" div.wfu_formdata_container"),_.id+=o.toString();var s=document.getElementById("wfu_attribute_default_"+u);s||(s=document.createElement("INPUT"),s.id="wfu_attribute_default_"+u,s.type="hidden",s.value=document.getElementById("wfu_attribute_default_"+e).value,document.getElementById("wfu_attribute_defaults").appendChild(s));var i=document.getElementById("wfu_attribute_value_"+u);i||(i=document.createElement("INPUT"),i.id="wfu_attribute_value_"+u,i.type="hidden",i.value=s.value,document.getElementById("wfu_attribute_values").appendChild(i)),window["wfu_attribute_"+u+"_formtemplate"]=window["wfu_attribute_"+e+"_formtemplate"],window["wfu_attribute_"+u+"_typeprops"]=window["wfu_attribute_"+e+"_typeprops"],wfu_apply_value(u,"formfields",i.value)}else if(o>t){for(d=a[o-1].parentNode;null!=d&&"TR"!=d.tagName;)d=d.parentNode;if(null==d||"TR"!=d.tagName)return;d.parentNode.removeChild(d),wfu_update_formfield_variables()}o++}}}function wfu_subfolders_input_changed(e){e=e||window.event;var t=e.target,a=t.id.replace("wfu_subfolders_path_","");a=a.replace("wfu_subfolders_label_","");var l=document.getElementById("wfu_attribute_"+a);if(!(l.selectedIndex<0)){var n,d,r=document.getElementById("wfu_subfolders_path_"+a),o=document.getElementById("wfu_subfolders_label_"+a),u=document.getElementById("wfu_subfolders_ok_"+a),_="1"==document.getElementById("wfu_subfolders_isnewitem_"+a).value;if(_)n="",d="";else{var s=l.data;t=s[l.selectedIndex],n=t.path,d=t.label}if(r.value==n&&o.value==d)u.disabled=!0,_||wfu_subfolders_update_nav(a);else{u.disabled=!1;for(var i=document.getElementsByName("wfu_subfolder_nav_"+a),f=0;f<i.length;f++)i[f].disabled=!0}}}function wfu_subfolders_auto_changed(e){var t=document.getElementById("wfu_attribute_"+e),a=document.getElementById("wfu_subfolders_auto_"+e),l=document.getElementById("wfu_subfolders_editable_"+e),n=document.getElementById("wfu_subfolders_manualtext_"+e);if(a.checked){var d=document.getElementById("wfu_attribute_value_"+e).value;"auto"!=d.substr(0,4)&&(n.value=d),l.parentNode.style.display="inline",wfu_apply_value(e,"folderlist","auto"+(l.checked?"+":"")),t.disabled=!0}else t.disabled=!1,l.parentNode.style.display="none",wfu_apply_value(e,"folderlist",n.value)}function wfu_subfolders_up_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=t.data;item=a[t.selectedIndex];var l=item.index-1;if(!(0>l)){for(var n=-1,d=t.selectedIndex-1;d>=0;){if(a[d].level==item.level&&a[d].index==l){n=d;break}d--}if(-1!=n){var r=0;for(d=t.selectedIndex+1;d<a.length&&a[d].level>item.level;)r++,d++;a[n].index=item.index,item.index=l,t.data=a.slice(0,n).concat(a.slice(t.selectedIndex,t.selectedIndex+1+r)).concat(a.slice(n,t.selectedIndex)).concat(a.slice(t.selectedIndex+1+r));var o=wfu_update_subfolder_list(e);t.selectedIndex=n,wfu_subfolders_update_toolnav(e),item=t,o!==item.oldVal&&(item.oldVal=o,document.getElementById("wfu_attribute_value_"+e).value=o,wfu_generate_shortcode())}}}}function wfu_subfolders_down_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=t.data;item=a[t.selectedIndex];var l=item.index+1,n=-1;for(curind=t.selectedIndex+1;curind<a.length;){if(a[curind].level==item.level){n=curind;break}if(a[curind].level<item.level)break;curind++}if(-1!=n){var d=0;for(curind=n+1;curind<a.length&&a[curind].level>item.level;)d++,curind++;a[n].index=item.index,item.index=l,t.data=a.slice(0,t.selectedIndex).concat(a.slice(n,n+1+d)).concat(a.slice(t.selectedIndex,n)).concat(a.slice(n+1+d));var r=wfu_update_subfolder_list(e);t.selectedIndex=t.selectedIndex+d+1,wfu_subfolders_update_toolnav(e),item=t,r!==item.oldVal&&(item.oldVal=r,document.getElementById("wfu_attribute_value_"+e).value=r,wfu_generate_shortcode())}}}function wfu_subfolders_left_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=t.data;for(item=a[t.selectedIndex],curind=t.selectedIndex+1;curind<a.length&&a[curind].level>item.level;)a[curind].level--,curind++;item.level--;var l=wfu_update_subfolder_list(e);t.data=wfu_decode_subfolder_list(e),wfu_subfolders_update_toolnav(e),item=t,l!==item.oldVal&&(item.oldVal=l,document.getElementById("wfu_attribute_value_"+e).value=l,wfu_generate_shortcode())}}function wfu_subfolders_right_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=t.data;for(item=a[t.selectedIndex],curind=t.selectedIndex+1;curind<a.length&&a[curind].level>item.level;)a[curind].level++,curind++;item.level++;var l=wfu_update_subfolder_list(e);t.data=wfu_decode_subfolder_list(e),wfu_subfolders_update_toolnav(e),item=t,l!==item.oldVal&&(item.oldVal=l,document.getElementById("wfu_attribute_value_"+e).value=l,wfu_generate_shortcode())}}function wfu_subfolders_def_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=t.data;if(item=a[t.selectedIndex],item["default"])item["default"]=!1;else{for(var l=0;l<a.length;l++)a[l]["default"]=!1;item["default"]=!0}var n=wfu_update_subfolder_list(e);wfu_subfolders_update_toolnav(e),item=t,n!==item.oldVal&&(item.oldVal=n,document.getElementById("wfu_attribute_value_"+e).value=n,wfu_generate_shortcode())}}function wfu_subfolders_ok_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=document.getElementById("wfu_subfolders_path_"+e),l=document.getElementById("wfu_subfolders_label_"+e);if(""==a.value||""==l.value)return void alert("Path or label cannot be empty!");var n=t.data,d="1"==document.getElementById("wfu_subfolders_isnewitem_"+e).value;if(d){var r=parseInt(document.getElementById("wfu_subfolders_newitemlevel_"+e).value),o={label:l.value,path:a.value,level:r,"default":!1},u=parseInt(document.getElementById("wfu_subfolders_newitemindex_"+e).value);u>=n.length?n.push(o):n.splice(u,0,o)}else item=n[t.selectedIndex],item.path=a.value,item.label=l.value;var _=wfu_update_subfolder_list(e);t.data=wfu_decode_subfolder_list(e),wfu_subfolders_update_toolnav(e),item=t,_!==item.oldVal&&(item.oldVal=_,document.getElementById("wfu_attribute_value_"+e).value=_,wfu_generate_shortcode())}}function wfu_subfolders_del_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=t.data;item=a[t.selectedIndex];var l=0;for(curind=t.selectedIndex+1;curind<a.length&&a[curind].level>item.level;)l++,curind++;if(!(l>0)||confirm("Children items will be deleted as well. Proceed?")){a.splice(t.selectedIndex,1+l);var n=wfu_update_subfolder_list(e);t.data=wfu_decode_subfolder_list(e),wfu_subfolders_update_toolnav(e),item=t,n!==item.oldVal&&(item.oldVal=n,document.getElementById("wfu_attribute_value_"+e).value=n,wfu_generate_shortcode())}}}function wfu_subfolders_add_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=t.data,l=t.selectedIndex;item=a[l];var n=t.options,d=document.createElement("option");d.value="",d.innerHTML="",n.add(d,l),t.selectedIndex=l;var r=document.getElementById("wfu_subfolder_tools_"+e),o=document.getElementById("wfu_subfolders_path_"+e),u=document.getElementById("wfu_subfolders_label_"+e),_=document.getElementById("wfu_subfolders_ok_"+e),s=document.getElementById("wfu_subfolders_browse_"+e);r.className="wfu_subfolder_tools_container",u.disabled=!1,_.disabled=!0,document.getElementById("wfu_subfolders_isnewitem_"+e).value="1",document.getElementById("wfu_subfolders_newitemindex_"+e).value=l,document.getElementById("wfu_subfolders_newitemlevel_"+e).value=item.level,document.getElementById("wfu_subfolders_newitemlevel2_"+e).value="",o.disabled=0==item.level,s.disabled=0==item.level,0==item.level?(o.value="{root}",u.value="{upload folder}"):(o.value="",u.value="");for(var i=document.getElementsByName("wfu_subfolder_nav_"+e),f=0;f<i.length;f++)i[f].disabled=!0}}function wfu_subfolders_browse_clicked(e){var t=wfu_GetHttpRequestObject();if(null!=t){var a=null;try{var a=new FormData}catch(l){}if(null!=a){for(var n=document.getElementById("wfu_global_dialog_container"),d=document.getElementById("wfu_subfolders_browser_"+e),r=document.getElementById("wfu_subfolders_browse_"+e),o=document.getElementById("wfu_subfolders_inner_shadow_"+e),u=document.getElementById("wfu_subfolders_browser_msgcont_"+e),_=document.getElementById("wfu_subfolders_browser_msg_"+e),s=document.getElementById("wfu_subfolders_browser_img_"+e),i=document.getElementById("wfu_subfolders_browser_ok_"+e),f=document.getElementById("wfu_subfolders_browser_list_"+e);f.options.length>0;)f.options.remove(0);i.disabled=!0,i.onclick=function(){wfu_folder_browser_cancel_clicked(e)},_.innerHTML="loading folder contents...",s.style.display="inline",u.style.display="block",n.style.display="block",d.style.display="block",d.style.left=r.offsetLeft+r.offsetWidth-d.offsetWidth+"px",d.style.top=r.offsetTop+r.offsetHeight-d.offsetHeight+"px",o.style.display="block",n.onclick=function(){wfu_folder_browser_cancel_clicked(e)};var c=document.getElementById("wfu_attribute_uploadpath").value;"/"==c.substr(c.length-1)&&(c=c.substr(0,c.length-1));var m=wfu_get_relative_path(e).split(","),p=c+m[0];"/"!=p.substr(0)&&(p="/"+p);var w="";2==m.length&&(w=m[1]),a.append("action","wfu_ajax_action_read_subfolders"),a.append("folder1",wfu_plugin_encode_string(p)),a.append("folder2",wfu_plugin_encode_string(w)),t.key=e,t.addEventListener("load",wfu_readfolderComplete,!1),t.addEventListener("error",wfu_readfolderFailed,!1),t.addEventListener("abort",wfu_readfolderCanceled,!1),t.open("POST",AdminParams.wfu_ajax_url),t.send(a)}}}function wfu_readfolderComplete(e){var t=e.target.key,a=document.getElementById("wfu_subfolders_browser_msgcont_"+t),l=document.getElementById("wfu_subfolders_browser_msg_"+t),n=document.getElementById("wfu_subfolders_browser_img_"+t),d=document.getElementById("wfu_subfolders_browser_list_"+t),r=document.getElementById("wfu_subfolders_browser_ok_"+t),o=document.getElementById("wfu_subfolders_path_"+t),u=document.getElementById("wfu_subfolders_label_"+t),_=e.target.responseText;if(-1!=_){var s="wfu_read_subfolders:",i=e.target.responseText.indexOf(s);-1==i&&(i=e.target.responseText.length);var f=(e.target.responseText.substr(0,i),e.target.responseText.substr(i+s.length,e.target.responseText.length-i-s.length));i=f.indexOf(":");var c=f.substr(0,i);if(txt_value=f.substr(i+1,f.length-i-1),"success"==c){for(var m,p=wfu_plugin_decode_string(txt_value),w=p.split(","),g=0,v=0;v<w.length;v++)""!=w[v]&&(m=document.createElement("option"),m.value=w[v],m.innerHTML=w[v].replace("*","&nbsp;&nbsp;&nbsp;"),d.add(m),g++);0==g&&(m=document.createElement("option"),m.value="",m.innerHTML="{empty}",m.disabled=!0,d.add(m)),d.selectedIndex=-1,r.onclick=function(){var e=d.options[d.selectedIndex].value,a=parseInt(document.getElementById("wfu_subfolders_newitemlevel_"+t).value);("*"==e.substr(0,1)||0==a)&&(document.getElementById("wfu_subfolders_newitemlevel_"+t).value=a+1,a>0&&(e=e.substr(1))),o.value=e,u.value=e,wfu_folder_browser_cancel_clicked(t),wfu_subfolders_ok_clicked(t)},a.style.display="none"}else"error"==c?(l.innerHTML=txt_value,n.style.display="none",r.disabled=!1):(l.innerHTML="Unknown error",n.style.display="none",r.disabled=!1)}}function wfu_readfolderFailed(e){var t=e.target.key,a=document.getElementById("wfu_subfolders_browser_msg_"+t),l=document.getElementById("wfu_subfolders_browser_img_"+t),n=document.getElementById("wfu_subfolders_browser_ok_"+t);a.innerHTML="Unknown error",l.style.display="none",n.disabled=!1}function wfu_readfolderCanceled(e){var t=e.target.key,a=document.getElementById("wfu_subfolders_browser_msg_"+t),l=document.getElementById("wfu_subfolders_browser_img_"+t),n=document.getElementById("wfu_subfolders_browser_ok_"+t);a.innerHTML="Unknown error",l.style.display="none",n.disabled=!1}function wfu_subfolders_browser_list_changed(e){var t=document.getElementById("wfu_subfolders_browser_list_"+e),a=document.getElementById("wfu_subfolders_browser_ok_"+e);a.disabled=t.selectedIndex<0}function wfu_folder_browser_cancel_clicked(e){var t=document.getElementById("wfu_global_dialog_container"),a=document.getElementById("wfu_subfolders_browser_"+e),l=(document.getElementById("wfu_subfolders_browse_"+e),document.getElementById("wfu_subfolders_inner_shadow_"+e));t.onclick=null,l.style.display="none",a.style.display="none",t.style.display="none"}function wfu_get_relative_path(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a,l=t.data,n="1"==document.getElementById("wfu_subfolders_isnewitem_"+e).value;a=n?parseInt(document.getElementById("wfu_subfolders_newitemlevel_"+e).value):l[t.selectedIndex].level;for(var d="/",r=t.selectedIndex-1,o=a;r>=0&&o>1;)l[r].level<o&&(d="/"+l[r].path+d,o=l[r].level),r--;return n&&"1"==document.getElementById("wfu_subfolders_newitemlevel2_"+e).value&&a>0&&t.selectedIndex>0&&(d+=","+l[t.selectedIndex-1].path),d}}function wfu_subfolders_changed(e){wfu_update_subfolder_list(e),wfu_subfolders_update_toolnav(e)}function wfu_subfolders_update_toolnav(e){var t,a,l=document.getElementById("wfu_attribute_"+e),n=document.getElementById("wfu_subfolder_tools_"+e),d=document.getElementById("wfu_subfolders_path_"+e),r=document.getElementById("wfu_subfolders_label_"+e),o=document.getElementById("wfu_subfolders_ok_"+e),u=document.getElementById("wfu_subfolders_browse_"+e),_=document.getElementById("wfu_subfolders_auto_"+e);if(document.getElementById("wfu_subfolders_isnewitem_"+e).value="",document.getElementById("wfu_subfolders_newitemindex_"+e).value="",document.getElementById("wfu_subfolders_newitemlevel_"+e).value="",document.getElementById("wfu_subfolders_newitemlevel2_"+e).value="",null==l.data?(t=wfu_decode_subfolder_list(e),l.data=t):t=l.data,0===l.data.length?(l.className="wfu_select_folders wfu_select_folders_empty",l.options[0].innerHTML=_.checked?"":"press here"):l.className="wfu_select_folders",l.selectedIndex<0)n.className="wfu_subfolder_tools_container wfu_subfolder_tools_disabled",d.disabled=!0,r.disabled=!0,o.disabled=!0,u.disabled=!0,r.value="",d.value="";else if(l.selectedIndex>=l.options.length-1){n.className="wfu_subfolder_tools_container",r.disabled=!1,o.disabled=!0,document.getElementById("wfu_subfolders_isnewitem_"+e).value="1",document.getElementById("wfu_subfolders_newitemindex_"+e).value=t.length;var s;s=0==t.length?0:0==t[t.length-1].level?1:t[t.length-1].level,document.getElementById("wfu_subfolders_newitemlevel_"+e).value=s,document.getElementById("wfu_subfolders_newitemlevel2_"+e).value="1",d.disabled=0==s,u.disabled=!1,0==s?(d.value="{root}",r.value="{upload folder}"):(d.value="",r.value="")}else n.className="wfu_subfolder_tools_container",r.disabled=!1,o.disabled=!0,a=t[l.selectedIndex],d.disabled=0==a.level,u.disabled=0==a.level,r.value=a.label,d.value=a.path;var i=document.getElementsByName("wfu_subfolder_nav_"+e);if(l.selectedIndex<0||l.selectedIndex>=l.options.length-1)for(var f=0;f<i.length;f++)i[f].disabled=!0;else wfu_subfolders_update_nav(e)}function wfu_subfolders_update_nav(e){var t=document.getElementById("wfu_attribute_"+e),a=document.getElementById("wfu_subfolders_up_"+e),l=document.getElementById("wfu_subfolders_down_"+e),n=document.getElementById("wfu_subfolders_left_"+e),d=document.getElementById("wfu_subfolders_right_"+e),r=document.getElementById("wfu_subfolders_add_"+e),o=document.getElementById("wfu_subfolders_def_"+e),u=document.getElementById("wfu_subfolders_del_"+e),_=t.data,s=_[t.selectedIndex];for(a.disabled=s.index<=0,ind=t.selectedIndex+1,nextind=0;ind<_.length;){if(_[ind].level==s.level){nextind=_[ind].index;break}if(_[ind].level<s.level)break;ind++}l.disabled=0==s.level||0==nextind,n.disabled=0==t.selectedIndex&&s.level<1||t.selectedIndex>0&&s.level<=1,t.selectedIndex>=1?prevlevel=_[t.selectedIndex-1].level:prevlevel=0,d.disabled=s.level-prevlevel>0,r.disabled=0==s.level,o.disabled=!1,o.className="button"+(s["default"]?" wfu_subfolder_nav_pressed":""),u.disabled=!1}function wfu_decode_subfolder(e){var t={label:"",path:"",level:0,"default":!1};e=e.trim();for(var a=0,l=!1;a<e.length&&"*"==e.substr(a,1);)a++;e=e.substr(a,e.length-a),"&"==e.substr(0,1)&&(e=e.substr(1),l=!0),t.level=a,t["default"]=l;var n=e.split("/");return 1==n.length?(t.path=n[0],t.label=n[0]):n.length>1&&(t.path=n[0],t.label=n[1]),0==a&&(t.path="{root}",""==t.label&&(t.label="{upload folder}")),t}function wfu_decode_subfolder_list(e){for(var t,a=document.getElementById("wfu_attribute_"+e).options,l=Array(),n=["root"],d=[0],r=-1,o=0;o<a.length-1;o++){for(l.push(wfu_decode_subfolder(wfu_plugin_decode_string(a[o].value))),n.length>l[o].level?n[l[o].level]=l[o].path:n.push(l[o].path),t="",j=1;j<=l[o].level;j++)t+=n[j]+"/";l[o].fullpath=t,d.length<=l[o].level&&d.push(0),l[o].level>r?l[o].index=0:l[o].index=d[l[o].level]+1,d[l[o].level]=l[o].index,r=l[o].level}return l}function wfu_update_subfolder_list(e){var t=document.getElementById("wfu_attribute_"+e).options,a=document.getElementById("wfu_attribute_"+e),l=a.data;if(null!=l){var n,d,r="";t.length=l.length+1;for(var o=0;o<l.length;o++){for(n="",d="",j=0;j<l[o].level;j++)n+="*",d+="&nbsp;&nbsp;&nbsp;";l[o]["default"]?(n+="&",t[o].className="wfu_select_folders_option_default"):t[o].className="",n+=l[o].path+"/"+l[o].label,d+=l[o].label,t[o].value=wfu_plugin_encode_string(n),t[o].innerHTML=d,""!=r&&(r+=","),r+=n}return t[l.length].value="",t[l.length].innerHTML="",r}}function wfu_userdata_edit_field(e,t,a){for(var l,n=0;n<e.childNodes.length;n++)l=e.childNodes[n],"INPUT"==l.tagName?"text"==l.type?(l.value=t,wfu_attach_element_handlers(l,wfu_update_userfield_value)):"checkbox"==l.type&&(l.checked=a):"DIV"==l.tagName&&(l.className="wfu_userdata_action")}function wfu_formdata_edit_field(e,t,a){}function wfu_formdata_type_changed(e){var t=e.split("_"),a=t[0],l="wfu_formfield_"+e,n=(document.getElementById("wfu_attribute_"+a),document.getElementById(l+"_container")),d=window["wfu_attribute_"+a+"_typeprops"][document.getElementById(l+"_type").value],r={type:document.getElementById(l+"_type").value,label:document.getElementById(l+"_label").value,labelposition:document.getElementById(l+"_labelposition").value,required:"show"==d.required.substr(0,4)&&document.getElementById(l+"_required")?document.getElementById(l+"_required").checked:"true"==d.required.substr(5),donotautocomplete:"show"==d.donotautocomplete.substr(0,4)&&document.getElementById(l+"_donotautocomplete")?document.getElementById(l+"_donotautocomplete").checked:"true"==d.donotautocomplete.substr(5),validate:"show"==d.validate.substr(0,4)&&document.getElementById(l+"_validate")?document.getElementById(l+"_validate").checked:"true"==d.validate.substr(5),typehook:"show"==d.typehook.substr(0,4)&&document.getElementById(l+"_typehook")?document.getElementById(l+"_typehook").checked:"true"==d.typehook.substr(5),hintposition:"show"==d.hintposition.substr(0,4)&&document.getElementById(l+"_hintposition")?document.getElementById(l+"_hintposition").value:d.hintposition.substr(5),"default":"show"==d["default"].substr(0,4)&&document.getElementById(l+"_default")?document.getElementById(l+"_default").value:d["default"].substr(5),data:"show"==d.data.substr(0,4)&&document.getElementById(l+"_data")?document.getElementById(l+"_data").value:d.data.substr(5),group:"show"==d.group.substr(0,4)&&document.getElementById(l+"_group")?document.getElementById(l+"_group").value:d.group.substr(5),format:"show"==d.format.substr(0,4)&&document.getElementById(l+"_format")?document.getElementById(l+"_format").value:d.format.substr(5)},o=wfu_formdata_prepare_template(a,r,e);n.innerHTML=o;for(var u=document.querySelectorAll("div#"+l+'_container input[name="wfu_formfield_elements"]'),_=0;_<u.length;_++)wfu_attach_element_handlers(u[_],wfu_update_formfield_value);for(var s=document.querySelectorAll("div#wfu_attribute_"+a+" .wfu_formdata_action_remove"),_=0;_<s.length;_++)s[_].className="wfu_formdata_action wfu_formdata_action_remove"+(s.length>1?"":" wfu_formdata_action_disabled");wfu_update_formfield_value({target:n})}function wfu_userdata_add_field(e){var t=e.parentNode,a=t.cloneNode(!0);wfu_userdata_edit_field(a,"",!1),t.parentNode.insertBefore(a,t.nextSibling)}function wfu_formdata_add_field(e){var t=e.split("_"),a=t[0],l=(t[1],document.getElementById("wfu_attribute_"+a)),n=document.getElementById("wfu_formfield_"+e+"_container"),d=document.createElement("DIV"),r=a+"_"+wfu_randomString(4);d.id="wfu_formfield_"+r+"_container",d.className="wfu_formdata_line_container",l.insertBefore(d,n.nextSibling);var o={type:"text",label:"",labelposition:"left",required:!1,donotautocomplete:!1,validate:!1,"default":"",data:"",group:"",format:"",hintposition:"right",typehook:!1},u=wfu_formdata_prepare_template(a,o,r);
2
+ d.innerHTML=u;for(var _=document.querySelectorAll("div#wfu_formfield_"+r+'_container input[name="wfu_formfield_elements"]'),s=0;s<_.length;s++)wfu_attach_element_handlers(_[s],wfu_update_formfield_value);for(var i=document.querySelectorAll("div#wfu_attribute_"+a+" .wfu_formdata_action_remove"),s=0;s<i.length;s++)i[s].className="wfu_formdata_action wfu_formdata_action_remove"+(i.length>1?"":" wfu_formdata_action_disabled");wfu_update_formfield_value({target:d})}function wfu_formdata_prepare_template(e,t,a){var l=wfu_plugin_decode_string(window["wfu_attribute_"+e+"_formtemplate"]),n=window["wfu_attribute_"+e+"_typeprops"][t.type],d=window["wfu_attribute_"+e+"_typeprops"][0].split(","),r=["required","donotautocomplete","validate","typehook","labelposition","hintposition","default","data","group","format"],o=["none","top","right","bottom","left"],u=["none","inline","top","right","bottom","left"];l=l.replace(/\[\[key\]\]/g,a).replace(/\[\[t\]\]/g,t.type).replace(/\[\[label\]\]/g,t.label).replace(/\[\[s\]\]/g,t.labelposition).replace(/\[\[d\]\]/g,t["default"]).replace(/\[\[l\]\]/g,t.data).replace(/\[\[data_label\]\]/g,n.data_label).replace(/\[\[g\]\]/g,t.group).replace(/\[\[f\]\]/g,t.format).replace(/\[\[p\]\]/g,t.hintposition);for(var _=0;_<r.length;_++)l=l.replace(new RegExp("\\[\\["+r[_]+"_hint\\]\\]","g"),n[r[_]+"_hint"]);for(var _=0;_<d.length;_++)l=l.replace("[[type_"+d[_]+"_selected]]",d[_]==t.type?' selected="selected"':"");for(var _=0;_<o.length;_++)l=l.replace("[[labelposition_"+o[_]+"_selected]]",o[_]==t.labelposition?' selected="selected"':"");for(var _=0;_<u.length;_++)l=l.replace("[[hintposition_"+u[_]+"_selected]]",u[_]==t.hintposition?' selected="selected"':"");return l=l.replace("[[remove_disabled]]",""),l=t.required?l.replace(/\[\[r\-\>\]\]|\[\[\<\-r\]\]/g,""):l.replace(/\[\[r\-\>\]\].*\[\[\<\-r\]\]/g,""),l=t.donotautocomplete?l.replace(/\[\[a\-\>\]\]|\[\[\<\-a\]\]/g,""):l.replace(/\[\[a\-\>\]\].*\[\[\<\-a\]\]/g,""),l=t.validate?l.replace(/\[\[v\-\>\]\]|\[\[\<\-v\]\]/g,""):l.replace(/\[\[v\-\>\]\].*\[\[\<\-v\]\]/g,""),l=t.typehook?l.replace(/\[\[h\-\>\]\]|\[\[\<\-h\]\]/g,""):l.replace(/\[\[h\-\>\]\].*\[\[\<\-h\]\]/g,""),l="show"==n.required.substr(0,4)?l.replace(/\[\[R\-\>\]\]|\[\[\<\-R\]\]/g,""):l.replace(/\[\[R\-\>\]\][^]*\[\[\<\-R\]\]/g,""),l="show"==n.donotautocomplete.substr(0,4)?l.replace(/\[\[A\-\>\]\]|\[\[\<\-A\]\]/g,""):l.replace(/\[\[A\-\>\]\][^]*\[\[\<\-A\]\]/g,""),l="show"==n.validate.substr(0,4)?l.replace(/\[\[V\-\>\]\]|\[\[\<\-V\]\]/g,""):l.replace(/\[\[V\-\>\]\][^]*\[\[\<\-V\]\]/g,""),l="show"==n.hintposition.substr(0,4)?l.replace(/\[\[P\-\>\]\]|\[\[\<\-P\]\]/g,""):l.replace(/\[\[P\-\>\]\][^]*\[\[\<\-P\]\]/g,""),l="show"==n.typehook.substr(0,4)?l.replace(/\[\[H\-\>\]\]|\[\[\<\-H\]\]/g,""):l.replace(/\[\[H\-\>\]\][^]*\[\[\<\-H\]\]/g,""),l="show"==n["default"].substr(0,4)?l.replace(/\[\[D\-\>\]\]|\[\[\<\-D\]\]/g,""):l.replace(/\[\[D\-\>\]\][^]*\[\[\<\-D\]\]/g,""),l="show"==n.data.substr(0,4)?l.replace(/\[\[L\-\>\]\]|\[\[\<\-L\]\]/g,""):l.replace(/\[\[L\-\>\]\][^]*\[\[\<\-L\]\]/g,""),l="show"==n.group.substr(0,4)?l.replace(/\[\[G\-\>\]\]|\[\[\<\-G\]\]/g,""):l.replace(/\[\[G\-\>\]\][^]*\[\[\<\-G\]\]/g,""),l="show"==n.format.substr(0,4)?l.replace(/\[\[F\-\>\]\]|\[\[\<\-F\]\]/g,""):l.replace(/\[\[F\-\>\]\][^]*\[\[\<\-F\]\]/g,"")}function wfu_userdata_remove_field(e){for(var t=e.parentNode,a=t.parentNode,l=null,n=0;n<a.childNodes.length;n++)if(1===a.childNodes[n].nodeType){l=a.childNodes[n];break}if(t!=l){t.parentNode.removeChild(t);for(var n=0;n<l.childNodes.length;n++)if(1===l.childNodes[n].nodeType){wfu_update_userfield_value({target:l.childNodes[n]});break}}}function wfu_formdata_remove_field(e){var t=e.split("_"),a=t[0],l=document.querySelectorAll("div#wfu_attribute_"+a+" .wfu_formdata_line_container");if(!(l.length<2)){var n=document.getElementById("wfu_attribute_"+a),d=document.getElementById("wfu_formfield_"+e+"_container");n.removeChild(d),d=document.querySelector("div#wfu_attribute_"+a+" .wfu_formdata_line_container");for(var r=document.querySelectorAll("div#wfu_attribute_"+a+" .wfu_formdata_action_remove"),o=0;o<r.length;o++)r[o].className="wfu_formdata_action wfu_formdata_action_remove"+(r.length>1?"":" wfu_formdata_action_disabled");wfu_update_formfield_value({target:d})}}function wfu_generate_shortcode(){for(var e,t=document.getElementById("wfu_shortcode_tag").value,a=document.getElementById("wfu_attribute_defaults"),l=(document.getElementById("wfu_attribute_values"),""),n="",d="["+t,r="",o=0;o<a.childNodes.length;o++)e=a.childNodes[o],1===e.nodeType&&(l=e.id.replace("wfu_attribute_default_",""),n=document.getElementById("wfu_attribute_value_"+l).value,e.value!=n&&(r+=" "+l+'="'+n+'"'));d+=r+"]",document.getElementById("wfu_shortcode").value=d,ShortcodeString=r.substr(1),document.getElementById("wfu_update_shortcode")&&(document.getElementById("wfu_update_shortcode").disabled=wfu_plugin_encode_string(d)==document.getElementById("wfu_shortcode_original_enc").value),Autosave&&wfu_schedule_save_shortcode()}function wfu_update_text_value(e){e=e||window.event;var t=e.target,a=t.id.replace("wfu_attribute_",""),l=t.value;l=l.replace(/(\r\n|\n|\r)/gm,"%n%"),l=l.replace(/\"/gm,"%dq%"),l=l.replace(/\[/gm,"%brl%"),l=l.replace(/\]/gm,"%brr%"),l!==t.oldVal&&(t.oldVal=l,document.getElementById("wfu_attribute_value_"+a).value=l,wfu_generate_shortcode())}function wfu_update_date_value(e){e=e||window.event;var t=e.target,a=t.id.replace("wfu_attribute_",""),l=t.value;l!==t.oldVal&&(t.oldVal=l,document.getElementById("wfu_attribute_value_"+a).value=l,wfu_generate_shortcode())}function wfu_update_stringmatch_textvalue(e){e=e||window.event;var t=e.target,a=t.id.replace("wfu_attribute_","");a=a.replace("_matchfield","").replace("_matchvalue",""),wfu_update_stringmatch_value(a)}function wfu_update_triplecolor_value(e){e=e||window.event;var t=e.target,a=t.id.replace("wfu_attribute_","");a=a.replace("_color",""),a=a.replace("_bgcolor",""),a=a.replace("_borcolor",""),t=document.getElementById("wfu_attribute_"+a+"_color");var l=t.value+","+document.getElementById("wfu_attribute_"+a+"_bgcolor").value+","+document.getElementById("wfu_attribute_"+a+"_borcolor").value;l!==t.oldVal&&(t.oldVal=l,document.getElementById("wfu_attribute_value_"+a).value=l,wfu_generate_shortcode())}function wfu_update_dimension_value(e){e=e||window.event;var t=e.target,a=t.name.replace("wfu_dimension_elements_",""),l=document.getElementsByName(t.name);t=l[0];for(var n="",d="",r=0;r<l.length;r++)d=l[r].id.replace("wfu_attribute_"+a+"_",""),""!=n&&""!=l[r].value&&(n+=", "),""!=l[r].value&&(n+=d+":"+l[r].value);n!==t.oldVal&&(t.oldVal=n,document.getElementById("wfu_attribute_value_"+a).value=n,wfu_generate_shortcode())}function wfu_update_ptext_value(e){e=e||window.event;var t=e.target,a=t.id.replace("wfu_attribute_","");a=a.substr(2);var l=document.getElementById("wfu_attribute_s_"+a).value,n=document.getElementById("wfu_attribute_p_"+a).value,d=l+"/"+n;d!==t.oldVal&&(t.oldVal=d,document.getElementById("wfu_attribute_value_"+a).value=d),wfu_generate_shortcode()}function wfu_update_mchecklist_value(e){var t="",a=(document.getElementById("wfu_attribute_"+e),document.getElementById("wfu_attribute_"+e+"_all"));a.checked?(jQuery("#wfu_attribute_"+e+" input").prop("disabled",!0),jQuery("#wfu_attribute_"+e+" input").prop("checked",!0),t="all"):(jQuery("#wfu_attribute_"+e+" input").prop("disabled",!1),jQuery("#wfu_attribute_"+e+" input").each(function(){jQuery(this).prop("checked")&&(t+=","+jQuery(this).next().html())}),t=t.substr(1)),document.getElementById("wfu_attribute_value_"+e).value=t,wfu_generate_shortcode()}function wfu_update_rolelist_value(e){var t="",a=document.getElementById("wfu_attribute_"+e),l=document.getElementById("wfu_attribute_"+e+"_guests"),n=document.getElementById("wfu_attribute_"+e+"_all");if(n.checked)a.disabled=!0,t="all";else{a.disabled=!1;for(var d=a.options,r=0;r<d.length;r++)d[r].selected&&(""!=t&&(t+=","),t+=d[r].value)}l.checked&&(""!=t&&(t+=","),t+="guests"),document.getElementById("wfu_attribute_value_"+e).value=t,wfu_generate_shortcode()}function wfu_update_userlist_value(e){var t="",a=document.getElementById("wfu_attribute_"+e),l=document.getElementById("wfu_attribute_"+e+"_current"),n=document.getElementById("wfu_attribute_"+e+"_guests"),d=document.getElementById("wfu_attribute_"+e+"_all");if(l&&l.checked)a.disabled=!0,d.disabled=!0,n.disabled=!0,t="current";else{if(d.disabled=!1,n.disabled=!1,d.checked)a.disabled=!0,t="all";else{a.disabled=!1;for(var r=a.options,o=0;o<r.length;o++)r[o].selected&&(""!=t&&(t+=","),t+=r[o].value)}n.checked&&(""!=t&&(t+=","),t+="guests")}document.getElementById("wfu_attribute_value_"+e).value=t,wfu_generate_shortcode()}function wfu_update_postlist_value(e){for(var t="",a=Array(),l=Array(),n=document.getElementById("wfu_attribute_"+e+"_postlist").value.split(","),d=0;d<n.length;d++)a.push(document.getElementById("wfu_attribute_"+e+"_"+n[d])),l.push(document.getElementById("wfu_attribute_"+e+"_all_"+n[d]));var r=document.getElementById("wfu_attribute_"+e+"_current");if(r&&r.checked){for(var d=0;d<n.length;d++)a[d].disabled=!0,l[d].disabled=!0;t="current"}else{var o=!0;t="";for(var d=0;d<n.length;d++)if(l[d].disabled=!1,l[d].checked)a[d].disabled=!0,""!=t&&(t+=","),t+="all"+n[d];else{a[d].disabled=!1,o=!1;for(var u=a[d].options,_=0;_<u.length;_++)u[_].selected&&(""!=t&&(t+=","),t+=u[_].value)}o&&(t="all")}document.getElementById("wfu_attribute_value_"+e).value=t,wfu_generate_shortcode()}function wfu_update_bloglist_value(e){var t="",a=document.getElementById("wfu_attribute_"+e),l=document.getElementById("wfu_attribute_"+e+"_current"),n=document.getElementById("wfu_attribute_"+e+"_all");if(l&&l.checked)a.disabled=!0,n.disabled=!0,t="current";else if(n.disabled=!1,n.checked)a.disabled=!0,t="all";else{a.disabled=!1;for(var d=a.options,r=0;r<d.length;r++)d[r].selected&&(""!=t&&(t+=","),t+=d[r].value)}document.getElementById("wfu_attribute_value_"+e).value=t,wfu_generate_shortcode()}function wfu_update_stringmatch_value(e){var t=document.getElementById("wfu_attribute_"+e+"_matchfield").value,a=document.getElementById("wfu_attribute_"+e+"_matchcriterion").value,l=document.getElementById("wfu_attribute_"+e+"_matchvalue").value;t=t.replace(";",""),""==t.trim()?document.getElementById("wfu_attribute_value_"+e).value="":document.getElementById("wfu_attribute_value_"+e).value="field:"+t+";criterion:"+a+";value:"+l,wfu_generate_shortcode()}function wfu_update_userfield_value(e){e=e||window.event;for(var t=e.target,a=t.parentNode,l=a.parentNode,n="",d=!1,r="",o=0;o<l.childNodes.length;o++)if(a=l.childNodes[o],"DIV"===a.tagName){for(var u=0;u<a.childNodes.length;u++)"INPUT"==a.childNodes[u].tagName&&("text"==a.childNodes[u].type?(n=a.childNodes[u].value,0==o&&(t=a.childNodes[u])):"checkbox"==a.childNodes[u].type&&(d=a.childNodes[u].checked));""!=r&&""!=n&&(r+="/"),""!=n&&d&&(r+="*"),""!=n&&(r+=n)}r!==t.oldVal&&(t.oldVal=r,document.getElementById("wfu_attribute_value_userdatalabel").value=r,wfu_generate_shortcode(),wfu_update_formfield_variables())}function wfu_update_formfield_value(e){e=e||window.event;for(var t=e.target,a=t.id.match(/^wfu_formfield_(.*?)_/)[1],l=document.querySelectorAll("div#wfu_attribute_"+a+" .wfu_formdata_line_container"),n="",d=0;d<l.length;d++){var r="",o=l[d].id.match(/^wfu_formfield_.*?_(.*?)_/)[1],u=a+"_"+o,_=document.getElementById("wfu_formfield_"+u+"_label").value;if(""!=_.trim()){r=_.trim();var s=document.getElementById("wfu_formfield_"+u+"_type").value,i=window["wfu_attribute_"+a+"_typeprops"];r+="|t:"+s,r+="|s:"+document.getElementById("wfu_formfield_"+u+"_labelposition").value,"show"==i[s].required.substr(0,4)&&(r+="|r:"+(document.getElementById("wfu_formfield_"+u+"_required").checked?"1":"0")),"show"==i[s].donotautocomplete.substr(0,4)&&(r+="|a:"+(document.getElementById("wfu_formfield_"+u+"_donotautocomplete").checked?"1":"0")),"show"==i[s].validate.substr(0,4)&&(r+="|v:"+(document.getElementById("wfu_formfield_"+u+"_validate").checked?"1":"0")),"show"==i[s].typehook.substr(0,4)&&(r+="|h:"+(document.getElementById("wfu_formfield_"+u+"_typehook").checked?"1":"0")),"show"==i[s].hintposition.substr(0,4)&&(r+="|p:"+document.getElementById("wfu_formfield_"+u+"_hintposition").value),"show"==i[s]["default"].substr(0,4)&&(r+="|d:"+document.getElementById("wfu_formfield_"+u+"_default").value),"show"==i[s].data.substr(0,4)&&(r+="|l:"+document.getElementById("wfu_formfield_"+u+"_data").value),"show"==i[s].group.substr(0,4)&&(r+="|g:"+document.getElementById("wfu_formfield_"+u+"_group").value),"show"==i[s].format.substr(0,4)&&(r+="|f:"+document.getElementById("wfu_formfield_"+u+"_format").value)}""!=r&&(""!=n&&(n+="/"),n+=r)}n!==t.oldVal&&(t.oldVal=n,document.getElementById("wfu_attribute_value_"+a).value=n,wfu_generate_shortcode(),wfu_update_formfield_variables())}function wfu_update_formfield_variables(){var e=document.getElementById("wfu_attribute_value_userdatalabel");if(e){for(var t=document.getElementById("wfu_wrapper"),a=document.getElementsByClassName("wfu_shadow_userdata","div",t),l=document.getElementsByName("wfu_formfield_select"),n=0;n<l.length;n++)l[n].style.display="none";if(0!=a.length&&"block"!=a[0].style.display){for(var d='<option style="display:none;">%userdataXXX%</option>',r=e.value.replace(/\//g,"[/]").replace(/\(.*\)/,function(e){return e.replace(/\[\/\]/g,"/")}).split("[/]"),o=2;document.getElementById("wfu_attribute_userdatalabel"+o);){var u=document.getElementById("wfu_attribute_value_userdatalabel"+o).value.replace(/\//g,"[/]").replace(/\(.*\)/,function(e){return e.replace(/\[\/\]/g,"/")}).split("[/]");r=r.concat(u),o++}var _="",s=0;o=1;for(var n=0;n<r.length;n++)_=r[n],"*"==_[0]&&(_=_.substr(1)),s=_.indexOf("|"),s>-1&&(_=_.substr(0,s)),""!=_.trim()&&(d+='<option value="%userdata'+o+'%">'+o+": "+_.trim()+"</option>",o++);for(var n=0;n<l.length;n++)l[n].innerHTML=d,l[n].style.display="inline-block"}}}function wfu_attach_element_handlers(e,t){for(var a=["DOMAttrModified","textInput","input","change","keypress","paste","focus","propertychange"],l=0;l<a.length;l++)wfu_addEventHandler(e,a[l],t)}function wfu_Attach_Admin_Events(e){Autosave=e,wfu_generate_shortcode(),wfu_update_formfield_variables(),wfu_Attach_Admin_DragDrop_Events();for(var t=document.getElementsByName("wfu_text_elements"),a=0;a<t.length;a++)wfu_attach_element_handlers(t[a],wfu_update_text_value);for(var l=document.getElementsByName("wfu_ptext_elements"),a=0;a<l.length;a++)wfu_attach_element_handlers(l[a],wfu_update_ptext_value);for(var n=document.getElementsByName("wfu_stringmatch_elements"),a=0;a<n.length;a++)wfu_attach_element_handlers(n[a],wfu_update_stringmatch_textvalue);for(var d=document.getElementsByName("wfu_triplecolor_elements"),a=0;a<d.length;a++)wfu_attach_element_handlers(d[a],wfu_update_triplecolor_value);for(var r=document.getElementsByName("wfu_dimension_elements_widths"),a=0;a<r.length;a++)wfu_attach_element_handlers(r[a],wfu_update_dimension_value);r=document.getElementsByName("wfu_dimension_elements_heights");for(var a=0;a<r.length;a++)wfu_attach_element_handlers(r[a],wfu_update_dimension_value);for(var o=document.getElementsByName("wfu_userfield_elements"),a=0;a<o.length;a++)wfu_attach_element_handlers(o[a],wfu_update_userfield_value);for(var u=document.getElementsByName("wfu_formfield_elements"),a=0;a<u.length;a++)wfu_attach_element_handlers(u[a],wfu_update_formfield_value);for(var _=document.getElementsByName("wfu_subfolder_tools_input"),a=0;a<_.length;a++)wfu_attach_element_handlers(_[a],wfu_subfolders_input_changed);""!=document.getElementById("wfu_shortcode_postid").value&&setTimeout(function(){wfu_check_page_obsolescence()},CheckObsolescenceTimeOut)}function wfu_insert_variable(e){var t=e.className.replace("wfu_variable wfu_variable_",""),a=document.getElementById("wfu_attribute_"+t),l=a.selectionStart,n=a.value;a.value=n.substr(0,l)+e.innerHTML+n.substr(l),wfu_update_text_value({target:a})}function wfu_insert_userfield_variable(e){var t=e.className.replace("wfu_variable wfu_variable_",""),a=document.getElementById("wfu_attribute_"+t),l=a.selectionStart,n=a.value;a.value=n.substr(0,l)+e.value+n.substr(l),e.value="%userdataXXX%",wfu_update_text_value({target:a})}function wfu_columns_itemclicked(e){var t=e.parentNode;if("SELECT"==t.tagName)for(var a=0;a<t.options.length;a++)t.options[a].selected=t.options[a]==e}function wfu_columns_buttonaction(e,t){var a=document.getElementById("wfu_attribute_"+e+"_sourcelist"),l=document.getElementById("wfu_attribute_"+e);if("add"==t){for(var n=0;n<a.options.length;n++)if(a.options[n].selected||"wfu_columns_item_required"==a.options[n].className){for(var d=!1,r=0;r<l.options.length;r++)if(l.options[r].value==a.options[n].value){d=!0;break}if(!d){var o=document.createElement("OPTION");o.value=a.options[n].value,o.innerHTML=a.options[n].innerHTML,o.className=a.options[n].className,l.appendChild(o)}}}else if("del"==t)for(var n=0;n<l.options.length;)l.options[n].selected&&"wfu_columns_item_required"!=l.options[n].className?l.options.remove(n):n++;else if("up"==t||"down"==t){for(var u=-1,n=0;n<l.options.length;n++)l.options[n].selected&&-1==u?u=n:l.options[n].selected&&u>-1&&(l.options[n].selected=!1);"up"==t&&u>0?l.insertBefore(l.options[u],l.options[u-1]):"down"==t&&u<l.options.length-1&&l.insertBefore(l.options[u+1],l.options[u])}wfu_update_columns(e)}function wfu_update_columns(e){for(var t=document.getElementById("wfu_attribute_"+e),a="",l=0;l<t.options.length;l++)""!=a&&(a+=","),a+=t.options[l].value;document.getElementById("wfu_attribute_value_"+e).value=a,wfu_generate_shortcode()}function wfu_GetHttpRequestObject(){var e=null;try{e=new XMLHttpRequest}catch(t){try{e=new ActiveXObject("Msxml2.XMLHTTP")}catch(a){try{e=new ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}}if(null==e&&window.createRequest)try{xmlhttp=window.createRequest()}catch(t){}return e}function wfu_plugin_encode_string(e){var t,a=0,l="",n="";for(a=0;a<e.length;a++)t=e.charCodeAt(a),t>=2048?t=((16773120&t|917504)<<4)+((4032&t|8192)<<2)+(63&t|128):t>=128&&(t=((65472&t|12288)<<2)+(63&t|128)),n=t.toString(16),(1==n.length||3==n.length||5==n.length)&&(n="0"+n),l+=n;return l}function wfu_plugin_decode_string(e){for(var t,a,l=0,n="";l<e.length;)t=parseInt(e.substr(l,2),16),a=128>t?t:224>t?((31&t)<<6)+(63&parseInt(e.substr(l+=2,2),16)):((15&t)<<12)+((63&parseInt(e.substr(l+=2,2),16))<<6)+(63&parseInt(e.substr(l+=2,2),16)),n+=String.fromCharCode(a),l+=2;return n}function wfu_randomString(e){for(var t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz",a=e,l="",n=0;a>n;n++){var d=Math.floor(Math.random()*t.length);l+=t.substring(d,d+1)}return l}function wfu_schedule_save_shortcode(){var e=new Date,t=ShortcodeNextSave-e.getTime();null!=ShortcodeTimeOut&&(clearTimeout(ShortcodeTimeOut),ShortcodeTimeOut=null),0>=t?wfu_save_shortcode():ShortcodeTimeOut=setTimeout(function(){wfu_save_shortcode()},t)}function wfu_check_page_obsolescence(){PageObsolete||PageUpdating||""==document.getElementById("wfu_shortcode_postid").value}function wfu_save_shortcode(){if(!PageObsolete){var e=wfu_GetHttpRequestObject();if(null!=e){PageUpdating=!0,document.getElementById("wfu_update_failed_message").style.display="none";var t=AdminParams.wfu_ajax_url;params=new Array(8),params[0]=new Array(2),params[0][0]="action",params[0][1]="wfu_ajax_action_save_shortcode",params[1]=new Array(2),params[1][0]="shortcode",params[1][1]=wfu_plugin_encode_string(ShortcodeString),params[2]=new Array(2),params[2][0]="shortcode_original",params[2][1]=document.getElementById("wfu_shortcode_original_enc").value,params[3]=new Array(2),params[3][0]="post_id",params[3][1]=document.getElementById("wfu_shortcode_postid").value,params[4]=new Array(2),params[4][0]="post_hash",params[4][1]=document.getElementById("wfu_shortcode_posthash").value,params[5]=new Array(2),params[5][0]="shortcode_position",params[5][1]=document.getElementById("wfu_shortcode_position").value,params[6]=new Array(2),params[6][0]="shortcode_tag",params[6][1]=document.getElementById("wfu_shortcode_tag").value,params[7]=new Array(2),params[7][0]="widget_id",params[7][1]=document.getElementById("wfu_shortcode_widgetid").value;for(var a="",l=0;l<params.length;l++)a+=(l>0?"&":"")+params[l][0]+"="+encodeURI(params[l][1]);var n=new Date;Autosave?ShortcodeNextSave=n.getTime()+5e3:document.getElementById("wfu_update_shortcode")&&(document.getElementById("wfu_update_shortcode_wait").style.display="inline"),e.open("POST",t,!0),e.setRequestHeader("Content-type","application/x-www-form-urlencoded"),e.onreadystatechange=function(){if(4==e.readyState&&200==e.status){PageUpdating=!1;var t="wfu_save_shortcode:",a=e.responseText.indexOf(t);-1==a&&(a=e.responseText.length);var l=(e.responseText.substr(0,a),e.responseText.substr(a+t.length,e.responseText.length-a-t.length));a=l.indexOf(":");var d=l.substr(0,a);if(txt_value=l.substr(a+1,l.length-a-1),"success"==d){if(Autosave?(document.getElementById("wfu_save_label").innerHTML="saved",document.getElementById("wfu_save_label").className="wfu_save_label",document.getElementById("wfu_save_label").style.opacity=1,wfu_fadeout_element(300),ShortcodeNextSave=n.getTime()+1e3,null!=ShortcodeTimeOut&&wfu_schedule_save_shortcode()):document.getElementById("wfu_update_shortcode")&&(document.getElementById("wfu_update_shortcode_wait").style.display="none",document.getElementById("wfu_update_shortcode").disabled=!0,window.plugin_window&&window.plugin_window.location.reload(!0)),""!=document.getElementById("wfu_shortcode_postid").value){var r=document.getElementById("wfu_shortcode_tag").value;document.getElementById("wfu_shortcode_original_enc").value=wfu_plugin_encode_string("["+r+" "+ShortcodeString+"]"),document.getElementById("wfu_shortcode_posthash").value=txt_value,setTimeout(function(){wfu_check_page_obsolescence()},CheckObsolescenceTimeOut)}}else Autosave&&(document.getElementById("wfu_save_label").innerHTML="not saved",document.getElementById("wfu_save_label").className="wfu_save_label_fail",document.getElementById("wfu_save_label").style.opacity=1,wfu_fadeout_element(300)),"fail"==d&&("post_modified"==txt_value?(PageObsolete=!0,document.getElementById("wfu_update_shortcode")&&(document.getElementById("wfu_update_shortcode").disabled=!0),document.getElementById("wfu_update_rejected_message").style.display="block"):document.getElementById("wfu_update_failed_message").style.display="block")}},e.send(a)}}}function wfu_adjust_opacity(e){document.getElementById("wfu_save_label").style.opacity=e}function wfu_fadeout_element(e){for(var t=20,a=0,l=0;t>l;l++)a=1-l/t,setTimeout('wfu_adjust_opacity("'+a.toString()+'")',l*e/t);setTimeout('wfu_adjust_opacity("0.0")',l*e/t)}function wfu_apply_value(e,t,a){if("onoff"==t)document.getElementById("wfu_attribute_"+e).className="wfu_onoff_container_"+("true"!=a?"on":"off"),wfu_admin_onoff_clicked(e);else if("text"==t||"ltext"==t||"integer"==t||"float"==t||"mtext"==t||"color"==t){var l=document.getElementById("wfu_attribute_"+e);if(a=a.replace(/\%n\%/gm,"\n"),a=a.replace(/\%dq\%/gm,'"'),a=a.replace(/\%brl\%/gm,"["),a=a.replace(/\%brr\%/gm,"]"),"color"==t){var n=colourNameToHex(a);n||(n=a),jQuery("#wfu_attribute_"+e).wpColorPicker("color",n)}l.value=a,wfu_update_text_value({target:l})}else if("date"==t){var l=document.getElementById("wfu_attribute_"+e);l.value=a,wfu_update_date_value({target:l})}else if("placements"==t)wfu_admin_recreate_placements_panel(a),document.getElementById("wfu_attribute_value_placements").value=a,wfu_generate_shortcode();else if("radio"==t){for(var d=document.getElementsByName("wfu_radioattribute_"+e),r=0;r<d.length;r++)d[r].checked=d[r].value==a||"*"+d[r].value==a;wfu_admin_radio_clicked(e)}else if("ptext"==t){a=a.replace(/\%n\%/gm,"\n"),a=a.replace(/\%dq\%/gm,'"'),a=a.replace(/\%brl\%/gm,"["),a=a.replace(/\%brr\%/gm,"]");var o=a.split("/"),u=o.length<1?"":o[0],_=o.length<2?u:o[1],s=document.getElementById("wfu_attribute_s_"+e);s.value=u;var i=document.getElementById("wfu_attribute_p_"+e);i.value=_,wfu_update_ptext_value({target:s}),wfu_update_ptext_value({target:i})}else if("mchecklist"==t){if(a=a.toLowerCase(),"all"==a)document.getElementById("wfu_attribute_"+e+"_all").checked=!0;else{document.getElementById("wfu_attribute_"+e+"_all").checked=!1;for(var f=a.split(","),r=0;r<f.length;r++)f[r]=f[r].trim();jQuery("#wfu_attribute_"+e+" input").each(function(){jQuery(this).prop("checked",f.indexOf(jQuery(this).next().html())>-1)})}wfu_update_mchecklist_value(e)}else if("rolelist"==t){var l=document.getElementById("wfu_attribute_"+e),c=document.getElementById("wfu_attribute_"+e+"_all"),m=c.className.indexOf("wfu_default_administrator")>-1,p=a.split(",");if(p.indexOf("all")>-1){c.checked=!0;for(var r=0;r<l.options.length;r++)l.options[r].selected=m&&"administrator"==l.options[r].value}else{c.checked=!1;for(var r=0;r<p.length;r++)p[r]=p[r].trim();for(var r=0;r<l.options.length;r++)l.options[r].selected=p.indexOf(l.options[r].value)>-1}document.getElementById("wfu_attribute_"+e+"_guests").checked=p.indexOf("guests")>-1,wfu_update_rolelist_value(e)}else if("userlist"==t){var l=document.getElementById("wfu_attribute_"+e),c=document.getElementById("wfu_attribute_"+e+"_all"),w=c.className.indexOf("wfu_default_0")>-1,g=document.getElementById("wfu_attribute_"+e+"_current");if(g&&"current"==a){g.checked=!0,c.checked=!1,document.getElementById("wfu_attribute_"+e+"_guests").checked=!1;for(var r=0;r<l.options.length;r++)l.options[r].selected=w&&1>r}else{g&&(g.checked=!1);var v=a.split(",");if(v.indexOf("all")>-1){c.checked=!0;for(var r=0;r<l.options.length;r++)l.options[r].selected=w&&1>r}else{c.checked=!1;for(var r=0;r<v.length;r++)v[r]=v[r].trim();for(var r=0;r<l.options.length;r++)l.options[r].selected=v.indexOf(l.options[r].value)>-1}document.getElementById("wfu_attribute_"+e+"_guests").checked=v.indexOf("guests")>-1}wfu_update_userlist_value(e)}else if("postlist"==t){for(var b=Array(),c=Array(),h=document.getElementById("wfu_attribute_"+e+"_postlist").value.split(","),r=0;r<h.length;r++)b.push(document.getElementById("wfu_attribute_"+e+"_"+h[r])),c.push(document.getElementById("wfu_attribute_"+e+"_all_"+h[r]));var g=document.getElementById("wfu_attribute_"+e+"_current");if(g&&"current"==a){g.checked=!0;for(var r=0;r<h.length;r++){c[r].checked=!1;for(var y=0;y<b[r].options.length;y++)b[r].options[y].selected=!1}}else{g&&(g.checked=!1);for(var I=a.split(","),r=0;r<h.length;r++){("all"==a||I.indexOf("all"+h[r])>-1)&&(c[r].checked=!0);for(var y=0;y<b[r].options.length;y++)b[r].options[y].selected=I.indexOf(b[r].options[y].value)>-1}}wfu_update_postlist_value(e)}else if("bloglist"==t){var g=document.getElementById("wfu_attribute_"+e+"_current");if(g&&"current"==a){g.checked=!0,document.getElementById("wfu_attribute_"+e+"_all").checked=!1;for(var l=document.getElementById("wfu_attribute_"+e),r=0;r<l.options.length;r++)l.options[r].selected=!1}else{g&&(g.checked=!1);var E=a.split(",");if("all"==a)document.getElementById("wfu_attribute_"+e+"_all").checked=!0;else{document.getElementById("wfu_attribute_"+e+"_all").checked=!1;for(var r=0;r<E.length;r++)E[r]=E[r].trim();for(var l=document.getElementById("wfu_attribute_"+e),r=0;r<l.options.length;r++)l.options[r].selected=E.indexOf(l.options[r].value)>-1}}wfu_update_bloglist_value(e)}else if("stringmatch"==t){var B="",k="equal to",x="",N=a.match(/^field:(.*?);\s*criterion:(.*?)\s*;\s*value:(.*)$/);N&&4==N.length&&(B=N[1],k=N[2],x=N[3]),document.getElementById("wfu_attribute_"+e+"_matchfield").value=B,document.getElementById("wfu_attribute_"+e+"_matchcriterion").value=k,document.getElementById("wfu_attribute_"+e+"_matchvalue").value=x,wfu_update_stringmatch_value(e)}else if("columns"==t){var T=document.getElementById("wfu_attribute_"+e+"_sourcelist"),A=document.getElementById("wfu_attribute_"+e);A.innerHTML="";for(var S=a.split(","),r=0;r<T.options.length;r++)if("wfu_columns_item_required"==T.options[r].className&&-1==S.indexOf(T.options[r].value)){var H=document.createElement("OPTION");H.value=T.options[r].value,H.innerHTML=T.options[r].innerHTML,H.className=T.options[r].className,A.appendChild(H)}for(var r=0;r<S.length;r++){for(var q=-1,y=0;y<T.options.length;y++)if(T.options[y].value==S[r]){q=y;break}for(var O=!1,y=0;y<A.options.length;y++)if(A.options[y].value==S[r]){O=!0;break}if(q>-1&&!O){var H=document.createElement("OPTION");H.value=T.options[q].value,H.innerHTML=T.options[q].innerHTML,H.className=T.options[q].className,A.appendChild(H)}}wfu_update_columns(e)}else if("dimensions"==t){for(var C,L,D,l,M=a.split(","),j=document.getElementsByName("wfu_dimension_elements_"+e),r=0;r<j.length;r++)j[r].value="";for(var r=0;r<M.length;r++)C=M[r].split(":",2),L=C.length<1?"":C[0],D=C.length<2?L:C[1],l=document.getElementById("wfu_attribute_"+e+"_"+L.trim()),l&&(l.value=D.trim());l=j[0],wfu_update_dimension_value({target:l})}else if("userfields"==t){for(var V,P=a.replace(/\//g,"[/]").replace(/\(.*\)/,function(e){return e.replace(/\[\/\]/g,"/")}).split("[/]"),R=Array(),r=0;r<P.length;r++)V="*"==P[r].substr(0,1),V&&(P[r]=P[r].substr(1)),""!=P[r]&&R.push({name:P[r],required:V});for(var F=document.getElementById("wfu_attribute_"+e),U=null,Q=Array(),r=0;r<F.childNodes.length;r++)1===F.childNodes[r].nodeType&&(null==U?U=F.childNodes[r]:Q.push(F.childNodes[r]));for(var r=0;r<Q.length;r++)F.removeChild(Q[r]);wfu_userdata_edit_field(U,"",!1);for(var X,G=U,r=0;r<R.length;r++)0==r?wfu_userdata_edit_field(U,R[r].name,R[r].required):(X=G.cloneNode(!0),wfu_userdata_edit_field(X,R[r].name,R[r].required),F.insertBefore(X,G.nextSibling),G=X);for(var l,r=0;r<U.childNodes.length&&(l=U.childNodes[r],"INPUT"!=l.tagName);r++);wfu_update_userfield_value({target:l})}else if("formfields"==t){for(var R=Array(),W=window["wfu_attribute_"+e+"_typeprops"],z=W[0].split(","),$={},r=0;r<z.length;r++){var J=W[z[r]],K={};K.type=z[r],K.label="",K.labelposition=J.labelposition.substr(5),K.required="true"==J.required.substr(5),K.donotautocomplete="true"==J.donotautocomplete.substr(5),K.validate="true"==J.validate.substr(5),K.typehook="true"==J.typehook.substr(5),K.hintposition=J.hintposition.substr(5),K["default"]=J["default"].substr(5),K.data=J.data.substr(5),K.group=J.group.substr(5),K.format=J.format.substr(5),$[z[r]]=K}for(var P=a.replace(/\//g,"[/]").replace(/\(.*\)/,function(e){return e.replace(/\[\/\]/g,"/")}).split("[/]"),r=0;r<P.length;r++){var Z=P[r].trim(),Y={};for(prop in $.text)Y[prop]=$.text[prop];"*"==Z.substr(0,1)&&(Y.required=!0,Z=Z.substr(1));var ee=Z.split("|");if(""!=ee[0].trim()){for(var te=-1,ae="",y=0;y<ee.length;y++){var le=ee[y].replace(/^\s+/gm,""),ne=le.substr(0,2),D=le.substr(2);if("t:"==ne&&y>0&&z.indexOf(D)>-1){ae=D,te=y;break}}if(""!=ae){for(prop in $[ae])Y[prop]=$[ae][prop];ee.splice(te,1)}Y.label=ee[0].trim(),ee.splice(0,1);for(var y=0;y<ee.length;y++){var le=ee[y].replace(/^\s+/gm,""),ne=le.substr(0,2),D=le.substr(2);"s:"==ne?Y.labelposition=D:"r:"==ne?Y.required="1"==D:"a:"==ne?Y.donotautocomplete="1"==D:"v:"==ne?Y.validate="1"==D:"d:"==ne?Y["default"]=D:"l:"==ne?Y.data=D:"g:"==ne?Y.group=D:"f:"==ne?Y.format=D:"p:"==ne?Y.hintposition=D:"h:"==ne&&(Y.typehook="1"==D)}R.push(Y)}}0==R.length&&R.push(fieldprops_default);for(var F=document.getElementById("wfu_attribute_"+e),de=document.querySelectorAll("div#wfu_attribute_"+e+" .wfu_formdata_line_container"),r=1;r<de.length;r++)F.removeChild(de[r]);for(var re=de[0],r=0;r<R.length;r++){var oe=e+"_"+wfu_randomString(4),ue=wfu_formdata_prepare_template(e,R[r],oe);r>0&&(re=document.createElement("DIV")),re.id="wfu_formfield_"+oe+"_container",re.className="wfu_formdata_line_container",r>0&&F.insertBefore(re,null),re.innerHTML=ue}for(var _e=document.querySelectorAll("div#wfu_attribute_"+e+' input[name="wfu_formfield_elements"]'),r=0;r<_e.length;r++)wfu_attach_element_handlers(_e[r],wfu_update_formfield_value);for(var se=document.querySelectorAll("div#wfu_attribute_"+e+" .wfu_formdata_action_remove"),r=0;r<se.length;r++)se[r].className="wfu_formdata_action wfu_formdata_action_remove"+(se.length>1?"":" wfu_formdata_action_disabled");
3
+ wfu_update_formfield_value({target:de[0]})}else if("color-triplet"==t){for(var ie=a.split(","),r=0;r<ie.length;r++)ie[r]=ie[r].trim();2==ie.length?ie=[ie[0],ie[1],"#000000"]:1==ie.length?ie=[ie[0],"#FFFFFF","#000000"]:ie.length<3&&(ie=["#000000","#FFFFFF","#000000"]);var n=colourNameToHex(ie[0]);n||(n=ie[0]),jQuery("#wfu_attribute_"+e+"_color").wpColorPicker("color",n);var l=document.getElementById("wfu_attribute_"+e+"_color");l.value=ie[0],n=colourNameToHex(ie[1]),n||(n=ie[1]),jQuery("#wfu_attribute_"+e+"_bgcolor").wpColorPicker("color",n),document.getElementById("wfu_attribute_"+e+"_bgcolor").value=ie[1],n=colourNameToHex(ie[2]),n||(n=ie[2]),jQuery("#wfu_attribute_"+e+"_borcolor").wpColorPicker("color",n),document.getElementById("wfu_attribute_"+e+"_borcolor").value=ie[2],wfu_update_triplecolor_value({target:l})}else if("folderlist"==t){for(var f=wfu_parse_folderlist_js(a),fe=document.getElementById("wfu_attribute_"+e).options;fe.length>0;)fe.remove(0);for(var H,ce,me,pe,we,ge,r=0;r<f.path.length;r++){ce=f.path[r],"/"==ce.substr(ce.length,1)&&(ce=ce.substr(0,ce.length-1)),me=ce.split("/"),ce=me[me.length-1],we=parseInt(f.level[r]),pe="",ge="";for(var y=0;we>y;y++)pe+="&nbsp;&nbsp;&nbsp;",ge+="*";pe+=f.label[r],f["default"][r]&&(ge+="&"),ge+=""==ce?"{root}/"+f.label[r]:ce+f.label[r],H=document.createElement("option"),f["default"][r]?H.className="wfu_select_folders_option_default":H.className="",H.value=wfu_plugin_encode_string(ge),H.innerHTML=pe,fe.add(H)}H=document.createElement("option"),H.value="",H.innerHTML="",fe.add(H);var ve=document.getElementById("wfu_attribute_"+e);ve.data=wfu_decode_subfolder_list(e),wfu_subfolders_update_toolnav(e),l=ve,a!==l.oldVal&&(l.oldVal=a,document.getElementById("wfu_attribute_value_"+e).value=a,wfu_generate_shortcode())}}function wfu_parse_folderlist_js(e){var t=Object();if(t.path=Array(),t.label=Array(),t.level=Array(),t["default"]=Array(),"auto"==e.substr(0,4))return t;var a=e.split(",");if(0==a.length)return t;if(1==a.length&&""==a[0].trim())return t;for(var l,n,d,r,o,u,_,s=["root"],i=0,f=0,c=-1,m=0;m<a.length;m++){for(l=a[m].trim(),n=0,d="",r=!1;n<l.length&&"*"==l.substr(n,1);)n++,d+="&nbsp;&nbsp;&nbsp;";if(1>=n-i&&(n>0||0==f)&&(l=l.substr(n,l.length-n),"&"==l.substr(0,1)&&(l=l.substr(1),r=!0),subfolder_items=l.split("/"),subfolder_items.length<2&&subfolder_items.push(""),""!=subfolder_items[1]?(o=subfolder_items[0],u=subfolder_items[1]):(o=l,u=l),""!=o)){r&&-1==c?c=t.path.length:r=!1,0==n&&(f=1),s.length>n?s[n]=o:s.push(o),_="";for(var p=1;n>=p;p++)_+=s[p]+"/";t.path.push(_),t.label.push(u),t.level.push(n),t["default"].push(r),i=n}}return t}function colourNameToHex(e){var t={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4","indianred ":"#cd5c5c","indigo ":"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};return"undefined"!=typeof t[e.toLowerCase()]?t[e.toLowerCase()]:!1}function wfu_download_file(e,t,a){var l=wfu_GetHttpRequestObject();if(null!=l){var n=AdminParams.wfu_ajax_url;params=new Array(3),params[0]=new Array(2),params[0][0]="action",params[0][1]="wfu_ajax_action_download_file_invoker",params[1]=new Array(2),params[1][0]="file",params[1][1]=e,params[2]=new Array(2),params[2][0]="nonce",params[2][1]=a;for(var d="",r=0;r<params.length;r++)d+=(r>0?"&":"")+params[r][0]+"="+encodeURI(params[r][1]);l.open("POST",n,!0),l.setRequestHeader("Content-type","application/x-www-form-urlencoded"),l.onreadystatechange=function(){if(4==l.readyState&&200==l.status){var a="wfu_ajax_action_download_file_invoker:",n=l.responseText.indexOf(a);-1==n&&(n=l.responseText.length);var d=(l.responseText.substr(0,n),l.responseText.substr(n+a.length,l.responseText.length-n-a.length));n=d.indexOf(":");var r=d.substr(0,n);if(txt_value=d.substr(n+1,d.length-n-1),"wfu_download_id;"==r.substr(0,16)){var o=r.substr(16),u=document.getElementById("wfu_file_download_container_"+t);u.innerHTML=txt_value,setTimeout("wfu_download_file_monitor('"+e+"', "+t+", '"+o+"')",100)}}},l.send(d)}}function wfu_download_file_monitor(e,t,a){var l=wfu_GetHttpRequestObject();if(null!=l){var n=AdminParams.wfu_ajax_url;params=new Array(3),params[0]=new Array(2),params[0][0]="action",params[0][1]="wfu_ajax_action_download_file_monitor",params[1]=new Array(2),params[1][0]="file",params[1][1]=e,params[2]=new Array(2),params[2][0]="id",params[2][1]=a;for(var d="",r=0;r<params.length;r++)d+=(r>0?"&":"")+params[r][0]+"="+encodeURI(params[r][1]);l.open("POST",n,!0),l.setRequestHeader("Content-type","application/x-www-form-urlencoded"),l.onreadystatechange=function(){if(4==l.readyState&&200==l.status){var a="wfu_ajax_action_download_file_monitor:",n=l.responseText.indexOf(a);-1==n&&(n=l.responseText.length);var d=(l.responseText.substr(0,n),l.responseText.substr(n+a.length,l.responseText.length-n-a.length));n=d.indexOf(":");var r=d.substr(0,n);if(txt_value=d.substr(n+1,d.length-n-1),"repeat"!=r){var o=document.getElementById("wfu_file_download_container_"+t);o.innerHTML=""}else"repeat"==r&&setTimeout("wfu_download_file_monitor('"+e+"', "+t+", '"+txt_value+"')",100)}},l.send(d)}}function wfu_filedetails_userdata_changed(e){for(var t,a,l=document.getElementsByName("wfu_filedetails_userdata"),n=!1,d=0;d<l.length;d++)if(t=document.getElementById(l[d].id.replace("wfu_filedetails_userdata_value_","wfu_filedetails_userdata_default_")),a=document.getElementById(l[d].id.replace("wfu_filedetails_userdata_value_","wfu_filedetails_userdata_")),a.value=l[d].value,l[d].value!=t.value){n=!0;break}document.getElementById("dp_filedetails_submit_fields").disabled=!n}function wfu_Attach_FileDetails_Admin_Events(){for(var e=document.getElementsByName("wfu_filedetails_userdata"),t=0;t<e.length;t++)wfu_attach_element_handlers(e[t],wfu_filedetails_userdata_changed)}function wfu_update_browserpermission_option(e,t,a){var l=document.getElementById("wfu_fbperm_users"),n=document.getElementById("wfu_fbperm_roles"),d=document.getElementById("wfu_fbperm_"+e+"_"+t+"_view"),r=document.getElementById("wfu_fbperm_"+e+"_"+t+"_dl"),o=document.getElementById("wfu_fbperm_"+e+"_"+t+"_edit"),u=document.getElementById("wfu_fbperm_"+e+"_"+t+"_del");if("role"==e){if("0"==t){r.checked=d.checked&&r.checked,o.checked=d.checked&&o.checked,u.checked=d.checked&&u.checked,r.disabled=!d.checked,o.disabled=!d.checked,u.disabled=!d.checked;for(var _=document.querySelectorAll("tr.wfu_fbperm_role_tr"),s=0;s<_.length;s++){var i=_[s].id.substr(16,_[s].id.length-20);wfu_update_browserpermission_option("role",i,!1)}if(a){var f=(d.checked?"v":"")+(r.checked?"d":"")+(o.checked?"e":"")+(u.checked?"l":"");n.value=n.value.replace(/^0\[\w*\]/,"0["+f+"]")}}else if("administrator"!=t){var c=document.getElementById("wfu_fbperm_role_"+t+"_row"),m=document.getElementById("wfu_fbperm_role_"+t+"_def"),p=document.getElementById("wfu_fbperm_role_0_view"),w=document.getElementById("wfu_fbperm_role_0_dl"),g=document.getElementById("wfu_fbperm_role_0_edit"),v=document.getElementById("wfu_fbperm_role_0_del");if(d.checked=m.checked?p.checked:d.checked,c.style.fontWeight=m.checked?"":"bold",r.checked=m.checked?w.checked:d.checked&&r.checked,o.checked=m.checked?g.checked:d.checked&&o.checked,u.checked=m.checked?v.checked:d.checked&&u.checked,d.disabled=m.checked,r.disabled=m.checked||!d.checked,o.disabled=m.checked||!d.checked,u.disabled=m.checked||!d.checked,a){var f=m.checked?"":"D"+(d.checked?"v":"")+(r.checked?"d":"")+(o.checked?"e":"")+(u.checked?"l":"");n.value=n.value.replace(new RegExp(","+t+"\\[\\w*\\]"),","+t+"["+f+"]")}}for(var b=document.querySelectorAll("tr.wfu_fbperm_user_tr"),s=0;s<b.length;s++){var h=b[s].id.substr(16,b[s].id.length-20);wfu_update_browserpermission_option("user",h,!1)}}else if("user"==e){var y=document.getElementById("wfu_fbperm_user_"+t+"_role");if("0"==t){d.checked=y.checked?!1:d.checked,r.checked=y.checked?!1:d.checked&&r.checked,o.checked=y.checked?!1:d.checked&&o.checked,u.checked=y.checked?!1:d.checked&&u.checked,d.disabled=y.checked,r.disabled=y.checked||!d.checked,o.disabled=y.checked||!d.checked,u.disabled=y.checked||!d.checked,d.indeterminate=y.checked,r.indeterminate=y.checked,o.indeterminate=y.checked,u.indeterminate=y.checked;for(var b=document.querySelectorAll("tr.wfu_fbperm_user_tr"),s=0;s<b.length;s++){var h=b[s].id.substr(16,b[s].id.length-20);wfu_update_browserpermission_option("user",h,!1)}if(a){var f=y.checked?"":"R"+(d.checked?"v":"")+(r.checked?"d":"")+(o.checked?"e":"")+(u.checked?"l":"");l.value=l.value.replace(/^0\[\w*\],?/,""),l.value="0["+f+"]"+(""==l.value?"":","+l.value)}}else{var I=document.getElementById("wfu_fbperm_user_"+t+"_roles").value.split(",");if(1==I.length&&""==I[0]&&(I=Array()),I.indexOf("administrator")<0){var c=document.getElementById("wfu_fbperm_user_"+t+"_row"),m=document.getElementById("wfu_fbperm_user_"+t+"_def"),E=document.getElementById("wfu_fbperm_user_0_role"),p=document.getElementById("wfu_fbperm_user_0_view"),w=document.getElementById("wfu_fbperm_user_0_dl"),g=document.getElementById("wfu_fbperm_user_0_edit"),v=document.getElementById("wfu_fbperm_user_0_del");if(I.length>0)for(var B=!1,k=!1,x=!1,N=!1,s=0;s<I.length;s++)B=B||document.getElementById("wfu_fbperm_role_"+I[s]+"_view").checked,k=B&&(k||document.getElementById("wfu_fbperm_role_"+I[s]+"_dl").checked),x=B&&(x||document.getElementById("wfu_fbperm_role_"+I[s]+"_edit").checked),N=B&&(N||document.getElementById("wfu_fbperm_role_"+I[s]+"_del").checked);else var B=document.getElementById("wfu_fbperm_role_0_view"),k=document.getElementById("wfu_fbperm_role_0_dl"),x=document.getElementById("wfu_fbperm_role_0_edit"),N=document.getElementById("wfu_fbperm_role_0_del");if(c.style.fontWeight=m.checked?"":"bold",y.checked=m.checked?E.checked:y.checked,d.checked=m.checked?E.checked?B:p.checked:y.checked?B:d.checked,r.checked=m.checked?E.checked?k:w.checked:y.checked?k:d.checked&&r.checked,o.checked=m.checked?E.checked?x:g.checked:y.checked?x:d.checked&&o.checked,u.checked=m.checked?E.checked?N:v.checked:y.checked?N:d.checked&&u.checked,y.disabled=m.checked,d.disabled=m.checked||y.checked,r.disabled=m.checked||y.checked||!d.checked,o.disabled=m.checked||y.checked||!d.checked,u.disabled=m.checked||y.checked||!d.checked,a){var f=m.checked?"":"D"+(y.checked?"":"R"+(d.checked?"v":"")+(r.checked?"d":"")+(o.checked?"e":"")+(u.checked?"l":""));l.value=l.value.replace(new RegExp(","+t+"\\[\\w*\\]|"+t+"\\[\\w*\\],|"+t+"\\[\\w*\\]"),""),l.value+=(""==l.value?"":",")+t+"["+f+"]"}}}}}function wfu_goto_historylog_page(e,t){var a=document.getElementById("wfu_historylog_pages"),l=a.selectedIndex+1,n=l;if("next"==t?n=Math.min(l+1,a.options.length):"prev"==t?n=Math.max(l-1,1):"last"==t?n=a.options.length:"first"==t?n=1:"sel"==t&&(l=-1),n!=l){var d=wfu_GetHttpRequestObject();if(null!=d){var r=AdminParams.wfu_ajax_url;params=new Array(3),params[0]=new Array(2),params[0][0]="action",params[0][1]="wfu_ajax_action_get_historylog_page",params[1]=new Array(2),params[1][0]="token",params[1][1]=e,params[2]=new Array(2),params[2][0]="page",params[2][1]=n;for(var o="",u=0;u<params.length;u++)o+=(u>0?"&":"")+params[u][0]+"="+encodeURI(params[u][1]);document.getElementById("wfu_historylog_overlay").style.display="block",d.open("POST",r,!0),d.setRequestHeader("Content-type","application/x-www-form-urlencoded"),d.onreadystatechange=function(){if(4==d.readyState&&200==d.status){document.getElementById("wfu_historylog_overlay").style.display="none";var e="wfu_historylog_page_success:",t=d.responseText.indexOf(e);-1==t&&(t=d.responseText.length);var l=(d.responseText.substr(0,t),d.responseText.substr(t+e.length,d.responseText.length-t-e.length));if(""!=l){var r=document.getElementById("wfu_historylog_table");r.tBodies[0].innerHTML=wfu_plugin_decode_string(l),a.selectedIndex=n-1,document.getElementById("wfu_historylog_first_disabled").style.display=1==n?"inline":"none",document.getElementById("wfu_historylog_prev_disabled").style.display=1==n?"inline":"none",document.getElementById("wfu_historylog_first").style.display=1==n?"none":"inline",document.getElementById("wfu_historylog_prev").style.display=1==n?"none":"inline",document.getElementById("wfu_historylog_last_disabled").style.display=n==a.options.length?"inline":"none",document.getElementById("wfu_historylog_next_disabled").style.display=n==a.options.length?"inline":"none",document.getElementById("wfu_historylog_last").style.display=n==a.options.length?"none":"inline",document.getElementById("wfu_historylog_next").style.display=n==a.options.length?"none":"inline"}}},d.send(o)}}}var DraggedItem=null,ShortcodeNextSave=0,ShortcodeTimeOut=null,ShortcodeString="",Autosave=!1,PageObsolete=!1,PageUpdating=!1,CheckObsolescenceTimeOut=5e3;jQuery(document).ready(function(e){e(".wfu_color_field").wpColorPicker({change:function(e,t){e.target.value=t.color.toString(),"wfu_text_elements"==e.target.name?wfu_update_text_value(e):"wfu_triplecolor_elements"==e.target.name&&wfu_update_triplecolor_value(e)}})});
js/wordpress_file_upload_functions.js CHANGED
@@ -1,2 +1,2 @@
1
- function wfu_Initialize_Consts(e){if("undefined"==typeof GlobalData.consts){GlobalData.consts=new Object;for(var a=e.split(";"),s=0;s<a.length;s++)const_txt=a[s].split(":"),GlobalData.consts[wfu_plugin_decode_string(const_txt[0])]=wfu_plugin_decode_string(const_txt[1])}}function wfu_plugin_load_action(e){wfu_install_unload_hook();var a=document.getElementById("selectsubdiredit_"+e);a&&"none"!=a.style.display&&wfu_attach_element_handlers(a,new Function("wfu_selectsubdiredit_change("+e+");"))}function wfu_install_unload_hook(){window.onbeforeunload=wfu_unload_hook}function wfu_unload_hook(){return""!=GlobalData.UploadInProgressString&&""!=GlobalData.UploadInProgressString.trim()?GlobalData.consts.wfu_pageexit_prompt:void 0}function wfu_Check_Browser_Capabilities(){if("undefined"==typeof wfu_BrowserCaps){wfu_BrowserCaps=new Object;var e=wfu_GetHttpRequestObject();wfu_BrowserCaps.supportsAJAX=null!=e,wfu_BrowserCaps.supportsUploadProgress=!!(e&&"upload"in e&&"onprogress"in e.upload);var a=null;try{var a=new FormData}catch(s){}wfu_BrowserCaps.supportsHTML5=null!=a;var s=document.createElement("iframe");wfu_BrowserCaps.supportsIFRAME=null!=s,wfu_BrowserCaps.supportsDRAGDROP=window.FileReader?!0:!1,wfu_BrowserCaps.supportsAnimation=wfu_check_animation(),wfu_BrowserCaps.isSafari=Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0}}function wfu_check_animation(){var e=!1,a="animation",s="",t="Webkit Moz O ms Khtml".split(" "),n="",l=document.createElement("DIV");if(l.style.animationName&&(e=!0),e===!1)for(var r=0;r<t.length;r++)if(void 0!==l.style[t[r]+"AnimationName"]){n=t[r],a=n+"Animation",s="-"+n.toLowerCase()+"-",e=!0;break}return e}function wfu_join_strings(e){for(var a=[].slice.call(arguments),s="",t="",n=1;n<a.length;n++)t=""==s||""==a[n]?"":e,s+=t+a[n];return s}function wfu_plugin_decode_string(e){for(var a,s,t=0,n="";t<e.length;)a=parseInt(e.substr(t,2),16),s=128>a?a:224>a?((31&a)<<6)+(63&parseInt(e.substr(t+=2,2),16)):((15&a)<<12)+((63&parseInt(e.substr(t+=2,2),16))<<6)+(63&parseInt(e.substr(t+=2,2),16)),n+=String.fromCharCode(s),t+=2;return n}function wfu_plugin_encode_string(e){var a=0,s="",t="";for(a=0;a<e.length;a++)num=e.charCodeAt(a),num>=2048?num=((16773120&num|917504)<<4)+((4032&num|8192)<<2)+(63&num|128):num>=128&&(num=((65472&num|12288)<<2)+(63&num|128)),t=num.toString(16),(1==t.length||3==t.length||5==t.length)&&(t="0"+t),s+=t;return s}function wfu_randomString(e){for(var a="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz",s=e,t="",n=0;s>n;n++){var l=Math.floor(Math.random()*a.length);t+=a.substring(l,l+1)}return t}function wfu_addEventHandler(e,a,s){e.addEventListener?e.addEventListener(a,s,!1):e.attachEvent?e.attachEvent("on"+a,s):e["on"+a]=s}function wfu_attach_element_handlers(e,a){for(var s=["DOMAttrModified","textInput","input","change","keypress","paste","focus","propertychange"],t=0;t<s.length;t++)wfu_addEventHandler(e,s[t],a)}function wfu_GetHttpRequestObject(){var e=null;try{e=new XMLHttpRequest}catch(a){try{e=new ActiveXObject("Msxml2.XMLHTTP")}catch(s){try{e=new ActiveXObject("Microsoft.XMLHTTP")}catch(a){}}}if(null==e&&window.createRequest)try{xmlhttp=window.createRequest()}catch(a){}return e}function wfu_filedetails_showhide(e,a,s){var t=(document.getElementById("wfu_messageblock_arrow_"+e+"_"+a),document.getElementById("wfu_messageblock_arrow_"+e+"_up_"+a)),n=document.getElementById("wfu_messageblock_arrow_"+e+"_down_"+a),l=document.getElementById("wfu_messageblock_subheader_"+e+"_"+a),r=document.getElementById("wfu_messageblock_header_"+e+"_state_"+a);s?(t.style.display="",n.style.display="none",l.style.display="",r.value=""):(t.style.display="none",n.style.display="",l.style.display="none",r.value="none")}function wfu_get_file_ids(e){for(var a=(document.getElementById("wfu_messageblock_"+e),document.getElementById("wfu_messageblock_subheader_"+e).nextSibling),s="wfu_messageblock_"+e+"_",t=[];null!=a;)1===a.nodeType&&a.id.substr(0,s.length)==s&&t.push(a.id.substr(a.id.lastIndexOf("_")+1)),a=a.nextSibling;return t}function wfu_get_filelist(e,a){a="undefined"!=typeof a?a:!0;var s=document.getElementById("upfile_"+e),t=s.files;return t||(t=s.value?[{name:s.value}]:[]),a&&"undefined"!=typeof s.filearray&&(t=s.filearray),t}function wfu_filedetails_toggle(e,a){var s=(document.getElementById("wfu_messageblock_arrow_"+e+"_"+a),document.getElementById("wfu_messageblock_arrow_"+e+"_up_"+a));wfu_filedetails_showhide(e,a,"none"==s.style.display)}function wfu_headerdetails_showhide(e,a){var s=(document.getElementById("wfu_messageblock_arrow_"+e),document.getElementById("wfu_messageblock_arrow_"+e+"_up")),t=document.getElementById("wfu_messageblock_arrow_"+e+"_down"),n=document.getElementById("wfu_messageblock_subheader_"+e),l=document.getElementById("wfu_messageblock_subheader_"+e+"_message"),r=document.getElementById("wfu_messageblock_subheader_"+e+"_adminmessage"),i=document.getElementById("wfu_messageblock_header_"+e+"_state"),o=wfu_get_file_ids(e);if(a){s.style.display="",t.style.display="none",("none"!=l.style.display||"none"!=r.style.display)&&(n.style.display=""),i.value="";for(var _=0;_<o.length;_++)document.getElementById("wfu_messageblock_"+e+"_"+o[_]).style.display="",document.getElementById("wfu_messageblock_subheader_"+e+"_"+o[_]).style.display=document.getElementById("wfu_messageblock_header_"+e+"_state_"+o[_]).value}else{s.style.display="none",t.style.display="",n.style.display="none",i.value="none";for(var _=0;_<o.length;_++)document.getElementById("wfu_messageblock_"+e+"_"+o[_]).style.display="none",document.getElementById("wfu_messageblock_subheader_"+e+"_"+o[_]).style.display="none"}}function wfu_headerdetails_toggle(e){var a=(document.getElementById("wfu_messageblock_arrow_"+e),document.getElementById("wfu_messageblock_arrow_"+e+"_up"));wfu_headerdetails_showhide(e,"none"==a.style.display)}function wfu_selectbutton_changed(e,a){wfu_BrowserCaps.supportsAJAX&&wfu_BrowserCaps.supportsHTML5||(a=0);var s=document.getElementById("upfile_"+e),t=wfu_get_filelist(e,!1);if(1==a){"undefined"==typeof s.filearray&&(s.filearray=Array());for(var n=0;n<t.length;n++)s.filearray.push(t[n])}else"undefined"!=typeof s.filearray&&delete s.filearray;wfu_update_filename_text(e)}function wfu_selectbutton_clicked(e){var a=document.getElementById("wordpress_file_upload_message_"+e);a&&(a.style.display="none"),wfu_reset_message(e),document.getElementById("upfile_"+e).value="";var s=document.getElementById("fileName_"+e);s&&(s.value="",s.className="file_input_textbox")}function wfu_update_uploadbutton_status(e){var a=document.getElementById("upload_"+e);if(a){var s=wfu_get_filelist(e),t=s.length>0;a.disabled=!t}}function wfu_update_filename_text(e){var a=document.getElementById("fileName_"+e);if(a){for(var s=wfu_get_filelist(e),t="",n=0;n<s.length;n++)""!=t&&(t+=", "),t+=s[n].name.replace(/c:\\fakepath\\/i,"");a.value=t}}function wfu_selectsubdir_check(e){var a=document.getElementById("selectsubdir_"+e);if(!a)return!0;var s=document.getElementById("selectsubdiredit_"+e),t="none"!=s.style.display;return t&&a.selectedIndex>0&&(s.value=a.value.replace(/^\s+/,""),s.className="file_item_clean_match subfolder_autoplus_match",wfu_selectsubdiredit_change(e)),document.getElementById("hiddeninput_"+e).value=t?s.value:a.selectedIndex,!t&&0==a.selectedIndex||t&&(""==s.value||"file_item_clean_empty subfolder_autoplus_empty"==s.className)?(t?(a.className="subfolder_autoplus_dropdown_prompt",s.value="",GlobalData.FreeChangeHandler=!0,s.className="file_item_clean_prompt subfolder_autoplus_prompt",GlobalData.FreeChangeHandler=!1):a.className="file_item_clean_prompt subfolder_dropdown_prompt",!1):(a.className=t?"subfolder_autoplus_dropdown":"file_item_clean subfolder_dropdown",t&&"file_item_clean_prompt subfolder_autoplus_prompt"==s.className&&(s.className="file_item_clean subfolder_autoplus"),a.options[0].style.display="none",!0)}function wfu_selectsubdiredit_enter(e){var a=document.getElementById("selectsubdir_"+e),s=document.getElementById("selectsubdiredit_"+e);"file_item_clean_empty subfolder_autoplus_empty"==s.className&&(s.value=""),a.className="subfolder_autoplus_dropdown",s.className="file_item_clean subfolder_autoplus"}function wfu_selectsubdiredit_exit(e){var a=document.getElementById("selectsubdiredit_"+e);""==a.value&&(a.value=GlobalData.consts.wfu_subdir_typedir,a.className="file_item_clean_empty subfolder_autoplus_empty")}function wfu_selectsubdiredit_change(e){if(!GlobalData.FreeChangeHandler){var a=document.getElementById("selectsubdir_"+e),s=document.getElementById("selectsubdiredit_"+e);if("none"!=s.style.display){if("file_item_clean_empty subfolder_autoplus_empty"==s.className)return a.selectedIndex=0,void(document.getElementById("hiddeninput_"+e).value="");document.getElementById("hiddeninput_"+e).value=s.value;for(var t,n=!1,l=1;l<a.options.length;l++)t=a.options[l].value.replace(/^\s+/,"").toLowerCase(),a.options[l].style.display=s.value.length>=3?t.substr(0,s.value.length)==s.value.toLowerCase()?"block":"none":"block",a.options[l].value.replace(/^\s+/,"")==s.value&&(a.selectedIndex=l,s.className="file_item_clean_match subfolder_autoplus_match",n=!0);n||(a.selectedIndex=0,s.className="file_item_clean subfolder_autoplus")}}}function wfu_selectsubdir_disable_onoff(e,a){var s=document.getElementById("selectsubdir_"+e);if(!s)return!0;var t=document.getElementById("selectsubdiredit_"+e),n="none"!=t.style.display;s.disabled=a,n&&(t.disabled=a)}function wfu_userdata_focused(e){var a=document.getElementById(e.id.replace("_field_","_fieldwrapper_"));if("file_userdata_fieldwrapper_required_empty"==a.className){a.className="file_userdata_fieldwrapper_required";var s=document.getElementById(e.id.replace("_field_","_hint_"));s.style.display="none"}}function wfu_Redirect(e){window.location=e}function wfu_loadStart(){}function wfu_uploadProgress(e,a,s,t){t&&"undefined"==typeof this.xhr&&(console.log("total="+e.total+", loaded="+e.loaded),console.log(e));var n=GlobalData[a].xhrs[s],l=0,r=0,i=document.getElementById("progressbar_"+a+"_animation");if(e.lengthComputable){if(n.sizeloaded=e.loaded,n.size<e.total&&e.total>0){r=e.total-n.size,n.deltasize+=r,n.size+=r;for(var o=0;o<GlobalData[a].xhrs.length;o++)GlobalData[a].xhrs[o].file_id==n.file_id&&(GlobalData[a].xhrs[o].totalsize+=r)}if(i){for(var _=0,d=0,u=[],o=0;o<GlobalData[a].xhrs.length;o++)u[GlobalData[a].xhrs[o].file_id]=0;for(var o=0;o<GlobalData[a].xhrs.length;o++)u[GlobalData[a].xhrs[o].file_id]=Math.max(GlobalData[a].xhrs[o].totalsize,u[GlobalData[a].xhrs[o].file_id]);for(var o=0;o<u.length;o++)"undefined"!=typeof u[o]&&(_+=u[o]);for(var o=0;o<GlobalData[a].xhrs.length;o++)d+=GlobalData[a].xhrs[o].sizeloaded;l=Math.round(100*d/_),i.style.width=l.toString()+"%"}}else i&&(i.style.width="0%")}function wfu_notify_WPFilebase(e,a){var s=wfu_GetHttpRequestObject();if(null==s){var t=document.createElement("iframe");return t.style.display="none",t.src=GlobalData.consts.ajax_url+"?action=wfu_ajax_action_notify_wpfilebase&params_index="+e+"&session_token="+a,void document.body.appendChild(t)}var n=GlobalData.consts.ajax_url;params=new Array(3),params[0]=new Array(2),params[0][0]="action",params[0][1]="wfu_ajax_action_notify_wpfilebase",params[1]=new Array(2),params[1][0]="params_index",params[1][1]=e,params[2]=new Array(2),params[2][0]="session_token",params[2][1]=a;for(var l="",t=0;t<params.length;t++)l+=(t>0?"&":"")+params[t][0]+"="+encodeURI(params[t][1]);s.open("POST",n,!0),s.setRequestHeader("Content-type","application/x-www-form-urlencoded"),s.onreadystatechange=function(){},s.send(l)}function wfu_send_email_notification(e,a,s,t,n,l,r,i,o){var _=wfu_GetHttpRequestObject();if(null!=_){var d=GlobalData.consts.ajax_url,u=wfu_get_userdata_count(e);params=new Array(7+u),params[0]=new Array(2),params[0][0]="action",params[0][1]="wfu_ajax_action_send_email_notification",params[1]=new Array(2),params[1][0]="params_index",params[1][1]=s,params[2]=new Array(2),params[2][0]="session_token",params[2][1]=t,params[3]=new Array(2),params[3][0]="only_filename_list",params[3][1]=n,params[4]=new Array(2),params[4][0]="target_path_list",params[4][1]=l,params[5]=new Array(2),params[5][0]="attachment_list",params[5][1]=r,params[6]=new Array(2),params[6][0]="uniqueuploadid_"+e,params[6][1]=a;for(var m=0;u>m;m++)params[7+m]=new Array(2),params[7+m][0]="userdata_"+m,params[7+m][1]=wfu_plugin_encode_string(document.getElementById("hiddeninput_"+e+"_userdata_"+m).value);for(var c="",m=0;m<params.length;m++)c+=(m>0?"&":"")+params[m][0]+"="+encodeURI(params[m][1]);var f=new Date;_.xhrid=-1,_.shortcode_id=e,_.requesttype="email",_.file_id=0,_.loading=!1,_.aborted=!1,_.unique_id=a,_.debugmode=i,_.is_admin=o,_.params_index=s,_.session_token=t,_.start_time=f.getTime(),_.end_time=_.start_time,_.finish_time=_.start_time+1e3*parseInt(GlobalData.consts.max_time_limit),_.fail_colors=GlobalData.consts.fail_colors,_.error_message_header="",_.error_message_failed=GlobalData.consts.message_failed,_.error_message_cancelled=GlobalData.consts.message_cancelled,_.error_adminmessage_unknown="",_.open("POST",d,!0),_.setRequestHeader("Content-type","application/x-www-form-urlencoded"),_.addEventListener("load",wfu_uploadComplete,!1),_.addEventListener("error",wfu_uploadFailed,!1),_.addEventListener("abort",wfu_uploadCanceled,!1),_.send(c)}}function wfu_format_debug_data(e,a){return output='<label class="file_messageblock_subheader_debugmessage_label">',output+="Debug Data"+a,output+="</label>",output+='<div class="file_messageblock_subheader_debugmessage_container">',output+=e,output+="</div>"}function wfu_uploadComplete(e){var a=new Date,s=this.shortcode_id,t=(this.file_id,!1),n="",l="",r="",i="unknown",o="",_="",d="wfu_fileupload_success:";this.loading=!1,this.end_time=a.getTime();var u=e.target.responseText,m=u,c="error";if(-1!=u&&u.indexOf("force_errorabort_code")>-1&&(c="errorabort",u=u.replace("force_errorabort_code","")),-1!=u){var f=u.indexOf(d);if(f>-1&&("true"==this.debugmode&&(_=u.substr(0,f)),m=u.substr(f+d.length),f=m.indexOf(":"),n=m.substr(0,f),m=m.substr(f+1),f=m.indexOf(":"),r=m.substr(0,f),l=m.substr(f+1)),""!=_){var p="";"fileupload"==this.requesttype?p=" - File: "+this.file_id:"email"==this.requesttype&&(p=" - Email Notification"),_=wfu_format_debug_data(_,p)}if(""!=r){var g=r.split(";");if(1==parseInt(g[2])){var b=g[3].split(",");i=wfu_plugin_decode_string(b[0]),o=b[4]}}}if(""==l||""==r){var y=this.fail_colors.split(","),w=wfu_Initialize_Params();w.general.shortcode_id=s,w.general.unique_id=this.unique_id,w.general.state=7,w.general.files_count="fileupload"==this.requesttype?1:0,w.general.upload_finish_time=this.finish_time,w.general.fail_message=GlobalData.consts.message_unknown,w.general.fail_admin_message=wfu_join_strings("<br />",this.error_adminmessage_unknown,this.requesttype+":"+m),w.general.files_count>0?(w[0]={},w[0].color=y[0],w[0].bgcolor=y[1],w[0].borcolor=y[2],w[0].message_type=c,i=c,w[0].header=this.error_message_header,w[0].message=GlobalData.consts.message_timelimit,w[0].admin_messages="true"==this.is_admin?GlobalData.consts.message_admin_timelimit:""):w.general.admin_messages.other="true"==this.is_admin?GlobalData.consts.message_admin_timelimit:"",w.general.upload_finish_time>0&&a.getTime()<w.general.upload_finish_time&&(w.general.files_count>0?(w[0].message=w.general.fail_message,w[0].admin_messages="true"==this.is_admin?w.general.fail_admin_message:""):w.general.admin_messages.other="true"==this.is_admin?w.general.fail_admin_message:"")}return t=""==l||""==r?wfu_ProcessUploadComplete(s,this.file_id,w,this.unique_id,this.params_index,this.session_token,"",[this.debugmode,_,this.is_admin],this.requesttype,""):wfu_ProcessUploadComplete(s,this.file_id,l,this.unique_id,this.params_index,this.session_token,r,[this.debugmode,_,this.is_admin],this.requesttype,n),t&&(wfu_unlock_upload(e.target.shortcode_id),wfu_hide_simple_progressbar(s),wfu_clear(e.target.shortcode_id)),e.target.return_status?i:void 0}function wfu_ProcessUploadComplete(sid,file_id,upload_params,unique_id,params_index,session_token,safe_output,debug_data,request_type,js_script_enc){if(sid&&!(0>sid)&&null!=upload_params&&""!=upload_params&&""!=unique_id&&("no-ajax"==unique_id||GlobalData[sid])){var do_redirect=!1;if("string"==typeof upload_params){upload_params=wfu_plugin_decode_string(upload_params.replace(/^\s+|\s+$/g,""));var Params=null;try{Params=JSON.parse(upload_params)}catch(e){}if(null==Params){var safe_parts=safe_output.split(";");Params=wfu_Initialize_Params(),Params.general.shortcode_id=sid,Params.general.unique_id=unique_id,Params.general.state=safe_parts[0],4==Params.general.state&&Params.general.state++;var default_colors=safe_parts[1].split(","),filedata="",error_jsonparse_filemessage=GlobalData.consts.jsonparse_filemessage,error_jsonparse_message=GlobalData.consts.jsonparse_message,error_jsonparse_adminmessage=GlobalData.consts.jsonparse_adminmessage;Params.general.files_count=parseInt(safe_parts[2]);for(var i=0;i<Params.general.files_count;i++)Params[i]={},Params[i].color=default_colors[0],Params[i].bgcolor=default_colors[1],Params[i].borcolor=default_colors[2],filedata=safe_parts[i+3].split(","),Params[i].message_type=wfu_plugin_decode_string(filedata[0]),Params[i].header=wfu_plugin_decode_string(filedata[1]),"success"==Params[i].message_type&&(Params[i].header+=error_jsonparse_filemessage,Params[i].message_type="warning"),Params[i].message=wfu_join_strings("<br />",error_jsonparse_message,wfu_plugin_decode_string(filedata[2])),Params[i].admin_messages=wfu_join_strings("<br />",error_jsonparse_adminmessage,wfu_plugin_decode_string(filedata[3]))}}else{if("object"!=typeof upload_params)return;var Params=upload_params}for(i=0;Params[i];)Params[i].message_type&&"error"==Params[i].message_type.substr(0,5)&&(Params[i].message_type=Params[i].message_type.substr(0,5)),i++;var message_table=document.getElementById("wfu_messageblock_"+sid),UploadStates_Ok=!0;if(!UploadStates[sid]&&message_table){var upload_states=document.getElementById("wfu_messageblock_header_"+sid+"_states").value;upload_states=wfu_plugin_decode_string(upload_states.replace(/^\s+|\s+$/g,"")),UploadStates[sid]=null;try{UploadStates[sid]=JSON.parse(upload_states)}catch(e){}null==UploadStates[sid]&&(UploadStates_Ok=!1)}GlobalData[sid]||(GlobalData[sid]=Object());var G=GlobalData[sid];if("no-ajax"==unique_id)G.last=!1,G.unique_id="",G.files_count=Params.general.files_count,0==Params.general.state&&(Params.general.files_count=0),G.files_processed=Params.general.files_count,G.upload_state=UploadStates_Ok?Params.general.state:10,G.message=Params.general.message,G.update_wpfilebase=Params.general.update_wpfilebase,G.redirect_link=Params.general.redirect_link,G.notify_only_filename_list="",G.notify_target_path_list="",G.notify_attachment_list="",G.admin_messages={},G.admin_messages.wpfilebase=Params.general.admin_messages.wpfilebase,G.admin_messages.notify=Params.general.admin_messages.notify,G.admin_messages.redirect=Params.general.admin_messages.redirect,G.admin_messages.debug=debug_data[1],G.admin_messages.other=Params.general.admin_messages.other,G.errors={},G.errors.wpfilebase=Params.general.errors.wpfilebase,G.errors.notify=Params.general.errors.notify,G.errors.redirect=Params.general.errors.redirect,G.current_size=0,G.total_size=0;else{if(""==G.unique_id||G.unique_id!=unique_id||G.unique_id!=Params.general.unique_id)return;if(G.last)return;0==Params.general.files_count&&Params[0]&&"error"==Params[0].message_type&&(Params.general.files_count=1);for(var file_status="",i=0;i<Params.general.files_count;i++)file_status="error"==Params[i].message_type&&0==G.files_processed?"error1":"error"==Params[i].message_type&&G.files_processed>0?"error2":Params[i].message_type,G.upload_state=GlobalData.filestatematch[file_status][G.upload_state];UploadStates_Ok||(G.upload_state=10),G.files_processed+=Params.general.files_count,G.message=wfu_join_strings("<br />",G.message,Params.general.message),""==G.update_wpfilebase&&(G.update_wpfilebase=Params.general.update_wpfilebase),(!request_type||request_type&&"email"!=request_type)&&(G.redirect_link=Params.general.redirect_link),G.notify_only_filename_list=wfu_join_strings(", ",G.notify_only_filename_list,Params.general.notify_only_filename_list),G.notify_target_path_list=wfu_join_strings(", ",G.notify_target_path_list,Params.general.notify_target_path_list),G.notify_attachment_list=wfu_join_strings(",",G.notify_attachment_list,Params.general.notify_attachment_list),G.admin_messages.debug=wfu_join_strings("<br />",G.admin_messages.debug,debug_data[1]),G.admin_messages.other=wfu_join_strings("<br />",G.admin_messages.other,Params.general.admin_messages.other),""==G.admin_messages.wpfilebase&&(G.admin_messages.wpfilebase=Params.general.admin_messages.wpfilebase),""==G.admin_messages.notify&&(G.admin_messages.notify=Params.general.admin_messages.notify),""==G.admin_messages.redirect&&(G.admin_messages.redirect=Params.general.admin_messages.redirect),""==G.errors.wpfilebase&&(G.errors.wpfilebase=Params.general.errors.wpfilebase),""==G.errors.notify&&(G.errors.notify=Params.general.errors.notify),""==G.errors.redirect&&(G.errors.redirect=Params.general.errors.redirect)}G.files_processed==G.files_count&&(G.last=!0,""!=G.update_wpfilebase&&(G.admin_messages.wpfilebase="",wfu_notify_WPFilebase(params_index,session_token)),""!=G.notify_only_filename_list&&(G.admin_messages.notify="",wfu_send_email_notification(sid,unique_id,params_index,session_token,G.notify_only_filename_list,G.notify_target_path_list,G.notify_attachment_list,debug_data[0],debug_data[2]),G.last=!1,G.notify_only_filename_list=""),G.last&&("no-ajax"!=unique_id&&wfu_notify_server_upload_ended(sid,unique_id,params_index,session_token),GlobalData.UploadInProgressString=GlobalData.UploadInProgressString.replace(new RegExp("\\["+unique_id+"\\]","g"),"")),""!=G.errors.redirect&&(G.redirect_link=""),""!=G.redirect_link&&G.last&&""==GlobalData.UploadInProgressString.trim()&&(G.upload_state=11,do_redirect=!0));var nonadmin_message=G.message,admin_message=wfu_join_strings("<br />",G.admin_messages.other,G.admin_messages.wpfilebase,G.admin_messages.notify,G.admin_messages.redirect,G.admin_messages.debug);if(!UploadStates_Ok){var error_jsonparse_headermessage=GlobalData.consts.jsonparse_headermessage,error_jsonparse_headeradminmessage=GlobalData.consts.jsonparse_headeradminmessage;nonadmin_message=wfu_join_strings("<br />",error_jsonparse_headermessage,nonadmin_message),admin_message=wfu_join_strings("<br />",error_jsonparse_headeradminmessage,admin_message)}if(G.last){0==G.files_count?G.upload_state=8:G.upload_state<4&&(G.upload_state+=4);var admin_messages_exist=""!=G.admin_messages.wpfilebase||""!=G.admin_messages.notify||""!=G.admin_messages.redirect||""!=G.admin_messages.other;4==G.upload_state&&""!=admin_message?G.upload_state++:5==G.upload_state&&""==!admin_message&&""==nonadmin_message&&G.upload_state--}if(message_table){var subheader_state=document.getElementById("wfu_messageblock_header_"+sid+"_state"),single_file_shown=1==G.files_count&&""==nonadmin_message&&""==admin_message&&G.last&&!do_redirect;if(single_file_shown)document.getElementById("wfu_messageblock_header_"+sid).style.display="none";else{document.getElementById("wfu_messageblock_header_"+sid).style.display="";var header_container=document.getElementById("wfu_messageblock_header_"+sid+"_container");if(UploadStates_Ok){var suffix="";1!=G.files_count||5!=G.upload_state&&7!=G.upload_state||(suffix="_singlefile"),header_container.innerHTML=UploadStates[sid]["State"+G.upload_state+suffix]}else{header_container.innerHTML="";var safe_container=document.getElementById("wfu_messageblock_header_"+sid+"_safecontainer");header_container.innerHTML=safe_container.innerHTML.replace(/_safe/g,"")}var subheader_show=!1;""!=nonadmin_message?(document.getElementById("wfu_messageblock_subheader_"+sid+"_message").style.display="",document.getElementById("wfu_messageblock_subheader_"+sid+"_messagelabel").innerHTML=nonadmin_message,subheader_show=!0):document.getElementById("wfu_messageblock_subheader_"+sid+"_message").style.display="none",""!=admin_message?(document.getElementById("wfu_messageblock_subheader_"+sid+"_adminmessage").style.display="",document.getElementById("wfu_messageblock_subheader_"+sid+"_adminmessagelabel").innerHTML=admin_message,subheader_show=!0):document.getElementById("wfu_messageblock_subheader_"+sid+"_adminmessage").style.display="none",document.getElementById("wfu_messageblock_subheader_"+sid).style.display=subheader_show?subheader_state.value:"none",subheader_show||G.files_processed>0?(header_container.colSpan=2,document.getElementById("wfu_messageblock_arrow_"+sid).style.display=""):(document.getElementById("wfu_messageblock_arrow_"+sid).style.display="none",header_container.colSpan=3)}for(var next_block=document.getElementById("wfu_messageblock_subheader_"+sid),next_block_id=0,file_block=null,file_template_container=document.getElementById("wfu_messageblock_"+sid+"_filetemplate"),file_contents="",door=document.getElementById("wfu_messageblock_"+sid+"_door"),ii=0,headerspan=1,subheaderspan=2,file_template=wfu_plugin_decode_string(file_template_container.value.replace(/^\s+|\s+$/g,"")),i=0;i<Params.general.files_count;i++){for(ii=i+file_id,file_contents=file_template.replace(/\[file_id\]/g,ii),file_contents=file_contents.replace(/\[filenumber_display\]/g,""),file_contents=file_contents.replace(/\[fileheader_color\]/g,Params[i].color),file_contents=file_contents.replace(/\[fileheader_bgcolor\]/g,Params[i].bgcolor),file_contents=file_contents.replace(/\[fileheader_borcolor\]/g,Params[i].borcolor),file_contents=file_contents.replace(/\[fileheader_message\]/g,Params[i].header),file_contents=file_contents.replace(/\[filesubheadermessage_display\]/g,'style="display:none;"'),file_contents=file_contents.replace(/\[filesubheader_message\]/g,Params[i].message),file_contents=file_contents.replace(/\[filesubheaderadminmessage_display\]/g,'style="display:none;"'),file_contents=file_contents.replace(/\[filesubheader_adminmessage\]/g,Params[i].admin_messages),file_contents="<table><tbody>"+file_contents+"</tbody></table>",door.innerHTML=file_contents,headerspan=1,subheaderspan=2,subheader_show=!1,file_block=document.getElementById("wfu_messageblock_"+sid+"_"+ii),1==G.files_count?(document.getElementById("wfu_messageblock_"+sid+"_filenumber_"+ii).style.display="none",document.getElementById("wfu_messageblock_subheader_"+sid+"_fileempty_"+ii).style.display="none",file_block.style.display=single_file_shown?"":subheader_state.value,headerspan++,subheaderspan++):file_block.style.display=subheader_state.value,""!=Params[i].message&&(document.getElementById("wfu_messageblock_subheader_"+sid+"_message_"+ii).style.display="",subheader_show=!0),""!=Params[i].admin_messages&&(document.getElementById("wfu_messageblock_subheader_"+sid+"_adminmessage_"+ii).style.display="",subheader_show=!0),subheader_show||(document.getElementById("wfu_messageblock_arrow_"+sid+"_"+ii).style.display="none",headerspan++),document.getElementById("wfu_messageblock_header_"+sid+"_container_"+ii).colSpan=headerspan,document.getElementById("wfu_messageblock_subheader_"+sid+"_container_"+ii).colSpan=subheaderspan;ii>next_block_id&&(next_block=next_block.nextSibling,null!=next_block);)1===next_block.nodeType&&(next_block_id=next_block.id.substr(next_block.id.lastIndexOf("_")+1));message_table.tBodies[0].insertBefore(file_block,next_block),next_block=file_block.nextSibling,file_block=document.getElementById("wfu_messageblock_subheader_"+sid+"_"+ii),message_table.tBodies[0].insertBefore(file_block,next_block),next_block=file_block,next_block_id=ii}single_file_shown&&(document.getElementById("wfu_messageblock_"+sid+"_1").style.display=""),message_table.style.display="",document.getElementById("wordpress_file_upload_message_"+sid).style.display=""}return js_script_enc&&eval(wfu_plugin_decode_string(js_script_enc)),do_redirect&&wfu_Redirect(G.redirect_link),G.last}}function wfu_uploadFailed(e,a){a&&(console.log("failure report following"),console.log(e));var s=e.target,t={target:{responseText:"",shortcode_id:s.shortcode_id}};wfu_uploadComplete.call(s,t)}function wfu_uploadCanceled(){}function wfu_notify_server_upload_ended(e,a,s,t){var n=wfu_GetHttpRequestObject();if(null!=n){var l=GlobalData.consts.ajax_url;params=new Array(5),params[0]=new Array(2),params[0][0]="action",params[0][1]="wfu_ajax_action",params[1]=new Array(2),params[1][0]="uniqueuploadid_"+e,params[1][1]=a,params[2]=new Array(2),params[2][0]="params_index",params[2][1]=s,params[3]=new Array(2),params[3][0]="session_token",params[3][1]=t,params[4]=new Array(2),params[4][0]="upload_finished",params[4][1]=1;for(var r="",i=0;i<params.length;i++)r+=(i>0?"&":"")+params[i][0]+"="+encodeURI(params[i][1]);n.open("POST",l,!0),n.setRequestHeader("Content-type","application/x-www-form-urlencoded"),n.onreadystatechange=function(){4==n.readyState&&200==n.status},n.send(r)}}function wfu_Initialize_Params(){var e={};return e.version="full",e.general={},e.general.shortcode_id=0,e.general.unique_id="",e.general.state=0,e.general.files_count=0,e.general.update_wpfilebase="",e.general.redirect_link="",e.general.upload_finish_time=0,e.general.message="",e.general.message_type="",e.general.admin_messages={},e.general.admin_messages.wpfilebase="",e.general.admin_messages.notify="",e.general.admin_messages.redirect="",e.general.admin_messages.other="",e.general.errors={},e.general.errors.wpfilebase="",e.general.errors.notify="",e.general.errors.redirect="",e.general.color="",e.general.bgcolor="",e.general.borcolor="",e.general.notify_only_filename_list="",e.general.notify_target_path_list="",e.general.notify_attachment_list="",e.general.fail_message="",e.general.fail_admin_message="",e}function wfu_redirect_to_classic(e,a,s,t){0!=wfu_filesselected(e)&&wfu_selectsubdir_check(e)&&wfu_check_required_userdata(e,!0)&&wfu_redirect_to_classic_cont(e,a,s,t,[""])}function wfu_redirect_to_classic_cont(e,a,s,t){var n=function(n){if(n.indexOf("wfu_response_success:")>-1){var l=wfu_Initialize_Params();if(l.general.shortcode_id=e,l.general.unique_id="",l.general.files_count=wfu_filesselected(e),wfu_ProcessUploadComplete(e,0,l,"no-ajax","",a,"",["false","","false"]),1==s){var r="";document.getElementById("upfile_"+e).name="uploadedfile_"+e+"_redirected"+r}document.getElementById("adminerrorcodes_"+e).value=t>0?t:"",document.getElementById("upfile_"+e).disabled=!1,document.getElementById("uniqueuploadid_"+e).value=wfu_randomString(10),document.getElementById("uploadform_"+e).submit()}},l="",r=new Date,i=GlobalData.consts.ajax_url+"?action=wfu_ajax_action&sid="+e+"&start_time="+r.getTime()+"&session_token="+a+l;wfu_lock_upload(e);var o=wfu_GetHttpRequestObject();if(null==o){var _=document.createElement("iframe");return _?(_.style.display="none",_.src=i,document.body.appendChild(_),void(_.onload=function(){n(_.contentDocument.body.innerHTML)})):void 0}o.open("GET",i,!0),o.onreadystatechange=function(){4==o.readyState&&200==o.status&&n(o.responseText)},o.send(null)}function wfu_filesselected(e){var a=document.getElementById("fileName_"+e),s=wfu_get_filelist(e);return 0==s.length&&a&&(a.value=GlobalData.consts.nofilemessage,a.className="file_input_textbox_nofile"),s.length}function wfu_check_required_userdata(e,a){for(var s=wfu_get_userdata_count(e),t=!1,n=0;s>n;n++){var l=document.getElementById("hiddeninput_"+e+"_userdata_"+n),r=document.getElementById("userdata_"+e+"_fieldwrapper_"+n),i=document.getElementById("userdata_"+e+"_field_"+n),o=document.getElementById("userdata_"+e+"_"+n),_=document.getElementById("userdata_"+e+"_hint_"+n);l.value=window["userdata_"+e+"_codes_"+n].value(i);for(var d={hintposition:"none"},u=document.getElementById("userdata_"+e+"_props_"+n).value.split("|"),m=0;m<u.length;m++)"p:"==u[m].substr(0,2)&&(d.hintposition=u[m].substr(2));var c="";if("file_userdata_fieldwrapper_required"==r.className.substr(0,35)&&(c=window["userdata_"+e+"_codes_"+n].empty(l)),""===c&&window["userdata_"+e+"_codes_"+n].validate&&(c=window["userdata_"+e+"_codes_"+n].validate(l)),""!==c){if(a)if("none"==d.hintposition)_.className="file_userdata_hint_none";
2
- else{r.className="file_userdata_fieldwrapper_required_empty";var f=o.getBoundingClientRect(),p=r.getBoundingClientRect();"inline"==d.hintposition?(_.className="file_userdata_hint_inline",_.style.left=parseInt(p.left-f.left)+"px",_.style.top=parseInt(p.top-f.top)+"px",_.style.right=parseInt(f.right-p.right)+"px",_.style.bottom=parseInt(f.bottom-p.bottom)+"px"):"top"==d.hintposition?(_.className="file_userdata_hint_top",_.style.left=parseInt(p.left-f.left)+"px",_.style.bottom=parseInt(f.bottom-p.top)+"px"):"right"==d.hintposition?(_.className="file_userdata_hint_right",_.style.left=parseInt(p.right-f.left)+"px",_.style.top=parseInt(p.top-f.top)+"px"):"bottom"==d.hintposition?(_.className="file_userdata_hint_bottom",_.style.left=parseInt(p.left-f.left)+"px",_.style.top=parseInt(p.bottom-f.top)+"px"):"left"==d.hintposition&&(_.className="file_userdata_hint_left",_.style.right=parseInt(f.right-p.left)+"px",_.style.top=parseInt(p.top-f.top)+"px"),_.innerHTML=c,_.style.display="block"}t=!0}}return!t}function wfu_HTML5UploadFile(e,a,s){if(!wfu_BrowserCaps.supportsAJAX)return void wfu_redirect_to_classic(e,s,1,1);if(!wfu_BrowserCaps.supportsHTML5)return void wfu_redirect_to_classic(e,s,1,2);a=wfu_plugin_decode_string(a.replace(/^\s+|\s+$/g,""));var t=null;try{t=JSON.parse(a)}catch(n){}if(null==t)return void wfu_redirect_to_classic(e,s,1,3);var l=wfu_GetHttpRequestObject();if(null!=l){var r=wfu_filesselected(e);if(0!=r){var i=document.getElementById("upload_"+e),o=!i;if(!wfu_selectsubdir_check(e))return void(o&&wfu_clear_files(e));var _=r;return _+=_,wfu_check_required_userdata(e,!0)?void wfu_HTML5UploadFile_cont(e,t,s,[""]):void(o&&wfu_clear_files(e))}}}function wfu_HTML5UploadFile_cont(e,a,s){function t(l,r,i,m){f=!0;var p=wfu_GetHttpRequestObject(),g=wfu_GetHttpRequestObject();if(null!=p&&null!=g){var b=null,y=null;try{var b=new FormData,y=new FormData}catch(w){}if(null!=b&&null!=y){i||b.append("uploadedfile_"+e+_,r),b.append("uploadedfile_"+e+"_index",l),b.append("uploadedfile_"+e+"_name",wfu_plugin_encode_string(o[l].name)),b.append("uploadedfile_"+e+"_size",o[l].size),b.append("action","wfu_ajax_action"),b.append("uniqueuploadid_"+e,u),b.append("params_index",a.params_index),b.append("subdir_sel_index",n),i?b.append("only_check","1"):b.append("only_check","0"),b.append("session_token",s),b.append("unique_id",d);for(var h=wfu_get_userdata_count(e),v=0;h>v;v++)b.append("hiddeninput_"+e+"_userdata_"+v,document.getElementById("hiddeninput_"+e+"_userdata_"+v).value);var G=GlobalData[e].xhrs.push(p)-1,I=new Date;if(p.xhrid=G,p.shortcode_id=e,p.requesttype="fileupload",p.file_id=l+1,i?(p.size=0,p.totalsize=0,p.loading=!1):(p.size=r.size,p.totalsize=o[l].size,p.loading=!0),p.deltasize=0,p.sizeloaded=0,p.aborted=!1,p.unique_id=u,p.params_index=a.params_index,p.session_token=s,p.debugmode=a.debugmode,p.is_admin=a.is_admin,p.start_time=I.getTime(),p.end_time=p.start_time,p.finish_time=p.start_time+1e3*parseInt(GlobalData.consts.max_time_limit),p.fail_colors=a.fail_colors,p.error_message_header=a.error_header.replace(/%username%/g,"no data"),p.error_message_header=p.error_message_header.replace(/%useremail%/g,"no data"),p.error_message_header=p.error_message_header.replace(/%filename%/g,o[l].name),p.error_message_header=p.error_message_header.replace(/%filepath%/g,o[l].name),p.error_message_failed=GlobalData.consts.message_failed,p.error_message_cancelled=GlobalData.consts.message_cancelled,p.error_adminmessage_unknown=GlobalData.consts.adminmessage_unknown.replace(/%username%/g,"no data"),p.error_adminmessage_unknown=p.error_adminmessage_unknown.replace(/%useremail%/g,"no data"),p.error_adminmessage_unknown=p.error_adminmessage_unknown.replace(/%filename%/g,o[l].name),p.error_adminmessage_unknown=p.error_adminmessage_unknown.replace(/%filepath%/g,o[l].name),m){y.append("action","wfu_ajax_action"),y.append("params_index",a.params_index),y.append("session_token",s),y.append("force_connection_close","1"),g.open("POST",GlobalData.consts.ajax_url,!1);try{g.send(y)}catch(k){}f="success"==g.responseText}if(f)i?(p.addEventListener("load",function(a){a={target:{responseText:a.target.responseText,shortcode_id:e,return_status:!0}};var s=wfu_uploadComplete.call(p,a);f="success"==s||"warning"==s,f&&t(l,r,!1,!1)},!1),p.addEventListener("error",function(){},!1),p.open("POST",GlobalData.consts.ajax_url,!0),p.send(b)):(p.upload.xhr=p,p.upload.dummy=1,p.upload.addEventListener("loadstart",wfu_loadStart,!1),p.upload.addEventListener("progress",new Function("evt","wfu_uploadProgress(evt, "+e+", "+G+", "+a.debugmode+");"),!1),p.addEventListener("load",wfu_uploadComplete,!1),p.addEventListener("error",new Function("evt","wfu_uploadFailed(evt, "+a.debugmode+");"),!1),p.addEventListener("abort",wfu_uploadCanceled,!1),p.open("POST",GlobalData.consts.ajax_url,!0),p.send(b));else{var B={target:{responseText:"",shortcode_id:e}};wfu_uploadComplete.call(p,B)}return c++,f}}}var n=-1,l=document.getElementById("selectsubdir_"+e);if(l){var r=document.getElementById("selectsubdiredit_"+e),i="none"!=r.style.display;n=i?r.value:l.selectedIndex}var o=wfu_get_filelist(e),_="",d=wfu_randomString(10),u=d;GlobalData.UploadInProgressString+="["+u+"]",GlobalData[e]={},GlobalData[e].unique_id=u,GlobalData[e].last=!1,GlobalData[e].files_count=1,GlobalData[e].files_processed=0,GlobalData[e].upload_state=0,GlobalData[e].message="",GlobalData[e].update_wpfilebase="",GlobalData[e].redirect_link="",GlobalData[e].notify_only_filename_list="",GlobalData[e].notify_target_path_list="",GlobalData[e].notify_attachment_list="",GlobalData[e].admin_messages={},GlobalData[e].admin_messages.wpfilebase="",GlobalData[e].admin_messages.notify="",GlobalData[e].admin_messages.redirect="",GlobalData[e].admin_messages.debug="",GlobalData[e].admin_messages.other="",GlobalData[e].errors={},GlobalData[e].errors.wpfilebase="",GlobalData[e].errors.notify="",GlobalData[e].errors.redirect="",GlobalData[e].xhrs=Array(),wfu_show_simple_progressbar(a.shortcode_id,"progressive");var m=wfu_Initialize_Params();m.general.shortcode_id=e,m.general.unique_id=u,wfu_ProcessUploadComplete(e,0,m,u,a.params_index,s,"",["false","","false"]);var c=0,f=!0,p=0;t(p,o[p],!0,!1)}function wfu_get_userdata_count(e){for(var a=0;document.getElementById("userdata_"+e+"_"+a);)a++;return a}function wfu_lock_upload(e){var a=document.getElementById("fileName_"+e);a&&(a.disabled=!0),document.getElementById("input_"+e).disabled=!0,document.getElementById("upfile_"+e).disabled=!0,wfu_selectsubdir_disable_onoff(e,!0);var s=document.getElementById("upload_"+e);s&&(s.disabled=!0);for(var t=wfu_get_userdata_count(e),n=0;t>n;n++)window["userdata_"+e+"_codes_"+n].lock(document.getElementById("userdata_"+e+"_field_"+n))}function wfu_unlock_upload(e){var a=document.getElementById("fileName_"+e);a&&(a.disabled=!1),document.getElementById("input_"+e).disabled=!1,document.getElementById("upfile_"+e).disabled=!1,wfu_selectsubdir_disable_onoff(e,!1);var s=document.getElementById("upload_"+e);s&&(s.disabled=!1);for(var t=wfu_get_userdata_count(e),n=0;t>n;n++)window["userdata_"+e+"_codes_"+n].unlock(document.getElementById("userdata_"+e+"_field_"+n))}function wfu_clear_files(e){document.getElementById("uploadform_"+e).reset();var a=document.getElementById("fileName_"+e);a&&(a.value="",a.className="file_input_textbox")}function wfu_clear(e){wfu_clear_files(e);var a=document.getElementById("selectsubdir_"+e);if(a){var s=document.getElementById("selectsubdiredit_"+e),t="none"!=s.style.display;t?(a.selectedIndex=-1,s.value=""):a.selectedIndex=parseInt(document.getElementById("selectsubdirdefault_"+e).value)}for(var n=wfu_get_userdata_count(e),l=0;n>l;l++)window["userdata_"+e+"_codes_"+l].reset(document.getElementById("userdata_"+e+"_field_"+l),document.getElementById("hiddeninput_"+e+"_userdata_"+l))}function wfu_reset_message(e){var a=document.getElementById("wfu_messageblock_"+e);if(a){document.getElementById("wfu_messageblock_header_"+e).style.display="";var s=document.getElementById("wfu_messageblock_header_"+e+"_container");UploadStates[e]&&(s.innerHTML=UploadStates[e].State0),document.getElementById("wfu_messageblock_header_"+e+"_state").value="none",document.getElementById("wfu_messageblock_arrow_"+e).style.display="none",s.colSpan=3,document.getElementById("wfu_messageblock_subheader_"+e+"_messagelabel").innerHTML="",document.getElementById("wfu_messageblock_subheader_"+e+"_adminmessagelabel").innerHTML="",document.getElementById("wfu_messageblock_subheader_"+e).style.display="none",document.getElementById("wfu_messageblock_subheader_"+e+"_message").style.display="none",document.getElementById("wfu_messageblock_subheader_"+e+"_adminmessage").style.display="none";for(var t=wfu_get_file_ids(e),n=1;n<=t.length;n++)a.tBodies[0].removeChild(document.getElementById("wfu_messageblock_"+e+"_"+n)),a.tBodies[0].removeChild(document.getElementById("wfu_messageblock_subheader_"+e+"_"+n))}}function wfu_show_simple_progressbar(e,a){var s=document.getElementById("progressbar_"+e+"_animation"),t=document.getElementById("progressbar_"+e+"_imagesafe");s&&("progressive"==a?(s.style.width="0%",s.className="file_progress_progressive",t.style.display="none",s.style.display="block"):wfu_BrowserCaps.supportsAnimation?(s.style.width="25%",s.className="file_progress_shuffle",t.style.display="none",s.style.display="block"):(s.style.width="0%",s.className="file_progress_noanimation",s.style.display="none",t.style.display="block"),document.getElementById("wordpress_file_upload_progressbar_"+e).style.display="block")}function wfu_hide_simple_progressbar(e){var a=document.getElementById("progressbar_"+e+"_animation"),s=document.getElementById("progressbar_"+e+"_imagesafe");a&&(document.getElementById("wordpress_file_upload_progressbar_"+e).style.display="none",a.style.width="0%",a.className="file_progress_noanimation",s.style.display="none",a.style.display="block")}function wfu_invoke_shortcode_editor(e,a,s,t){for(var n=document.getElementsByTagName("BUTTON"),l=0,r=null,i=0;i<n.length;i++)n[i].parentNode&&n[i].parentNode.id==t+"_editor_"+e&&(r=n[i],l++);if(0!=l){if(l>1)return void alert(GlobalData.consts.same_pluginid);var o=wfu_GetHttpRequestObject();if(null!=o){r.parentNode.style.display="none",document.getElementById(t+"_overlay_"+e).style.display="block";var _=GlobalData.consts.ajax_url;params=new Array(6),params[0]=new Array(2),params[0][0]="action",params[0][1]="wfu_ajax_action_edit_shortcode",params[1]=new Array(2),params[1][0]="upload_id",params[1][1]=e,params[2]=new Array(2),params[2][0]="post_id",params[2][1]=a,params[3]=new Array(2),params[3][0]="post_hash",params[3][1]=s,params[4]=new Array(2),params[4][0]="shortcode_tag",params[4][1]=t,params[5]=new Array(2),params[5][0]="widget_id",params[5][1]=document.getElementById(t+"_"+e+"_widgetid")?document.getElementById(t+"_"+e+"_widgetid").value:"";for(var d="",i=0;i<params.length;i++)d+=(i>0?"&":"")+params[i][0]+"="+encodeURI(params[i][1]);o.open("POST",_,!0),o.setRequestHeader("Content-type","application/x-www-form-urlencoded"),o.onreadystatechange=function(){if(4==o.readyState&&200==o.status){document.getElementById(t+"_overlay_"+e).style.display="none",r.parentNode.removeAttribute("style");var a="wfu_edit_shortcode:",s=o.responseText.indexOf(a);-1==s&&(s=o.responseText.length);var n=(o.responseText.substr(0,s),o.responseText.substr(s+a.length,o.responseText.length-s-a.length));s=n.indexOf(":");var l=n.substr(0,s);if(txt_value=n.substr(s+1,n.length-s-1),"success"==l){var i=window.open(wfu_plugin_decode_string(txt_value),"_blank");i?i.plugin_window=window:alert(GlobalData.consts.enable_popups)}else"check_page_obsolete"==l&&alert(txt_value)}},o.send(d)}}}GlobalData={},UploadStates={},GlobalData.filestatematch={},GlobalData.filestatematch.success=[0,1,2,2],GlobalData.filestatematch.warning=[1,1,2,2],GlobalData.filestatematch.error1=[3,3,2,3],GlobalData.filestatematch.error2=[2,2,2,3],GlobalData.UploadInProgressString="",GlobalData.FreeChangeHandler=!1,wfu_Check_Browser_Capabilities();
1
+ function wfu_Initialize_Consts(e){if("undefined"==typeof GlobalData.consts){GlobalData.consts=new Object;for(var a=e.split(";"),s=0;s<a.length;s++)const_txt=a[s].split(":"),GlobalData.consts[wfu_plugin_decode_string(const_txt[0])]=wfu_plugin_decode_string(const_txt[1])}}function wfu_plugin_load_action(e){wfu_install_unload_hook();var a=document.getElementById("selectsubdiredit_"+e);a&&"none"!=a.style.display&&wfu_attach_element_handlers(a,new Function("wfu_selectsubdiredit_change("+e+");"))}function wfu_install_unload_hook(){window.onbeforeunload=wfu_unload_hook}function wfu_unload_hook(){return""!=GlobalData.UploadInProgressString&&""!=GlobalData.UploadInProgressString.trim()?GlobalData.consts.wfu_pageexit_prompt:void 0}function wfu_Check_Browser_Capabilities(){if("undefined"==typeof wfu_BrowserCaps){wfu_BrowserCaps=new Object;var e=wfu_GetHttpRequestObject();wfu_BrowserCaps.supportsAJAX=null!=e,wfu_BrowserCaps.supportsUploadProgress=!!(e&&"upload"in e&&"onprogress"in e.upload);var a=null;try{var a=new FormData}catch(s){}wfu_BrowserCaps.supportsHTML5=null!=a;var s=document.createElement("iframe");wfu_BrowserCaps.supportsIFRAME=null!=s,wfu_BrowserCaps.supportsDRAGDROP=window.FileReader?!0:!1,wfu_BrowserCaps.supportsAnimation=wfu_check_animation(),wfu_BrowserCaps.isSafari=Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0}}function wfu_check_animation(){var e=!1,a="animation",s="",t="Webkit Moz O ms Khtml".split(" "),n="",l=document.createElement("DIV");if(l.style.animationName&&(e=!0),e===!1)for(var r=0;r<t.length;r++)if(void 0!==l.style[t[r]+"AnimationName"]){n=t[r],a=n+"Animation",s="-"+n.toLowerCase()+"-",e=!0;break}return e}function wfu_join_strings(e){for(var a=[].slice.call(arguments),s="",t="",n=1;n<a.length;n++)t=""==s||""==a[n]?"":e,s+=t+a[n];return s}function wfu_plugin_decode_string(e){for(var a,s,t=0,n="";t<e.length;)a=parseInt(e.substr(t,2),16),s=128>a?a:224>a?((31&a)<<6)+(63&parseInt(e.substr(t+=2,2),16)):((15&a)<<12)+((63&parseInt(e.substr(t+=2,2),16))<<6)+(63&parseInt(e.substr(t+=2,2),16)),n+=String.fromCharCode(s),t+=2;return n}function wfu_plugin_encode_string(e){var a=0,s="",t="";for(a=0;a<e.length;a++)num=e.charCodeAt(a),num>=2048?num=((16773120&num|917504)<<4)+((4032&num|8192)<<2)+(63&num|128):num>=128&&(num=((65472&num|12288)<<2)+(63&num|128)),t=num.toString(16),(1==t.length||3==t.length||5==t.length)&&(t="0"+t),s+=t;return s}function wfu_randomString(e){for(var a="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz",s=e,t="",n=0;s>n;n++){var l=Math.floor(Math.random()*a.length);t+=a.substring(l,l+1)}return t}function wfu_addEventHandler(e,a,s){e.addEventListener?e.addEventListener(a,s,!1):e.attachEvent?e.attachEvent("on"+a,s):e["on"+a]=s}function wfu_attach_element_handlers(e,a){for(var s=["DOMAttrModified","textInput","input","change","keypress","paste","focus","propertychange"],t=0;t<s.length;t++)wfu_addEventHandler(e,s[t],a)}function wfu_GetHttpRequestObject(){var e=null;try{e=new XMLHttpRequest}catch(a){try{e=new ActiveXObject("Msxml2.XMLHTTP")}catch(s){try{e=new ActiveXObject("Microsoft.XMLHTTP")}catch(a){}}}if(null==e&&window.createRequest)try{xmlhttp=window.createRequest()}catch(a){}return e}function wfu_filedetails_showhide(e,a,s){var t=(document.getElementById("wfu_messageblock_arrow_"+e+"_"+a),document.getElementById("wfu_messageblock_arrow_"+e+"_up_"+a)),n=document.getElementById("wfu_messageblock_arrow_"+e+"_down_"+a),l=document.getElementById("wfu_messageblock_subheader_"+e+"_"+a),r=document.getElementById("wfu_messageblock_header_"+e+"_state_"+a);s?(t.style.display="",n.style.display="none",l.style.display="",r.value=""):(t.style.display="none",n.style.display="",l.style.display="none",r.value="none")}function wfu_get_file_ids(e){for(var a=(document.getElementById("wfu_messageblock_"+e),document.getElementById("wfu_messageblock_subheader_"+e).nextSibling),s="wfu_messageblock_"+e+"_",t=[];null!=a;)1===a.nodeType&&a.id.substr(0,s.length)==s&&t.push(a.id.substr(a.id.lastIndexOf("_")+1)),a=a.nextSibling;return t}function wfu_get_filelist(e,a){a="undefined"!=typeof a?a:!0;var s=document.getElementById("upfile_"+e),t=s.files;return t||(t=s.value?[{name:s.value}]:[]),a&&"undefined"!=typeof s.filearray&&(t=s.filearray),t}function wfu_filedetails_toggle(e,a){var s=(document.getElementById("wfu_messageblock_arrow_"+e+"_"+a),document.getElementById("wfu_messageblock_arrow_"+e+"_up_"+a));wfu_filedetails_showhide(e,a,"none"==s.style.display)}function wfu_headerdetails_showhide(e,a){var s=(document.getElementById("wfu_messageblock_arrow_"+e),document.getElementById("wfu_messageblock_arrow_"+e+"_up")),t=document.getElementById("wfu_messageblock_arrow_"+e+"_down"),n=document.getElementById("wfu_messageblock_subheader_"+e),l=document.getElementById("wfu_messageblock_subheader_"+e+"_message"),r=document.getElementById("wfu_messageblock_subheader_"+e+"_adminmessage"),i=document.getElementById("wfu_messageblock_header_"+e+"_state"),o=wfu_get_file_ids(e);if(a){s.style.display="",t.style.display="none",("none"!=l.style.display||"none"!=r.style.display)&&(n.style.display=""),i.value="";for(var _=0;_<o.length;_++)document.getElementById("wfu_messageblock_"+e+"_"+o[_]).style.display="",document.getElementById("wfu_messageblock_subheader_"+e+"_"+o[_]).style.display=document.getElementById("wfu_messageblock_header_"+e+"_state_"+o[_]).value}else{s.style.display="none",t.style.display="",n.style.display="none",i.value="none";for(var _=0;_<o.length;_++)document.getElementById("wfu_messageblock_"+e+"_"+o[_]).style.display="none",document.getElementById("wfu_messageblock_subheader_"+e+"_"+o[_]).style.display="none"}}function wfu_headerdetails_toggle(e){var a=(document.getElementById("wfu_messageblock_arrow_"+e),document.getElementById("wfu_messageblock_arrow_"+e+"_up"));wfu_headerdetails_showhide(e,"none"==a.style.display)}function wfu_selectbutton_changed(e,a){wfu_BrowserCaps.supportsAJAX&&wfu_BrowserCaps.supportsHTML5||(a=0);var s=document.getElementById("upfile_"+e),t=wfu_get_filelist(e,!1);if(1==a){"undefined"==typeof s.filearray&&(s.filearray=Array());for(var n=0;n<t.length;n++)s.filearray.push(t[n])}else"undefined"!=typeof s.filearray&&delete s.filearray;wfu_update_filename_text(e)}function wfu_selectbutton_clicked(e){var a=document.getElementById("wordpress_file_upload_message_"+e);a&&(a.style.display="none"),wfu_reset_message(e),document.getElementById("upfile_"+e).value="";var s=document.getElementById("fileName_"+e);s&&(s.value="",s.className="file_input_textbox")}function wfu_update_uploadbutton_status(e){var a=document.getElementById("upload_"+e);if(a){var s=wfu_get_filelist(e),t=s.length>0;a.disabled=!t}}function wfu_update_filename_text(e){var a=document.getElementById("fileName_"+e);if(a){for(var s=wfu_get_filelist(e),t="",n=0;n<s.length;n++)""!=t&&(t+=", "),t+=s[n].name.replace(/c:\\fakepath\\/i,"");a.value=t}}function wfu_selectsubdir_check(e){var a=document.getElementById("selectsubdir_"+e);if(!a)return!0;var s=document.getElementById("selectsubdiredit_"+e),t="none"!=s.style.display;return t&&a.selectedIndex>0&&(s.value=a.value.replace(/^\s+/,""),s.className="file_item_clean_match subfolder_autoplus_match",wfu_selectsubdiredit_change(e)),t?document.getElementById("hiddeninput_"+e).value=s.value:document.getElementById("hiddeninput_"+e).value=a.selectedIndex,!t&&0==a.selectedIndex||t&&(""==s.value||"file_item_clean_empty subfolder_autoplus_empty"==s.className)?(t?(a.className="subfolder_autoplus_dropdown_prompt",s.value="",GlobalData.FreeChangeHandler=!0,s.className="file_item_clean_prompt subfolder_autoplus_prompt",GlobalData.FreeChangeHandler=!1):a.className="file_item_clean_prompt subfolder_dropdown_prompt",!1):(t?a.className="subfolder_autoplus_dropdown":a.className="file_item_clean subfolder_dropdown",t&&"file_item_clean_prompt subfolder_autoplus_prompt"==s.className&&(s.className="file_item_clean subfolder_autoplus"),a.options[0].style.display="none",!0)}function wfu_selectsubdiredit_enter(e){var a=document.getElementById("selectsubdir_"+e),s=document.getElementById("selectsubdiredit_"+e);"file_item_clean_empty subfolder_autoplus_empty"==s.className&&(s.value=""),a.className="subfolder_autoplus_dropdown",s.className="file_item_clean subfolder_autoplus"}function wfu_selectsubdiredit_exit(e){var a=document.getElementById("selectsubdiredit_"+e);""==a.value&&(a.value=GlobalData.consts.wfu_subdir_typedir,a.className="file_item_clean_empty subfolder_autoplus_empty")}function wfu_selectsubdiredit_change(e){if(!GlobalData.FreeChangeHandler){var a=document.getElementById("selectsubdir_"+e),s=document.getElementById("selectsubdiredit_"+e);if("none"!=s.style.display){if("file_item_clean_empty subfolder_autoplus_empty"==s.className)return a.selectedIndex=0,void(document.getElementById("hiddeninput_"+e).value="");document.getElementById("hiddeninput_"+e).value=s.value;for(var t,n=!1,l=1;l<a.options.length;l++)t=a.options[l].value.replace(/^\s+/,"").toLowerCase(),s.value.length>=3?t.substr(0,s.value.length)==s.value.toLowerCase()?a.options[l].style.display="block":a.options[l].style.display="none":a.options[l].style.display="block",a.options[l].value.replace(/^\s+/,"")==s.value&&(a.selectedIndex=l,s.className="file_item_clean_match subfolder_autoplus_match",n=!0);n||(a.selectedIndex=0,s.className="file_item_clean subfolder_autoplus")}}}function wfu_selectsubdir_disable_onoff(e,a){var s=document.getElementById("selectsubdir_"+e);if(!s)return!0;var t=document.getElementById("selectsubdiredit_"+e),n="none"!=t.style.display;s.disabled=a,n&&(t.disabled=a)}function wfu_userdata_focused(e){var a=document.getElementById(e.id.replace("_field_","_fieldwrapper_"));if("file_userdata_fieldwrapper_required_empty"==a.className){a.className="file_userdata_fieldwrapper_required";var s=document.getElementById(e.id.replace("_field_","_hint_"));s.style.display="none"}}function wfu_Redirect(e){window.location=e}function wfu_loadStart(e){}function wfu_uploadProgress(e,a,s,t){t&&"undefined"==typeof this.xhr&&(console.log("total="+e.total+", loaded="+e.loaded),console.log(e));var n=GlobalData[a].xhrs[s],l=0,r=0,i=document.getElementById("progressbar_"+a+"_animation");if(e.lengthComputable){if(n.sizeloaded=e.loaded,n.size<e.total&&e.total>0){r=e.total-n.size,n.deltasize+=r,n.size+=r;for(var o=0;o<GlobalData[a].xhrs.length;o++)GlobalData[a].xhrs[o].file_id==n.file_id&&(GlobalData[a].xhrs[o].totalsize+=r)}if(i){for(var _=0,d=0,u=[],o=0;o<GlobalData[a].xhrs.length;o++)u[GlobalData[a].xhrs[o].file_id]=0;for(var o=0;o<GlobalData[a].xhrs.length;o++)u[GlobalData[a].xhrs[o].file_id]=Math.max(GlobalData[a].xhrs[o].totalsize,u[GlobalData[a].xhrs[o].file_id]);for(var o=0;o<u.length;o++)"undefined"!=typeof u[o]&&(_+=u[o]);for(var o=0;o<GlobalData[a].xhrs.length;o++)d+=GlobalData[a].xhrs[o].sizeloaded;l=Math.round(100*d/_),i.style.width=l.toString()+"%"}}else i&&(i.style.width="0%")}function wfu_notify_WPFilebase(e,a){var s=wfu_GetHttpRequestObject();if(null==s){var t=document.createElement("iframe");return t.style.display="none",t.src=GlobalData.consts.ajax_url+"?action=wfu_ajax_action_notify_wpfilebase&params_index="+e+"&session_token="+a,void document.body.appendChild(t)}var n=GlobalData.consts.ajax_url;params=new Array(3),params[0]=new Array(2),params[0][0]="action",params[0][1]="wfu_ajax_action_notify_wpfilebase",params[1]=new Array(2),params[1][0]="params_index",params[1][1]=e,params[2]=new Array(2),params[2][0]="session_token",params[2][1]=a;for(var l="",t=0;t<params.length;t++)l+=(t>0?"&":"")+params[t][0]+"="+encodeURI(params[t][1]);s.open("POST",n,!0),s.setRequestHeader("Content-type","application/x-www-form-urlencoded"),s.onreadystatechange=function(){},s.send(l)}function wfu_send_email_notification(e,a,s,t,n,l,r,i,o){var _=wfu_GetHttpRequestObject();if(null!=_){var d=GlobalData.consts.ajax_url,u=wfu_get_userdata_count(e);params=new Array(7+u),params[0]=new Array(2),params[0][0]="action",params[0][1]="wfu_ajax_action_send_email_notification",params[1]=new Array(2),params[1][0]="params_index",params[1][1]=s,params[2]=new Array(2),params[2][0]="session_token",params[2][1]=t,params[3]=new Array(2),params[3][0]="only_filename_list",params[3][1]=n,params[4]=new Array(2),params[4][0]="target_path_list",params[4][1]=l,params[5]=new Array(2),params[5][0]="attachment_list",params[5][1]=r,params[6]=new Array(2),params[6][0]="uniqueuploadid_"+e,params[6][1]=a;for(var m=0;u>m;m++)params[7+m]=new Array(2),params[7+m][0]="userdata_"+m,params[7+m][1]=wfu_plugin_encode_string(document.getElementById("hiddeninput_"+e+"_userdata_"+m).value);for(var c="",m=0;m<params.length;m++)c+=(m>0?"&":"")+params[m][0]+"="+encodeURI(params[m][1]);var f=new Date;_.xhrid=-1,_.shortcode_id=e,_.requesttype="email",_.file_id=0,_.loading=!1,_.aborted=!1,_.unique_id=a,_.debugmode=i,_.is_admin=o,_.params_index=s,_.session_token=t,_.start_time=f.getTime(),_.end_time=_.start_time,_.finish_time=_.start_time+1e3*parseInt(GlobalData.consts.max_time_limit),_.fail_colors=GlobalData.consts.fail_colors,_.error_message_header="",_.error_message_failed=GlobalData.consts.message_failed,_.error_message_cancelled=GlobalData.consts.message_cancelled,_.error_adminmessage_unknown="",_.open("POST",d,!0),_.setRequestHeader("Content-type","application/x-www-form-urlencoded"),_.addEventListener("load",wfu_uploadComplete,!1),_.addEventListener("error",wfu_uploadFailed,!1),_.addEventListener("abort",wfu_uploadCanceled,!1),_.send(c)}}function wfu_format_debug_data(e,a){return output='<label class="file_messageblock_subheader_debugmessage_label">',output+="Debug Data"+a,output+="</label>",output+='<div class="file_messageblock_subheader_debugmessage_container">',output+=e,output+="</div>",output}function wfu_uploadComplete(e){var a=new Date,s=this.shortcode_id,t=(this.file_id,!1),n="",l="",r="",i="unknown",o="",_="",d="wfu_fileupload_success:";this.loading=!1,this.end_time=a.getTime();var u=e.target.responseText,m=u,c="error";if(-1!=u&&u.indexOf("force_errorabort_code")>-1&&(c="errorabort",u=u.replace("force_errorabort_code","")),-1!=u){var f=u.indexOf(d);if(f>-1&&("true"==this.debugmode&&(_=u.substr(0,f)),m=u.substr(f+d.length),f=m.indexOf(":"),n=m.substr(0,f),m=m.substr(f+1),f=m.indexOf(":"),r=m.substr(0,f),l=m.substr(f+1)),""!=_){var p="";"fileupload"==this.requesttype?p=" - File: "+this.file_id:"email"==this.requesttype&&(p=" - Email Notification"),_=wfu_format_debug_data(_,p)}if(""!=r){var g=r.split(";");if(1==parseInt(g[2])){var y=g[3].split(",");i=wfu_plugin_decode_string(y[0]),o=y[4]}}}if(""==l||""==r){var b=this.fail_colors.split(","),w=wfu_Initialize_Params();w.general.shortcode_id=s,w.general.unique_id=this.unique_id,w.general.state=7,w.general.files_count="fileupload"==this.requesttype?1:0,w.general.upload_finish_time=this.finish_time,w.general.fail_message=GlobalData.consts.message_unknown,w.general.fail_admin_message=wfu_join_strings("<br />",this.error_adminmessage_unknown,this.requesttype+":"+m),w.general.files_count>0?(w[0]={},w[0].color=b[0],w[0].bgcolor=b[1],w[0].borcolor=b[2],w[0].message_type=c,i=c,w[0].header=this.error_message_header,w[0].message=GlobalData.consts.message_timelimit,w[0].admin_messages="true"==this.is_admin?GlobalData.consts.message_admin_timelimit:""):w.general.admin_messages.other="true"==this.is_admin?GlobalData.consts.message_admin_timelimit:"",w.general.upload_finish_time>0&&a.getTime()<w.general.upload_finish_time&&(w.general.files_count>0?(w[0].message=w.general.fail_message,w[0].admin_messages="true"==this.is_admin?w.general.fail_admin_message:""):w.general.admin_messages.other="true"==this.is_admin?w.general.fail_admin_message:"")}return t=""==l||""==r?wfu_ProcessUploadComplete(s,this.file_id,w,this.unique_id,this.params_index,this.session_token,"",[this.debugmode,_,this.is_admin],this.requesttype,""):wfu_ProcessUploadComplete(s,this.file_id,l,this.unique_id,this.params_index,this.session_token,r,[this.debugmode,_,this.is_admin],this.requesttype,n),t&&(wfu_unlock_upload(e.target.shortcode_id),wfu_hide_simple_progressbar(s),wfu_clear(e.target.shortcode_id)),e.target.return_status?i:void 0}function wfu_ProcessUploadComplete(sid,file_id,upload_params,unique_id,params_index,session_token,safe_output,debug_data,request_type,js_script_enc){if(sid&&!(0>sid)&&null!=upload_params&&""!=upload_params&&""!=unique_id&&("no-ajax"==unique_id||GlobalData[sid])){var do_redirect=!1;if("string"==typeof upload_params){upload_params=wfu_plugin_decode_string(upload_params.replace(/^\s+|\s+$/g,""));var Params=null;try{Params=JSON.parse(upload_params)}catch(e){}if(null==Params){var safe_parts=safe_output.split(";");Params=wfu_Initialize_Params(),Params.general.shortcode_id=sid,Params.general.unique_id=unique_id,Params.general.state=safe_parts[0],4==Params.general.state&&Params.general.state++;var default_colors=safe_parts[1].split(","),filedata="",error_jsonparse_filemessage=GlobalData.consts.jsonparse_filemessage,error_jsonparse_message=GlobalData.consts.jsonparse_message,error_jsonparse_adminmessage=GlobalData.consts.jsonparse_adminmessage;Params.general.files_count=parseInt(safe_parts[2]);for(var i=0;i<Params.general.files_count;i++)Params[i]={},Params[i].color=default_colors[0],Params[i].bgcolor=default_colors[1],Params[i].borcolor=default_colors[2],filedata=safe_parts[i+3].split(","),Params[i].message_type=wfu_plugin_decode_string(filedata[0]),Params[i].header=wfu_plugin_decode_string(filedata[1]),"success"==Params[i].message_type&&(Params[i].header+=error_jsonparse_filemessage,Params[i].message_type="warning"),Params[i].message=wfu_join_strings("<br />",error_jsonparse_message,wfu_plugin_decode_string(filedata[2])),Params[i].admin_messages=wfu_join_strings("<br />",error_jsonparse_adminmessage,wfu_plugin_decode_string(filedata[3]))}}else{if("object"!=typeof upload_params)return;var Params=upload_params}for(i=0;Params[i];)Params[i].message_type&&"error"==Params[i].message_type.substr(0,5)&&(Params[i].message_type=Params[i].message_type.substr(0,5)),i++;var message_table=document.getElementById("wfu_messageblock_"+sid),UploadStates_Ok=!0;if(!UploadStates[sid]&&message_table){var upload_states=document.getElementById("wfu_messageblock_header_"+sid+"_states").value;upload_states=wfu_plugin_decode_string(upload_states.replace(/^\s+|\s+$/g,"")),UploadStates[sid]=null;try{UploadStates[sid]=JSON.parse(upload_states)}catch(e){}null==UploadStates[sid]&&(UploadStates_Ok=!1)}GlobalData[sid]||(GlobalData[sid]=Object());var G=GlobalData[sid];if("no-ajax"==unique_id)G.last=!1,G.unique_id="",G.files_count=Params.general.files_count,0==Params.general.state&&(Params.general.files_count=0),G.files_processed=Params.general.files_count,UploadStates_Ok?G.upload_state=Params.general.state:G.upload_state=10,G.message=Params.general.message,G.update_wpfilebase=Params.general.update_wpfilebase,G.redirect_link=Params.general.redirect_link,G.notify_only_filename_list="",G.notify_target_path_list="",G.notify_attachment_list="",G.admin_messages={},G.admin_messages.wpfilebase=Params.general.admin_messages.wpfilebase,G.admin_messages.notify=Params.general.admin_messages.notify,G.admin_messages.redirect=Params.general.admin_messages.redirect,G.admin_messages.debug=debug_data[1],G.admin_messages.other=Params.general.admin_messages.other,G.errors={},G.errors.wpfilebase=Params.general.errors.wpfilebase,G.errors.notify=Params.general.errors.notify,G.errors.redirect=Params.general.errors.redirect,G.current_size=0,G.total_size=0;else{if(""==G.unique_id||G.unique_id!=unique_id||G.unique_id!=Params.general.unique_id)return;if(G.last)return;0==Params.general.files_count&&Params[0]&&"error"==Params[0].message_type&&(Params.general.files_count=1);for(var file_status="",i=0;i<Params.general.files_count;i++)file_status="error"==Params[i].message_type&&0==G.files_processed?"error1":"error"==Params[i].message_type&&G.files_processed>0?"error2":Params[i].message_type,G.upload_state=GlobalData.filestatematch[file_status][G.upload_state];UploadStates_Ok||(G.upload_state=10),G.files_processed+=Params.general.files_count,G.message=wfu_join_strings("<br />",G.message,Params.general.message),""==G.update_wpfilebase&&(G.update_wpfilebase=Params.general.update_wpfilebase),(!request_type||request_type&&"email"!=request_type)&&(G.redirect_link=Params.general.redirect_link),G.notify_only_filename_list=wfu_join_strings(", ",G.notify_only_filename_list,Params.general.notify_only_filename_list),G.notify_target_path_list=wfu_join_strings(", ",G.notify_target_path_list,Params.general.notify_target_path_list),G.notify_attachment_list=wfu_join_strings(",",G.notify_attachment_list,Params.general.notify_attachment_list),G.admin_messages.debug=wfu_join_strings("<br />",G.admin_messages.debug,debug_data[1]),G.admin_messages.other=wfu_join_strings("<br />",G.admin_messages.other,Params.general.admin_messages.other),""==G.admin_messages.wpfilebase&&(G.admin_messages.wpfilebase=Params.general.admin_messages.wpfilebase),""==G.admin_messages.notify&&(G.admin_messages.notify=Params.general.admin_messages.notify),""==G.admin_messages.redirect&&(G.admin_messages.redirect=Params.general.admin_messages.redirect),""==G.errors.wpfilebase&&(G.errors.wpfilebase=Params.general.errors.wpfilebase),""==G.errors.notify&&(G.errors.notify=Params.general.errors.notify),""==G.errors.redirect&&(G.errors.redirect=Params.general.errors.redirect)}G.files_processed==G.files_count&&(G.last=!0,""!=G.update_wpfilebase&&(G.admin_messages.wpfilebase="",wfu_notify_WPFilebase(params_index,session_token)),""!=G.notify_only_filename_list&&(G.admin_messages.notify="",wfu_send_email_notification(sid,unique_id,params_index,session_token,G.notify_only_filename_list,G.notify_target_path_list,G.notify_attachment_list,debug_data[0],debug_data[2]),G.last=!1,G.notify_only_filename_list=""),G.last&&("no-ajax"!=unique_id&&wfu_notify_server_upload_ended(sid,unique_id,params_index,session_token),GlobalData.UploadInProgressString=GlobalData.UploadInProgressString.replace(new RegExp("\\["+unique_id+"\\]","g"),"")),""!=G.errors.redirect&&(G.redirect_link=""),""!=G.redirect_link&&G.last&&""==GlobalData.UploadInProgressString.trim()&&(G.upload_state=11,do_redirect=!0));var nonadmin_message=G.message,admin_message=wfu_join_strings("<br />",G.admin_messages.other,G.admin_messages.wpfilebase,G.admin_messages.notify,G.admin_messages.redirect,G.admin_messages.debug);if(!UploadStates_Ok){var error_jsonparse_headermessage=GlobalData.consts.jsonparse_headermessage,error_jsonparse_headeradminmessage=GlobalData.consts.jsonparse_headeradminmessage;nonadmin_message=wfu_join_strings("<br />",error_jsonparse_headermessage,nonadmin_message),admin_message=wfu_join_strings("<br />",error_jsonparse_headeradminmessage,admin_message)}if(G.last){0==G.files_count?G.upload_state=8:G.upload_state<4&&(G.upload_state+=4);var admin_messages_exist=""!=G.admin_messages.wpfilebase||""!=G.admin_messages.notify||""!=G.admin_messages.redirect||""!=G.admin_messages.other;4==G.upload_state&&""!=admin_message?G.upload_state++:5==G.upload_state&&""==!admin_message&&""==nonadmin_message&&G.upload_state--}if(message_table){var subheader_state=document.getElementById("wfu_messageblock_header_"+sid+"_state"),single_file_shown=1==G.files_count&&""==nonadmin_message&&""==admin_message&&G.last&&!do_redirect;if(single_file_shown)document.getElementById("wfu_messageblock_header_"+sid).style.display="none";else{document.getElementById("wfu_messageblock_header_"+sid).style.display="";var header_container=document.getElementById("wfu_messageblock_header_"+sid+"_container");if(UploadStates_Ok){var suffix="";1!=G.files_count||5!=G.upload_state&&7!=G.upload_state||(suffix="_singlefile"),header_container.innerHTML=UploadStates[sid]["State"+G.upload_state+suffix]}else{header_container.innerHTML="";var safe_container=document.getElementById("wfu_messageblock_header_"+sid+"_safecontainer");header_container.innerHTML=safe_container.innerHTML.replace(/_safe/g,"")}var subheader_show=!1;""!=nonadmin_message?(document.getElementById("wfu_messageblock_subheader_"+sid+"_message").style.display="",document.getElementById("wfu_messageblock_subheader_"+sid+"_messagelabel").innerHTML=nonadmin_message,subheader_show=!0):document.getElementById("wfu_messageblock_subheader_"+sid+"_message").style.display="none",""!=admin_message?(document.getElementById("wfu_messageblock_subheader_"+sid+"_adminmessage").style.display="",document.getElementById("wfu_messageblock_subheader_"+sid+"_adminmessagelabel").innerHTML=admin_message,subheader_show=!0):document.getElementById("wfu_messageblock_subheader_"+sid+"_adminmessage").style.display="none",subheader_show?document.getElementById("wfu_messageblock_subheader_"+sid).style.display=subheader_state.value:document.getElementById("wfu_messageblock_subheader_"+sid).style.display="none",subheader_show||G.files_processed>0?(header_container.colSpan=2,document.getElementById("wfu_messageblock_arrow_"+sid).style.display=""):(document.getElementById("wfu_messageblock_arrow_"+sid).style.display="none",header_container.colSpan=3)}for(var next_block=document.getElementById("wfu_messageblock_subheader_"+sid),next_block_id=0,file_block=null,file_template_container=document.getElementById("wfu_messageblock_"+sid+"_filetemplate"),file_contents="",door=document.getElementById("wfu_messageblock_"+sid+"_door"),ii=0,headerspan=1,subheaderspan=2,file_template=wfu_plugin_decode_string(file_template_container.value.replace(/^\s+|\s+$/g,"")),i=0;i<Params.general.files_count;i++){for(ii=i+file_id,file_contents=file_template.replace(/\[file_id\]/g,ii),file_contents=file_contents.replace(/\[filenumber_display\]/g,""),file_contents=file_contents.replace(/\[fileheader_color\]/g,Params[i].color),file_contents=file_contents.replace(/\[fileheader_bgcolor\]/g,Params[i].bgcolor),file_contents=file_contents.replace(/\[fileheader_borcolor\]/g,Params[i].borcolor),file_contents=file_contents.replace(/\[fileheader_message\]/g,Params[i].header),file_contents=file_contents.replace(/\[filesubheadermessage_display\]/g,'style="display:none;"'),file_contents=file_contents.replace(/\[filesubheader_message\]/g,Params[i].message),file_contents=file_contents.replace(/\[filesubheaderadminmessage_display\]/g,'style="display:none;"'),file_contents=file_contents.replace(/\[filesubheader_adminmessage\]/g,Params[i].admin_messages),file_contents="<table><tbody>"+file_contents+"</tbody></table>",door.innerHTML=file_contents,headerspan=1,subheaderspan=2,subheader_show=!1,file_block=document.getElementById("wfu_messageblock_"+sid+"_"+ii),1==G.files_count?(document.getElementById("wfu_messageblock_"+sid+"_filenumber_"+ii).style.display="none",document.getElementById("wfu_messageblock_subheader_"+sid+"_fileempty_"+ii).style.display="none",single_file_shown?file_block.style.display="":file_block.style.display=subheader_state.value,headerspan++,subheaderspan++):file_block.style.display=subheader_state.value,""!=Params[i].message&&(document.getElementById("wfu_messageblock_subheader_"+sid+"_message_"+ii).style.display="",subheader_show=!0),""!=Params[i].admin_messages&&(document.getElementById("wfu_messageblock_subheader_"+sid+"_adminmessage_"+ii).style.display="",subheader_show=!0),subheader_show||(document.getElementById("wfu_messageblock_arrow_"+sid+"_"+ii).style.display="none",headerspan++),document.getElementById("wfu_messageblock_header_"+sid+"_container_"+ii).colSpan=headerspan,document.getElementById("wfu_messageblock_subheader_"+sid+"_container_"+ii).colSpan=subheaderspan;ii>next_block_id&&(next_block=next_block.nextSibling,null!=next_block);)1===next_block.nodeType&&(next_block_id=next_block.id.substr(next_block.id.lastIndexOf("_")+1));message_table.tBodies[0].insertBefore(file_block,next_block),next_block=file_block.nextSibling,file_block=document.getElementById("wfu_messageblock_subheader_"+sid+"_"+ii),message_table.tBodies[0].insertBefore(file_block,next_block),next_block=file_block,next_block_id=ii}single_file_shown&&(document.getElementById("wfu_messageblock_"+sid+"_1").style.display=""),message_table.style.display="",document.getElementById("wordpress_file_upload_message_"+sid).style.display=""}return js_script_enc&&eval(wfu_plugin_decode_string(js_script_enc)),do_redirect&&wfu_Redirect(G.redirect_link),G.last}}function wfu_uploadFailed(e,a){a&&(console.log("failure report following"),console.log(e));var s=e.target,t={target:{responseText:"",shortcode_id:s.shortcode_id}};wfu_uploadComplete.call(s,t)}function wfu_uploadCanceled(e){}function wfu_notify_server_upload_ended(e,a,s,t){var n=wfu_GetHttpRequestObject();if(null!=n){var l=GlobalData.consts.ajax_url;params=new Array(5),params[0]=new Array(2),params[0][0]="action",params[0][1]="wfu_ajax_action",params[1]=new Array(2),params[1][0]="uniqueuploadid_"+e,params[1][1]=a,params[2]=new Array(2),params[2][0]="params_index",params[2][1]=s,params[3]=new Array(2),params[3][0]="session_token",params[3][1]=t,params[4]=new Array(2),params[4][0]="upload_finished",params[4][1]=1;for(var r="",i=0;i<params.length;i++)r+=(i>0?"&":"")+params[i][0]+"="+encodeURI(params[i][1]);n.open("POST",l,!0),n.setRequestHeader("Content-type","application/x-www-form-urlencoded"),n.onreadystatechange=function(){4==n.readyState&&200==n.status},n.send(r)}}function wfu_Initialize_Params(){var e={};return e.version="full",e.general={},e.general.shortcode_id=0,e.general.unique_id="",e.general.state=0,e.general.files_count=0,e.general.update_wpfilebase="",e.general.redirect_link="",e.general.upload_finish_time=0,e.general.message="",e.general.message_type="",e.general.admin_messages={},e.general.admin_messages.wpfilebase="",e.general.admin_messages.notify="",e.general.admin_messages.redirect="",e.general.admin_messages.other="",e.general.errors={},e.general.errors.wpfilebase="",e.general.errors.notify="",e.general.errors.redirect="",e.general.color="",e.general.bgcolor="",e.general.borcolor="",e.general.notify_only_filename_list="",e.general.notify_target_path_list="",e.general.notify_attachment_list="",e.general.fail_message="",e.general.fail_admin_message="",e}function wfu_redirect_to_classic(e,a,s,t){0!=wfu_filesselected(e)&&wfu_selectsubdir_check(e)&&wfu_check_required_userdata(e,!0)&&wfu_redirect_to_classic_cont(e,a,s,t,[""])}function wfu_redirect_to_classic_cont(e,a,s,t,n){var l=function(n){if(n.indexOf("wfu_response_success:")>-1){var l=wfu_Initialize_Params();if(l.general.shortcode_id=e,l.general.unique_id="",l.general.files_count=wfu_filesselected(e),wfu_ProcessUploadComplete(e,0,l,"no-ajax","",a,"",["false","","false"]),1==s){var r="";document.getElementById("upfile_"+e).name="uploadedfile_"+e+"_redirected"+r}t>0?document.getElementById("adminerrorcodes_"+e).value=t:document.getElementById("adminerrorcodes_"+e).value="",document.getElementById("upfile_"+e).disabled=!1,document.getElementById("uniqueuploadid_"+e).value=wfu_randomString(10),document.getElementById("uploadform_"+e).submit()}},r="",i=new Date,o=GlobalData.consts.ajax_url+"?action=wfu_ajax_action&sid="+e+"&start_time="+i.getTime()+"&session_token="+a+r;wfu_lock_upload(e);var _=wfu_GetHttpRequestObject();if(null==_){var d=document.createElement("iframe");return d?(d.style.display="none",d.src=o,document.body.appendChild(d),void(d.onload=function(){l(d.contentDocument.body.innerHTML)})):void 0}_.open("GET",o,!0),_.onreadystatechange=function(){4==_.readyState&&200==_.status&&l(_.responseText)},_.send(null)}function wfu_filesselected(e){var a=document.getElementById("fileName_"+e),s=wfu_get_filelist(e);return 0==s.length&&a&&(a.value=GlobalData.consts.nofilemessage,a.className="file_input_textbox_nofile"),s.length}function wfu_check_required_userdata(e,a){for(var s=wfu_get_userdata_count(e),t=!1,n=0;s>n;n++){var l=document.getElementById("hiddeninput_"+e+"_userdata_"+n),r=document.getElementById("userdata_"+e+"_fieldwrapper_"+n),i=document.getElementById("userdata_"+e+"_field_"+n),o=document.getElementById("userdata_"+e+"_"+n),_=document.getElementById("userdata_"+e+"_hint_"+n);l.value=window["userdata_"+e+"_codes_"+n].value(i);
2
+ for(var d={hintposition:"none"},u=document.getElementById("userdata_"+e+"_props_"+n).value.split("|"),m=0;m<u.length;m++)"p:"==u[m].substr(0,2)&&(d.hintposition=u[m].substr(2));var c="";if("file_userdata_fieldwrapper_required"==r.className.substr(0,35)&&(c=window["userdata_"+e+"_codes_"+n].empty(l)),""===c&&window["userdata_"+e+"_codes_"+n].validate&&(c=window["userdata_"+e+"_codes_"+n].validate(l)),""!==c){if(a)if("none"==d.hintposition)_.className="file_userdata_hint_none";else{r.className="file_userdata_fieldwrapper_required_empty";var f=o.getBoundingClientRect(),p=r.getBoundingClientRect();"inline"==d.hintposition?(_.className="file_userdata_hint_inline",_.style.left=parseInt(p.left-f.left)+"px",_.style.top=parseInt(p.top-f.top)+"px",_.style.right=parseInt(f.right-p.right)+"px",_.style.bottom=parseInt(f.bottom-p.bottom)+"px"):"top"==d.hintposition?(_.className="file_userdata_hint_top",_.style.left=parseInt(p.left-f.left)+"px",_.style.bottom=parseInt(f.bottom-p.top)+"px"):"right"==d.hintposition?(_.className="file_userdata_hint_right",_.style.left=parseInt(p.right-f.left)+"px",_.style.top=parseInt(p.top-f.top)+"px"):"bottom"==d.hintposition?(_.className="file_userdata_hint_bottom",_.style.left=parseInt(p.left-f.left)+"px",_.style.top=parseInt(p.bottom-f.top)+"px"):"left"==d.hintposition&&(_.className="file_userdata_hint_left",_.style.right=parseInt(f.right-p.left)+"px",_.style.top=parseInt(p.top-f.top)+"px"),_.innerHTML=c,_.style.display="block"}t=!0}}return!t}function wfu_HTML5UploadFile(e,a,s){if(!wfu_BrowserCaps.supportsAJAX)return void wfu_redirect_to_classic(e,s,1,1);if(!wfu_BrowserCaps.supportsHTML5)return void wfu_redirect_to_classic(e,s,1,2);a=wfu_plugin_decode_string(a.replace(/^\s+|\s+$/g,""));var t=null;try{t=JSON.parse(a)}catch(n){}if(null==t)return void wfu_redirect_to_classic(e,s,1,3);var l=wfu_GetHttpRequestObject();if(null!=l){var r=wfu_filesselected(e);if(0!=r){var i=document.getElementById("upload_"+e),o=!i;if(!wfu_selectsubdir_check(e))return void(o&&wfu_clear_files(e));var _=r;return _+=_,wfu_check_required_userdata(e,!0)?void wfu_HTML5UploadFile_cont(e,t,s,[""]):void(o&&wfu_clear_files(e))}}}function wfu_HTML5UploadFile_cont(e,a,s,t){function n(t,r,i,o){p=!0;var c=wfu_GetHttpRequestObject(),g=wfu_GetHttpRequestObject();if(null!=c&&null!=g){var y=null,b=null;try{var y=new FormData,b=new FormData}catch(w){}if(null!=y&&null!=b){i||y.append("uploadedfile_"+e+d,r),y.append("uploadedfile_"+e+"_index",t),y.append("uploadedfile_"+e+"_name",wfu_plugin_encode_string(_[t].name)),y.append("uploadedfile_"+e+"_size",_[t].size),y.append("action","wfu_ajax_action"),y.append("uniqueuploadid_"+e,m),y.append("params_index",a.params_index),y.append("subdir_sel_index",l),i?y.append("only_check","1"):y.append("only_check","0"),y.append("session_token",s),y.append("unique_id",u);for(var h=wfu_get_userdata_count(e),v=0;h>v;v++)y.append("hiddeninput_"+e+"_userdata_"+v,document.getElementById("hiddeninput_"+e+"_userdata_"+v).value);var G=GlobalData[e].xhrs.push(c)-1,I=new Date;if(c.xhrid=G,c.shortcode_id=e,c.requesttype="fileupload",c.file_id=t+1,i?(c.size=0,c.totalsize=0,c.loading=!1):(c.size=r.size,c.totalsize=_[t].size,c.loading=!0),c.deltasize=0,c.sizeloaded=0,c.aborted=!1,c.unique_id=m,c.params_index=a.params_index,c.session_token=s,c.debugmode=a.debugmode,c.is_admin=a.is_admin,c.start_time=I.getTime(),c.end_time=c.start_time,c.finish_time=c.start_time+1e3*parseInt(GlobalData.consts.max_time_limit),c.fail_colors=a.fail_colors,c.error_message_header=a.error_header.replace(/%username%/g,"no data"),c.error_message_header=c.error_message_header.replace(/%useremail%/g,"no data"),c.error_message_header=c.error_message_header.replace(/%filename%/g,_[t].name),c.error_message_header=c.error_message_header.replace(/%filepath%/g,_[t].name),c.error_message_failed=GlobalData.consts.message_failed,c.error_message_cancelled=GlobalData.consts.message_cancelled,c.error_adminmessage_unknown=GlobalData.consts.adminmessage_unknown.replace(/%username%/g,"no data"),c.error_adminmessage_unknown=c.error_adminmessage_unknown.replace(/%useremail%/g,"no data"),c.error_adminmessage_unknown=c.error_adminmessage_unknown.replace(/%filename%/g,_[t].name),c.error_adminmessage_unknown=c.error_adminmessage_unknown.replace(/%filepath%/g,_[t].name),o){b.append("action","wfu_ajax_action"),b.append("params_index",a.params_index),b.append("session_token",s),b.append("force_connection_close","1"),g.open("POST",GlobalData.consts.ajax_url,!1);try{g.send(b)}catch(k){}p="success"==g.responseText}if(p)i?(c.addEventListener("load",function(a){a={target:{responseText:a.target.responseText,shortcode_id:e,return_status:!0}};var s=wfu_uploadComplete.call(c,a);p="success"==s||"warning"==s,p&&n(t,r,!1,!1)},!1),c.addEventListener("error",function(e){},!1),c.open("POST",GlobalData.consts.ajax_url,!0),c.send(y)):(c.upload.xhr=c,c.upload.dummy=1,c.upload.addEventListener("loadstart",wfu_loadStart,!1),c.upload.addEventListener("progress",new Function("evt","wfu_uploadProgress(evt, "+e+", "+G+", "+a.debugmode+");"),!1),c.addEventListener("load",wfu_uploadComplete,!1),c.addEventListener("error",new Function("evt","wfu_uploadFailed(evt, "+a.debugmode+");"),!1),c.addEventListener("abort",wfu_uploadCanceled,!1),c.open("POST",GlobalData.consts.ajax_url,!0),c.send(y));else{var B={target:{responseText:"",shortcode_id:e}};wfu_uploadComplete.call(c,B)}return f++,p}}}var l=-1,r=document.getElementById("selectsubdir_"+e);if(r){var i=document.getElementById("selectsubdiredit_"+e),o="none"!=i.style.display;l=o?i.value:r.selectedIndex}var _=wfu_get_filelist(e),d="",u=wfu_randomString(10),m=u;GlobalData.UploadInProgressString+="["+m+"]",GlobalData[e]={},GlobalData[e].unique_id=m,GlobalData[e].last=!1,GlobalData[e].files_count=1,GlobalData[e].files_processed=0,GlobalData[e].upload_state=0,GlobalData[e].message="",GlobalData[e].update_wpfilebase="",GlobalData[e].redirect_link="",GlobalData[e].notify_only_filename_list="",GlobalData[e].notify_target_path_list="",GlobalData[e].notify_attachment_list="",GlobalData[e].admin_messages={},GlobalData[e].admin_messages.wpfilebase="",GlobalData[e].admin_messages.notify="",GlobalData[e].admin_messages.redirect="",GlobalData[e].admin_messages.debug="",GlobalData[e].admin_messages.other="",GlobalData[e].errors={},GlobalData[e].errors.wpfilebase="",GlobalData[e].errors.notify="",GlobalData[e].errors.redirect="",GlobalData[e].xhrs=Array(),wfu_show_simple_progressbar(a.shortcode_id,"progressive");var c=wfu_Initialize_Params();c.general.shortcode_id=e,c.general.unique_id=m,wfu_ProcessUploadComplete(e,0,c,m,a.params_index,s,"",["false","","false"]);var f=0,p=!0,g=0;n(g,_[g],!0,!1)}function wfu_get_userdata_count(e){for(var a=0;document.getElementById("userdata_"+e+"_"+a);)a++;return a}function wfu_lock_upload(e){var a=document.getElementById("fileName_"+e);a&&(a.disabled=!0),document.getElementById("input_"+e).disabled=!0,document.getElementById("upfile_"+e).disabled=!0,wfu_selectsubdir_disable_onoff(e,!0);var s=document.getElementById("upload_"+e);s&&(s.disabled=!0);for(var t=wfu_get_userdata_count(e),n=0;t>n;n++)window["userdata_"+e+"_codes_"+n].lock(document.getElementById("userdata_"+e+"_field_"+n))}function wfu_unlock_upload(e){var a=document.getElementById("fileName_"+e);a&&(a.disabled=!1),document.getElementById("input_"+e).disabled=!1,document.getElementById("upfile_"+e).disabled=!1,wfu_selectsubdir_disable_onoff(e,!1);var s=document.getElementById("upload_"+e);s&&(s.disabled=!1);for(var t=wfu_get_userdata_count(e),n=0;t>n;n++)window["userdata_"+e+"_codes_"+n].unlock(document.getElementById("userdata_"+e+"_field_"+n))}function wfu_clear_files(e){document.getElementById("uploadform_"+e).reset();var a=document.getElementById("fileName_"+e);a&&(a.value="",a.className="file_input_textbox")}function wfu_clear(e){wfu_clear_files(e);var a=document.getElementById("selectsubdir_"+e);if(a){var s=document.getElementById("selectsubdiredit_"+e),t="none"!=s.style.display;t?(a.selectedIndex=-1,s.value=""):a.selectedIndex=parseInt(document.getElementById("selectsubdirdefault_"+e).value)}for(var n=wfu_get_userdata_count(e),l=0;n>l;l++)window["userdata_"+e+"_codes_"+l].reset(document.getElementById("userdata_"+e+"_field_"+l),document.getElementById("hiddeninput_"+e+"_userdata_"+l))}function wfu_reset_message(e){var a=document.getElementById("wfu_messageblock_"+e);if(a){document.getElementById("wfu_messageblock_header_"+e).style.display="";var s=document.getElementById("wfu_messageblock_header_"+e+"_container");UploadStates[e]&&(s.innerHTML=UploadStates[e].State0),document.getElementById("wfu_messageblock_header_"+e+"_state").value="none",document.getElementById("wfu_messageblock_arrow_"+e).style.display="none",s.colSpan=3,document.getElementById("wfu_messageblock_subheader_"+e+"_messagelabel").innerHTML="",document.getElementById("wfu_messageblock_subheader_"+e+"_adminmessagelabel").innerHTML="",document.getElementById("wfu_messageblock_subheader_"+e).style.display="none",document.getElementById("wfu_messageblock_subheader_"+e+"_message").style.display="none",document.getElementById("wfu_messageblock_subheader_"+e+"_adminmessage").style.display="none";for(var t=wfu_get_file_ids(e),n=1;n<=t.length;n++)a.tBodies[0].removeChild(document.getElementById("wfu_messageblock_"+e+"_"+n)),a.tBodies[0].removeChild(document.getElementById("wfu_messageblock_subheader_"+e+"_"+n))}}function wfu_show_simple_progressbar(e,a){var s=document.getElementById("progressbar_"+e+"_animation"),t=document.getElementById("progressbar_"+e+"_imagesafe");s&&("progressive"==a?(s.style.width="0%",s.className="file_progress_progressive",t.style.display="none",s.style.display="block"):wfu_BrowserCaps.supportsAnimation?(s.style.width="25%",s.className="file_progress_shuffle",t.style.display="none",s.style.display="block"):(s.style.width="0%",s.className="file_progress_noanimation",s.style.display="none",t.style.display="block"),document.getElementById("wordpress_file_upload_progressbar_"+e).style.display="block")}function wfu_hide_simple_progressbar(e){var a=document.getElementById("progressbar_"+e+"_animation"),s=document.getElementById("progressbar_"+e+"_imagesafe");a&&(document.getElementById("wordpress_file_upload_progressbar_"+e).style.display="none",a.style.width="0%",a.className="file_progress_noanimation",s.style.display="none",a.style.display="block")}function wfu_invoke_shortcode_editor(e,a,s,t){for(var n=document.getElementsByTagName("BUTTON"),l=0,r=null,i=0;i<n.length;i++)n[i].parentNode&&n[i].parentNode.id==t+"_editor_"+e&&(r=n[i],l++);if(0!=l){if(l>1)return void alert(GlobalData.consts.same_pluginid);var o=wfu_GetHttpRequestObject();if(null!=o){r.parentNode.style.display="none",document.getElementById(t+"_overlay_"+e).style.display="block";var _=GlobalData.consts.ajax_url;params=new Array(6),params[0]=new Array(2),params[0][0]="action",params[0][1]="wfu_ajax_action_edit_shortcode",params[1]=new Array(2),params[1][0]="upload_id",params[1][1]=e,params[2]=new Array(2),params[2][0]="post_id",params[2][1]=a,params[3]=new Array(2),params[3][0]="post_hash",params[3][1]=s,params[4]=new Array(2),params[4][0]="shortcode_tag",params[4][1]=t,params[5]=new Array(2),params[5][0]="widget_id",params[5][1]=document.getElementById(t+"_"+e+"_widgetid")?document.getElementById(t+"_"+e+"_widgetid").value:"";for(var d="",i=0;i<params.length;i++)d+=(i>0?"&":"")+params[i][0]+"="+encodeURI(params[i][1]);o.open("POST",_,!0),o.setRequestHeader("Content-type","application/x-www-form-urlencoded"),o.onreadystatechange=function(){if(4==o.readyState&&200==o.status){document.getElementById(t+"_overlay_"+e).style.display="none",r.parentNode.removeAttribute("style");var a="wfu_edit_shortcode:",s=o.responseText.indexOf(a);-1==s&&(s=o.responseText.length);var n=(o.responseText.substr(0,s),o.responseText.substr(s+a.length,o.responseText.length-s-a.length));s=n.indexOf(":");var l=n.substr(0,s);if(txt_value=n.substr(s+1,n.length-s-1),"success"==l){var i=window.open(wfu_plugin_decode_string(txt_value),"_blank");i?i.plugin_window=window:alert(GlobalData.consts.enable_popups)}else"check_page_obsolete"==l&&alert(txt_value)}},o.send(d)}}}GlobalData={},UploadStates={},GlobalData.filestatematch={},GlobalData.filestatematch.success=[0,1,2,2],GlobalData.filestatematch.warning=[1,1,2,2],GlobalData.filestatematch.error1=[3,3,2,3],GlobalData.filestatematch.error2=[2,2,2,3],GlobalData.UploadInProgressString="",GlobalData.FreeChangeHandler=!1,wfu_Check_Browser_Capabilities();
languages/wordpress-file-upload-de_DE.mo DELETED
Binary file
languages/wordpress-file-upload-el_GR.mo DELETED
Binary file
languages/wordpress-file-upload-fr_FR.mo DELETED
Binary file
languages/wordpress-file-upload-sr_RS.mo DELETED
Binary file
languages/wp-file-upload-de_DE.mo ADDED
Binary file
languages/{wordpress-file-upload-de_DE.po → wp-file-upload-de_DE.po} RENAMED
@@ -1,781 +1,879 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Wordpress File Upload\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-09-29 11:08+0200\n"
6
- "PO-Revision-Date: 2015-09-29 11:08+0200\n"
7
- "Last-Translator: nickboss <info@iptanus.com>\n"
8
- "Language-Team: Iptanus Team <info@iptanus.com>\n"
9
- "Language: de_DE\n"
10
- "MIME-Version: 1.0\n"
11
- "Content-Type: text/plain; charset=UTF-8\n"
12
- "Content-Transfer-Encoding: 8bit\n"
13
- "X-Poedit-KeywordsList: __;gettext;gettext_noop\n"
14
- "X-Poedit-Basepath: ../\n"
15
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
- "X-Generator: Poedit 1.7.5\n"
17
- "X-Poedit-SearchPath-0: .\n"
18
- "X-Poedit-SearchPathExcluded-0: vendor\n"
19
-
20
- #: lib/wfu_constants.php:7
21
- msgid "Upload files"
22
- msgstr "Dateien hochladen"
23
-
24
- #: lib/wfu_constants.php:8
25
- msgid "Select File"
26
- msgstr "Datei auswählen"
27
-
28
- #: lib/wfu_constants.php:9
29
- msgid "Upload File"
30
- msgstr "Datei hochladen"
31
-
32
- #: lib/wfu_constants.php:28
33
- msgid "File Upload Notification"
34
- msgstr "Datei-Upload-Benachrichtigung"
35
-
36
- #: lib/wfu_constants.php:29
37
- msgid ""
38
- "Dear Recipient,%n%%n% This is an automatic delivery message to notify you "
39
- "that a new file has been uploaded.%n%%n%Best Regards"
40
- msgstr ""
41
- "Sehr geehrter Empfänger,%n%%n%Dies ist eine automatische Nachricht, die Sie "
42
- "benachrichtigt, dass eine neue Datei hochgeladen wurde.%n%%n%Beste Grüße"
43
-
44
- #: lib/wfu_constants.php:35
45
- #, php-format
46
- msgid "File %filename% uploaded successfully"
47
- msgstr "Datei %filename% erfolgreich hochgeladen"
48
-
49
- #: lib/wfu_constants.php:36
50
- #, php-format
51
- msgid "File %filename% uploaded successfully but with warnings"
52
- msgstr "Datei %filename% erfolgreich hochgeladen, aber es gibt Warnhinweise"
53
-
54
- #: lib/wfu_constants.php:37
55
- msgid "File %filename% not uploaded"
56
- msgstr "Datei% filename% nicht hochgeladen"
57
-
58
- #: lib/wfu_constants.php:38
59
- msgid "File %filename% is being uploaded"
60
- msgstr "Datei %filename% wird hochgeladen"
61
-
62
- #: lib/wfu_constants.php:56
63
- msgid "Your message"
64
- msgstr "Ihre Nachricht"
65
-
66
- #: lib/wfu_constants.php:61
67
- msgid ""
68
- "Error. Could not resolve ftp target filedir. Check the domain in 'ftpinfo' "
69
- "attribute."
70
- msgstr ""
71
- "Fehler. Der FTP-Ordner des FTP-Ziels konnte nicht aufgelöst werden. "
72
- "Überprüfen Sie die Domäne in \"ftpinfo\"-Attribut."
73
-
74
- #: lib/wfu_constants.php:62
75
- msgid "Error. Invalid ftp information. Check 'ftpinfo' attribute."
76
- msgstr ""
77
- "Fehler. Ungültiger ftp-Informationen. Überprüfen Sie das 'ftpinfo'-Attribut."
78
-
79
- #: lib/wfu_constants.php:63
80
- msgid ""
81
- "Error. Could not extract ftp information from 'ftpinfo' attribute. Check its "
82
- "syntax."
83
- msgstr ""
84
- "Fehler. Ftp-Daten konnte nicht aus dem 'ftpinfo'-Attribut extrahiert werden. "
85
- "Überprüfen Sie die Schreibweise."
86
-
87
- #: lib/wfu_constants.php:64
88
- msgid ""
89
- "Error. Could not resolve ftp target filename. Check the domain in 'ftpinfo' "
90
- "attribute."
91
- msgstr ""
92
- "Fehler. Ftp-Zieldateiname konnte nicht aufgelöst werden. Überprüfen Sie die "
93
- "Domäne im 'ftpinfo'-Attribut."
94
-
95
- #: lib/wfu_constants.php:65
96
- msgid ""
97
- "Error. The upload size limit of PHP directive upload_max_filesize is "
98
- "preventing the upload of big files.\n"
99
- "PHP directive upload_max_filesize limit is: "
100
- msgstr ""
101
- "Fehler. Die Upload-Größenbeschränkung der PHP Richtlinie upload_max_filesize "
102
- "hat das Hochladen von großen Dateien verhindern.\n"
103
- "Das upload_max_filesize-Limit beträgt derzeit:"
104
-
105
- #: lib/wfu_constants.php:66
106
- msgid ""
107
- "The upload time limit of PHP directive max_input_time is preventing the "
108
- "upload of big files.\n"
109
- "PHP directive max_input_time limit is: "
110
- msgstr ""
111
- "Die Upload-Zeitspanne der PHP-Direktive max_input_time verhindert das "
112
- "Hochladen von großen Dateien. \n"
113
- "Das max_input_time Limit ist derzeit:"
114
-
115
- #: lib/wfu_constants.php:67
116
- msgid ""
117
- "Error. Permission denied to write to target folder.\n"
118
- "Check and correct read/write permissions of target folder."
119
- msgstr ""
120
- "Fehler. Schreibzugriff im Zielordner verweigert. \n"
121
- "Prüfen und korrigieren Sie Schreib-/Lese-Berechtigungen des Zielordners."
122
-
123
- #: lib/wfu_constants.php:68
124
- msgid "Targer folder doesn't exist."
125
- msgstr "Ziel-Ordner nicht vorhanden ist."
126
-
127
- #: lib/wfu_constants.php:69
128
- msgid "Upload failed! Missing a temporary folder."
129
- msgstr ""
130
- "Hochladen fehlgeschlagen! Verzeichnis für temporären Dateienupload fehlt"
131
-
132
- #: lib/wfu_constants.php:70
133
- msgid "Upload failed! Permission denied to write to target folder."
134
- msgstr ""
135
- "Hochladen fehlgeschlagen! Keine Berechtigung, um im Zielordner zu schreiben."
136
-
137
- #: lib/wfu_constants.php:71
138
- msgid "File not allowed."
139
- msgstr "Dateiformat nicht erlaubt"
140
-
141
- #: lib/wfu_constants.php:72
142
- msgid "The uploaded file exceeds the file size limit."
143
- msgstr "Die hochzuladende Datei überschreitet das Dateigrößenlimit."
144
-
145
- #: lib/wfu_constants.php:73
146
- msgid "The uploaded file exceeds 2GB and is not supported by this server."
147
- msgstr ""
148
- "Die hochgeladene Datei überschreitet 2GB und wird von diesem Server nicht "
149
- "unterstützt."
150
-
151
- #: lib/wfu_constants.php:74
152
- msgid ""
153
- "Upload failed! The uploaded file exceeds the file size limit of the server. "
154
- "Please contact the administrator."
155
- msgstr ""
156
- "Hochladen fehlgeschlagen! Die hochgeladene Datei überschreitet die maximale "
157
- "Dateigröße des Servers. Bitte wenden Sie sich an den Administrator."
158
-
159
- #: lib/wfu_constants.php:75
160
- msgid ""
161
- "Upload failed! The duration of the upload exceeded the time limit of the "
162
- "server. Please contact the administrator."
163
- msgstr ""
164
- "Hochladen fehlgeschlagen! Die Dauer des Uploads liegt über dem Zeitlimit des "
165
- "Servers. Bitte wenden Sie sich an den Administrator oder senden Sie die "
166
- "Datei von einem Rechner mit schnellerer Internetverbindung."
167
-
168
- #: lib/wfu_constants.php:76
169
- msgid ""
170
- "Upload failed! The uploaded file exceeds the MAX_FILE_SIZE directive that "
171
- "was specified in the HTML form."
172
- msgstr ""
173
- "Hochladen fehlgeschlagen! Die hochgeladene Datei überschreitet die "
174
- "MAX_FILE_SIZE Richtlinie, die im HTML-Formular angegeben wurde."
175
-
176
- #: lib/wfu_constants.php:77
177
- msgid "Upload failed! The uploaded file was only partially uploaded."
178
- msgstr "Hochladen fehlgeschlagen! Die Datei wurde nur teilweise hochgeladen."
179
-
180
- #: lib/wfu_constants.php:78
181
- msgid "Upload failed! No file was uploaded."
182
- msgstr "Hochladen fehlgeschlagen! Es wurde keine Datei hochgeladen."
183
-
184
- #: lib/wfu_constants.php:79
185
- msgid "Upload failed! Failed to write file to disk."
186
- msgstr ""
187
- "Hochladen fehlgeschlagen! Konnte die Datei nicht auf die Festplatte "
188
- "schreiben."
189
-
190
- #: lib/wfu_constants.php:80
191
- msgid ""
192
- "Upload failed! Error occured while moving temporary file. Please contact "
193
- "administrator."
194
- msgstr ""
195
- "Hochladen fehlgeschlagen! Es ist ein Fehler aufgetreten, während der "
196
- "Verschiebung der temporären Datei. Bitte kontaktieren Sie Administrator."
197
-
198
- #: lib/wfu_constants.php:81
199
- msgid ""
200
- "Upload failed! A PHP extension stopped the file upload. PHP does not provide "
201
- "a way to ascertain which extension caused the file upload to stop; examining "
202
- "the list of loaded extensions with phpinfo() may help."
203
- msgstr ""
204
- "Hochladen fehlgeschlagen! Ein PHP-Erweiterung stoppte den Datei-Upload. PHP "
205
- "bietet keine Möglichkeit, festzustellen, welche PHP-Erweiterung den Datei-"
206
- "Upload-Stopp verursacht, zur Prüfung der Liste der geladenen Erweiterungen "
207
- "kann phpinfo() helfen."
208
-
209
- #: lib/wfu_constants.php:82
210
- msgid "Upload failed! Error occured while attemting to upload the file."
211
- msgstr ""
212
- "Hochladen fehlgeschlagen! Es sind Fehler beim Versuch, die Datei hochzuladen "
213
- "aufgetreten."
214
-
215
- #: lib/wfu_constants.php:83
216
- msgid "Upload failed!"
217
- msgstr "Hochladen fehlgeschlagen!"
218
-
219
- #: lib/wfu_constants.php:84
220
- msgid "No file!"
221
- msgstr "Keine Datei!"
222
-
223
- #: lib/wfu_constants.php:85
224
- msgid ""
225
- "Upload failed! The upload has been canceled by the user or the browser "
226
- "dropped the connection."
227
- msgstr ""
228
- "Hochladen fehlgeschlagen! Der Upload wurde vom Benutzer abgebrochen wurde "
229
- "oder der Browser hat die Verbindung verloren."
230
-
231
- #: lib/wfu_constants.php:86
232
- msgid "Upload failed! Unknown error."
233
- msgstr "Hochladen fehlgeschlagen! Unbekannter Fehler."
234
-
235
- #: lib/wfu_constants.php:87
236
- msgid "Please contact the administrator."
237
- msgstr "Bitte kontaktieren Sie den Administrator."
238
-
239
- #: lib/wfu_constants.php:88
240
- msgid "No result from remote server!"
241
- msgstr "Kein Ergebnis vom Remote-Server!"
242
-
243
- #: lib/wfu_constants.php:89
244
- msgid " but with warnings"
245
- msgstr " aber mit Warnhinweisen"
246
-
247
- #: lib/wfu_constants.php:90 lib/wfu_constants.php:92
248
- msgid "Warning: JSON parse error."
249
- msgstr "Warnung: JSON-Parser-Fehler."
250
-
251
- #: lib/wfu_constants.php:91
252
- msgid ""
253
- "Upload parameters of this file, passed as JSON string to the handler, could "
254
- "not be parsed."
255
- msgstr ""
256
- "Upload-Parameter dieser Datei, übergeben als als JSON String an den Handler, "
257
- "konnte nicht analysiert werden."
258
-
259
- #: lib/wfu_constants.php:93
260
- msgid ""
261
- "UploadStates, passed as JSON string to the handler, could not be parsed."
262
- msgstr ""
263
- "Upload-Status, übergeben als JSON String an den Handler, konnte nicht "
264
- "analysiert werden."
265
-
266
- #: lib/wfu_constants.php:94
267
- msgid ""
268
- "Redirection to classic form functionality occurred due to unknown error."
269
- msgstr ""
270
- "Bei der Umleitung auf die klassische Formular-Funktionalität ist ein "
271
- "unbekannter Fehler aufgetreten."
272
-
273
- #: lib/wfu_constants.php:95
274
- msgid ""
275
- "Redirection to classic form functionality occurred because AJAX is not "
276
- "supported."
277
- msgstr ""
278
- "Bei der Umleitung auf die klassische Formular-Funktionalität ist ein Fehler "
279
- "aufgetreten, weil AJAX nicht unterstützt wird."
280
-
281
- #: lib/wfu_constants.php:96
282
- msgid ""
283
- "Redirection to classic form functionality occurred because HTML5 is not "
284
- "supported."
285
- msgstr ""
286
- "Bei der Umleitung zu klassischen Formular-Funktionalität ist ein Fehler "
287
- "aufgetreten, da HTML5 nicht unterstützt wird."
288
-
289
- #: lib/wfu_constants.php:97
290
- msgid ""
291
- "Redirection to classic form functionality occurred due to JSON parse error."
292
- msgstr ""
293
- "Bei der Umleitung auf die klassische Formular-Funktionalität ist ein Fehler "
294
- "aufgetreten beim Parsen von JSON."
295
-
296
- #: lib/wfu_constants.php:98
297
- msgid "Please enable popup windows from the browser's settings!"
298
- msgstr ""
299
- "Bitte aktivieren Sie diese Popup-Fenster aus den Browser-Einstellungen!"
300
-
301
- #: lib/wfu_constants.php:99
302
- msgid "cannot be empty!"
303
- msgstr "darf nicht leer sein!"
304
-
305
- #: lib/wfu_constants.php:100
306
- msgid "number not valid!"
307
- msgstr "Nummer nicht gültig!"
308
-
309
- #: lib/wfu_constants.php:101
310
- msgid "email not valid!"
311
- msgstr "email adresse ist ungültig!"
312
-
313
- #: lib/wfu_constants.php:102
314
- msgid "emails do not match!"
315
- msgstr "emails stimmen nicht überein!"
316
-
317
- #: lib/wfu_constants.php:103
318
- msgid "no base email field in group!"
319
- msgstr "keine basis email feld in der gruppe!"
320
-
321
- #: lib/wfu_constants.php:104
322
- msgid "passwords do not match!"
323
- msgstr "passwörter stimmen nicht überein"
324
-
325
- #: lib/wfu_constants.php:105
326
- msgid "no base password field in group!"
327
- msgstr "keine basispasswortfeld in der gruppe!"
328
-
329
- #: lib/wfu_constants.php:106
330
- msgid "checkbox unchecked!"
331
- msgstr "checkBox nicht aktiviert!"
332
-
333
- #: lib/wfu_constants.php:107
334
- msgid "no option selected!"
335
- msgstr "keine optionen selektiert!"
336
-
337
- #: lib/wfu_constants.php:108
338
- msgid "no item selected!"
339
- msgstr "keine dateien ausgewählt!"
340
-
341
- #: lib/wfu_constants.php:109
342
- msgid ""
343
- "There are more than one instances of the plugin in this page with the same "
344
- "id. Please change it."
345
- msgstr ""
346
- "Es gibt mehrere Instanzen des Plugins auf dieser Seite mit der gleichen ID. "
347
- "Bitte ändern Sie dies."
348
-
349
- #: lib/wfu_constants.php:110
350
- msgid ""
351
- "Cannot edit the shortcode because the page has been modified. Please reload "
352
- "the page."
353
- msgstr ""
354
- "Der Shortcode kann nicht bearbeitet werden, da die Seite geändert wurde. "
355
- "Laden Sie die Seite erneut."
356
-
357
- #: lib/wfu_constants.php:113
358
- msgid "Upload skipped! File already exists."
359
- msgstr "Hochladen abgebrochen! Datei ist bereits vorhanden."
360
-
361
- #: lib/wfu_constants.php:114
362
- msgid "No files have been selected!"
363
- msgstr "Keine Dateien ausgewählt!"
364
-
365
- #: lib/wfu_constants.php:115
366
- msgid "WPFilebase Plugin not updated because there were no files uploaded."
367
- msgstr ""
368
- "WPFilebase Plugin konnte nicht aktualisiert werden, da keine Dateien "
369
- "hochgeladen wurden."
370
-
371
- #: lib/wfu_constants.php:116
372
- msgid "Notification email was not sent because there were no files uploaded."
373
- msgstr ""
374
- "Benachrichtigung per E-Mail wurde nicht gesendet, weil keine Dateien "
375
- "hochgeladen worden sind."
376
-
377
- #: lib/wfu_constants.php:117
378
- msgid ""
379
- "Notification email was not sent because no recipients were defined. Please "
380
- "check notifyrecipients attribute in the shortcode."
381
- msgstr ""
382
- "Benachrichtigung per E-Mail wurde nicht gesendet, da keine Empfänger "
383
- "definiert wurde. Bitte überprüfen Sie das notifyrecipients-Attribut im "
384
- "Shortcode."
385
-
386
- #: lib/wfu_constants.php:118
387
- msgid ""
388
- "Notification email was not sent due to an error. Please check "
389
- "notifyrecipients, notifysubject and notifymessage attributes for errors."
390
- msgstr ""
391
- "E-Mail-Benachrichtigung wurde wegen eines Fehlers nicht gesendet. Bitte "
392
- "überprüfen Sie das notifysubject und das notifymessage Attribut auf Fehler."
393
-
394
- #: lib/wfu_constants.php:119
395
- msgid ""
396
- "Redirection not executed because redirection link is empty. Please check "
397
- "redirectlink attribute."
398
- msgstr ""
399
- "Umleitung nicht ausgeführt, da der Umleitungs-Link leer ist. Bitte "
400
- "überprüfen Sie das redirectlink Attribut."
401
-
402
- #: lib/wfu_constants.php:120
403
- msgid ""
404
- "Redirection not executed because not all files were successfully uploaded."
405
- msgstr ""
406
- "Umleitung nicht ausgeführt, da nicht alle Dateien erfolgreich hochgeladen "
407
- "wurden."
408
-
409
- #: lib/wfu_constants.php:123
410
- msgid "Test Mode"
411
- msgstr "Test Modus"
412
-
413
- #: lib/wfu_constants.php:124
414
- msgid "select dir..."
415
- msgstr "Wählen Sie das Verzeichnis ..."
416
-
417
- #: lib/wfu_constants.php:125
418
- msgid "type dir"
419
- msgstr "Geben Sie das Verzeichnis ein"
420
-
421
- #: lib/wfu_constants.php:126
422
- msgid "Upload path: %filepath%"
423
- msgstr "Upload-Pfad: %filepath%"
424
-
425
- #: lib/wfu_constants.php:127
426
- msgid "Failed upload path: %filepath%"
427
- msgstr "Fehlerhafter Upload-Pfad: %filepath%"
428
-
429
- #: lib/wfu_constants.php:128
430
- msgid " (required)"
431
- msgstr "(erforderlich)"
432
-
433
- #: lib/wfu_constants.php:129
434
- msgid "Files are being uploaded. Are you sure you want to exit the page?"
435
- msgstr ""
436
- "Dateien werden hochgeladen wird. Sind Sie sicher, dass Sie die Seite "
437
- "verlassen wollen?"
438
-
439
- #: lib/wfu_constants.php:132
440
- msgid "This is a test message"
441
- msgstr "This is a test message"
442
-
443
- #: lib/wfu_constants.php:133
444
- msgid "This is a test administrator message"
445
- msgstr "Dies ist eine Test-Admin-Nachricht"
446
-
447
- #: lib/wfu_constants.php:134
448
- msgid "File testfile 1 under test"
449
- msgstr "Datei testfile 1 wird getestet"
450
-
451
- #: lib/wfu_constants.php:135
452
- msgid "File testfile 1 message"
453
- msgstr "Datei testfile 1 Nachricht"
454
-
455
- #: lib/wfu_constants.php:136
456
- msgid "File testfile 1 administrator message"
457
- msgstr "Datei testfile 1 Admin-Nachricht"
458
-
459
- #: lib/wfu_constants.php:137
460
- msgid "File testfile 2 under test"
461
- msgstr "File testfile 2 wird getestet"
462
-
463
- #: lib/wfu_constants.php:138
464
- msgid "File testfile 2 message"
465
- msgstr "Datei testfile 2 Nachricht"
466
-
467
- #: lib/wfu_constants.php:139
468
- msgid "File testfile 2 administrator message"
469
- msgstr "Datei testfile 2 Admin-Nachricht"
470
-
471
- #: lib/wfu_constants.php:142
472
- msgid ""
473
- "Failed to add the shortcode to the page/post. Please try again. If the "
474
- "message persists, contact administrator."
475
- msgstr ""
476
- "Fehler beim Abrufen der Shortcode zu der Seite / Beitrag hinzuzufügen. Bitte "
477
- "versuche es erneut. Wenn die Meldung weiterhin, wenden Sie sich "
478
- "Administrator."
479
-
480
- #: lib/wfu_constants.php:143
481
- msgid ""
482
- "Failed to edit the shortcode because the contents of the page changed. Try "
483
- "again to edit the shortcode."
484
- msgstr ""
485
- "Der Shortcode konnte nicht bearbeitet, da sich der Inhalt der Seite geändert "
486
- "hat. Versuchen Sie erneut den Shortcode zu bearbeiten."
487
-
488
- #: lib/wfu_constants.php:144
489
- msgid ""
490
- "Failed to delete the shortcode because the contents of the page changed. Try "
491
- "again to delete it."
492
- msgstr ""
493
- "Der Shortcode konnte nicht gelöscht werden, da sich der Inhalt der Seite "
494
- "geändert hat. Versuchen Sie erneut den Shortcode zu löschen."
495
-
496
- #: lib/wfu_constants.php:145
497
- msgid ""
498
- "The page containing the shortcode has been modified and it is no longer "
499
- "valid. Please go back to reload the shortcode."
500
- msgstr ""
501
- "Die Seite mit dem Shortcode wurde modifiziert und ist nicht mehr gültig. "
502
- "Bitte gehen Sie zurück um zu den Shortcode zu laden."
503
-
504
- #: lib/wfu_constants.php:146
505
- msgid ""
506
- "Failed to update the shortcode because the contents of the page changed. Go "
507
- "back to reload the shortcode."
508
- msgstr ""
509
- "Der Shortcode konnte nicht aktualisiert werden, da sich der Inhalt der Seite "
510
- "geändert geändert hat. Gehen Sie zurück um zu den Shortcode neu zu laden."
511
-
512
- #: lib/wfu_constants.php:147
513
- msgid ""
514
- "Failed to update the shortcode. Please try again. If the problem persists, "
515
- "go back and reload the shortcode."
516
- msgstr ""
517
- "Fehler beim Aktualisieren des Schortcodes. Bitte versuchen Sie es erneut. "
518
- "Wenn das Problem weiterhin besteht, gehen Sie zurück und laden Sie den "
519
- "Shortcode neu."
520
-
521
- #: lib/wfu_constants.php:150
522
- msgid ""
523
- "Insert variable %userid% inside text. It will be replaced by the id of the "
524
- "current user."
525
- msgstr ""
526
- "Fügen Sie die Variable %userid% in den Text ein. Sie wird durch die ID des "
527
- "aktuellen Benutzers ersetzt."
528
-
529
- #: lib/wfu_constants.php:151
530
- msgid ""
531
- "Insert variable %username% inside text. It will be replaced by the username "
532
- "of the current user."
533
- msgstr ""
534
- "Fügen Sie die Variable %username% in den Text ein. Sie wird durch den "
535
- "Benutzernamen des aktuellen Benutzers ersetzt."
536
-
537
- #: lib/wfu_constants.php:152
538
- msgid ""
539
- "Insert variable %useremail% inside text. It will be replaced by the email of "
540
- "the current user."
541
- msgstr ""
542
- "Fügen Sie die Variable %useremail% in den Text ein. Sie wird durch die E-"
543
- "Mail-Adresse des aktuellen Benutzers ersetzt."
544
-
545
- #: lib/wfu_constants.php:153
546
- msgid ""
547
- "Insert variable %filename% inside text. It will be replaced by the filename "
548
- "of the uploaded file."
549
- msgstr ""
550
- "Fügen Sie die Variable %filename% in den Text. Sie wird durch den Dateinamen "
551
- "der hochgeladenen Dateien ersetzt."
552
-
553
- #: lib/wfu_constants.php:154
554
- msgid ""
555
- "Insert variable %filepath% inside text. It will be replaced by the full "
556
- "filepath of the uploaded file."
557
- msgstr ""
558
- "Fügen Sie die Variable %filepath% in den Text ein. Sie wird durch die "
559
- "vollständige Dateipfad der hochgeladenen Dateien ersetzt."
560
-
561
- #: lib/wfu_constants.php:155
562
- msgid ""
563
- "Insert variable %blogid% inside text. It will be replaced by the blog id of "
564
- "the website."
565
- msgstr ""
566
- "Fügen Sie die Variable %blogid% in den Text ein. Sie wird durch die Blog-ID "
567
- "der Website ersetzt werden."
568
-
569
- #: lib/wfu_constants.php:156
570
- msgid ""
571
- "Insert variable %pageid% inside text. It will be replaced by the id of the "
572
- "current page."
573
- msgstr ""
574
- "Fügen Sie die Variable %pageid% in den Text ein. Sie wird durch die ID der "
575
- "aktuellen Seite ersetzt."
576
-
577
- #: lib/wfu_constants.php:157
578
- msgid ""
579
- "Insert variable %pagetitle% inside text. It will be replaced by the title of "
580
- "the current page."
581
- msgstr ""
582
- "Fügen Sie die Variable %pagetitle% in den Text ein. Sie wird durch dden "
583
- "Title des aktuellen Benutzers ersetzt."
584
-
585
- #: lib/wfu_constants.php:158
586
- msgid ""
587
- "Insert variable %userdataXXX% inside text. Select the user field from the "
588
- "drop-down list. It will be replaced by the value that the user entered in "
589
- "this field."
590
- msgstr ""
591
- "Fügen Sie die Variable %userdataXXX% in den Text einfügen. Wählen Sie das "
592
- "Feld \"Benutzer\" aus der Dropdown Liste. Die Variable wird durch den Wert "
593
- "ersetzt, die der Benutzer in dieses Feld eingetragen hat."
594
-
595
- #: lib/wfu_constants.php:159
596
- msgid "Insert variable %n% inside text to denote a line change."
597
- msgstr ""
598
- "Fügen Sie die Variable %n% in den Text ein, um eine Änderung der Zeile zu "
599
- "kennzeichnen."
600
-
601
- #: lib/wfu_constants.php:162
602
- msgid "Upload in progress"
603
- msgstr "Upload läuft"
604
-
605
- #: lib/wfu_constants.php:163
606
- msgid "Upload in progress with warnings!"
607
- msgstr "Upload läuft mit Warnhinweisen!"
608
-
609
- #: lib/wfu_constants.php:164
610
- msgid "Upload in progress but some files already failed!"
611
- msgstr "Upload läuft, aber einige Dateien bereits gescheitert!"
612
-
613
- #: lib/wfu_constants.php:165
614
- msgid "Upload in progress but no files uploaded so far!"
615
- msgstr "Upload läuft aber keine Dateien hochgeladen bis jetzt!"
616
-
617
- #: lib/wfu_constants.php:166
618
- msgid "All files uploaded successfully"
619
- msgstr "Alle Dateien erfolgreich hochgeladen"
620
-
621
- #: lib/wfu_constants.php:167
622
- msgid "All files uploaded successfully but there are warnings!"
623
- msgstr "Alle Dateien erfolgreich hochgeladen, aber es gibt Warnhinweise!"
624
-
625
- #: lib/wfu_constants.php:168
626
- msgid "File uploaded successfully but there are warnings!"
627
- msgstr "Datei erfolgreich hochgeladen, aber es gibt Warnhinweise!"
628
-
629
- #: lib/wfu_constants.php:169
630
- msgid "Some files failed to upload!"
631
- msgstr "Einige Dateien konnten nicht hochgeladen werden!"
632
-
633
- #: lib/wfu_constants.php:170
634
- msgid "All files failed to upload"
635
- msgstr "Alle Dateien konnten nicht hochgeladen werden"
636
-
637
- #: lib/wfu_constants.php:171
638
- msgid "File failed to upload"
639
- msgstr "Datei konnte nicht hochgeladen werden"
640
-
641
- #: lib/wfu_constants.php:172
642
- msgid "There are no files to upload!"
643
- msgstr "Es gibt keine Dateien zum Hochladen!"
644
-
645
- #: lib/wfu_constants.php:173
646
- msgid "Test upload message"
647
- msgstr "Test-Upload-Nachricht"
648
-
649
- #: lib/wfu_constants.php:174
650
- msgid "JSON parse warning!"
651
- msgstr "JSON parse Warnung!"
652
-
653
- #: lib/wfu_constants.php:175
654
- msgid "please wait while redirecting..."
655
- msgstr "Bitte warten Sie, Sie werden umgeleitet ..."
656
-
657
- #: lib/wfu_constants.php:176
658
- msgid "Open visual shortcode editor in new window"
659
- msgstr "Offenen des visuellen Shortcode-Editor in neuem Fenster"
660
-
661
- #: lib/wfu_constants.php:177
662
- msgid "loading visual editor"
663
- msgstr "visueller Editor laden"
664
-
665
- #: lib/wfu_widget.php:8
666
- msgid "Wordpress File Upload Form"
667
- msgstr "Wordpress Datei Upload Formular"
668
-
669
- #: lib/wfu_widget.php:9
670
- msgid "Wordpress File Upload plugin uploader for sidebars"
671
- msgstr "Wordpress Datei Upload Plugin Uploader für Seitenleisten"
672
-
673
- #: lib/wfu_widget.php:38 lib/wfu_widget.php:98
674
- msgid "New title"
675
- msgstr "Neuer titel"
676
-
677
- #~ msgid "Select File/Select Files"
678
- #~ msgstr "Wählen Sie Datei/Dateien Auswählen"
679
-
680
- #~ msgid "Upload File/Upload Files"
681
- #~ msgstr "Datei Hochladen/Dateien Hochladen"
682
-
683
- #~ msgid "Please fill in the above words: "
684
- #~ msgstr "Bitte füllen Sie die Worte oben: "
685
-
686
- #~ msgid ""
687
- #~ "ERROR: Captcha not supported! You have an old PHP version. Upgrade your "
688
- #~ "PHP or use RecaptchaV2 (no account)."
689
- #~ msgstr ""
690
- #~ "Fehler: Captcha nicht unterstützt! Sie haben eine alte PHP-Version. "
691
- #~ "Aktualisieren Sie Ihr PHP oder RecaptchaV2 verwenden (kein Konto)."
692
-
693
- #~ msgid "ERROR: No site key. Please contact administrator!"
694
- #~ msgstr "ERROR: Keine Website-Taste. Bitte kontaktieren Sie Administrator!"
695
-
696
- #~ msgid ""
697
- #~ "ERROR: No site key defined! Please go to the plugin settings in Dashboard "
698
- #~ "to define Google Recaptcha keys."
699
- #~ msgstr ""
700
- #~ "Fehler: nicht vorhanden Website Schlüssel definiert! Bitte gehen Sie auf "
701
- #~ "die Plugin-Einstellungen im Dashboard, um Google Recaptcha Schlüssel "
702
- #~ "definieren."
703
-
704
- #~ msgid "Bad captcha image!"
705
- #~ msgstr "Schlechten Captcha-Bild!"
706
-
707
- #~ msgid "No input!"
708
- #~ msgstr "Keine Eingabe!"
709
-
710
- #~ msgid "Captcha not completed!"
711
- #~ msgstr "Captcha nicht abgeschlossen!"
712
-
713
- #~ msgid "Wrong captcha!"
714
- #~ msgstr "Falsche Captcha!"
715
-
716
- #~ msgid "Error refreshing captcha!"
717
- #~ msgstr "Fehler erfrischenden captcha!"
718
-
719
- #~ msgid "Unknown captcha error!"
720
- #~ msgstr "Captcha unbekannter Fehler"
721
-
722
- #~ msgid "Captcha not supported by your browser!"
723
- #~ msgstr "Captcha von Ihrem Browser nicht unterstützt!"
724
-
725
- #~ msgid "the secret parameter is missing"
726
- #~ msgstr "das Geheimnis Parameter fehlt"
727
-
728
- #~ msgid "the secret parameter is invalid or malformed"
729
- #~ msgstr "das Geheimnis Parameter ist ungültig oder fehlerhaft"
730
-
731
- #~ msgid "the response parameter is missing"
732
- #~ msgstr "die Antwort Parameter fehlt"
733
-
734
- #~ msgid "the response parameter is invalid or malformed"
735
- #~ msgstr "die Antwort Parameter ist ungültig oder fehlerhaft"
736
-
737
- #~ msgid "Please do not use drag drop due to an internal problem."
738
- #~ msgstr ""
739
- #~ "Bitte verwenden Sie keine Drag Drop aufgrund eines internen Problems."
740
-
741
- #~ msgid "Error during chunked upload. Unique ID empty in chunk %d"
742
- #~ msgstr "Fehler beim chunked Hochladen. Eindeutige ID leer in chunk %d"
743
-
744
- #~ msgid "Chunked upload is not allowed!"
745
- #~ msgstr "Chunked Hochladen ist nicht erlaubt!"
746
-
747
- #~ msgid "Chunked upload aborted due to error in previous chunk!"
748
- #~ msgstr ""
749
- #~ "Chunked Hochladen aufgrund eines Fehlers in früheren chunk abgebrochen!"
750
-
751
- #~ msgid "Chunked upload failed, final file could not be created!"
752
- #~ msgstr ""
753
- #~ "Chunked Hochladen fehlgeschlagen ist, konnte die letzte Datei nicht "
754
- #~ "erstellt werden!"
755
-
756
- #~ msgid "Could not write file chuck to destination on chunk %d"
757
- #~ msgstr "Konnte Datei chuck bis zum Ziel nicht schreiben am chunk %d"
758
-
759
- #~ msgid "Could not enlarge destination file on chunk %d"
760
- #~ msgstr "Datei konnte nicht vergrößern am chunk %d"
761
-
762
- #~ msgid "Could not open file handles on chunk %d"
763
- #~ msgstr "Dateihandles konnte nicht geöffnet werden am chunk %d"
764
-
765
- #~ msgid "checking captcha..."
766
- #~ msgstr "Prüfung captcha..."
767
-
768
- #~ msgid "refreshing..."
769
- #~ msgstr "erfrischend..."
770
-
771
- #~ msgid "correct captcha"
772
- #~ msgstr "korrekte captcha"
773
-
774
- #~ msgid "click to continue the upload"
775
- #~ msgstr "Klicken Sie, um das Hochladen fortsetzen"
776
-
777
- #~ msgid "Clear file list?"
778
- #~ msgstr "Klar Dateiliste?"
779
-
780
- #~ msgid "DROP HERE"
781
- #~ msgstr "HIER ABLEGEN"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Wordpress File Upload\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-11-01 20:42+0200\n"
6
+ "PO-Revision-Date: 2015-11-01 20:44+0200\n"
7
+ "Last-Translator: nickboss <info@iptanus.com>\n"
8
+ "Language-Team: Iptanus Team <info@iptanus.com>\n"
9
+ "Language: de_DE\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Poedit-KeywordsList: __;gettext;gettext_noop\n"
14
+ "X-Poedit-Basepath: ../\n"
15
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "X-Generator: Poedit 1.7.5\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+ "X-Poedit-SearchPathExcluded-0: vendor\n"
19
+ "X-Poedit-SearchPathExcluded-1: minified\n"
20
+ "X-Poedit-SearchPathExcluded-2: unminified\n"
21
+
22
+ #: lib/wfu_constants.php:7
23
+ msgid "Upload files"
24
+ msgstr "Dateien hochladen"
25
+
26
+ #: lib/wfu_constants.php:10
27
+ msgid "Select File/Select Files"
28
+ msgstr "Wählen Sie Datei/Dateien Auswählen"
29
+
30
+ #: lib/wfu_constants.php:11
31
+ msgid "Upload File/Upload Files"
32
+ msgstr "Datei Hochladen/Dateien Hochladen"
33
+
34
+ #: lib/wfu_constants.php:15
35
+ msgid "Select File"
36
+ msgstr "Datei auswählen"
37
+
38
+ #: lib/wfu_constants.php:16
39
+ msgid "Upload File"
40
+ msgstr "Datei hochladen"
41
+
42
+ #: lib/wfu_constants.php:19
43
+ msgid "File Upload Notification"
44
+ msgstr "Datei-Upload-Benachrichtigung"
45
+
46
+ #: lib/wfu_constants.php:20
47
+ msgid ""
48
+ "Dear Recipient,%n%%n% This is an automatic delivery message to notify you "
49
+ "that a new file has been uploaded.%n%%n%Best Regards"
50
+ msgstr ""
51
+ "Sehr geehrter Empfänger,%n%%n%Dies ist eine automatische Nachricht, die Sie "
52
+ "benachrichtigt, dass eine neue Datei hochgeladen wurde.%n%%n%Beste Grüße"
53
+
54
+ #: lib/wfu_constants.php:21
55
+ #, php-format
56
+ msgid "File %filename% uploaded successfully"
57
+ msgstr "Datei %filename% erfolgreich hochgeladen"
58
+
59
+ #: lib/wfu_constants.php:22
60
+ #, php-format
61
+ msgid "File %filename% uploaded successfully but with warnings"
62
+ msgstr "Datei %filename% erfolgreich hochgeladen, aber es gibt Warnhinweise"
63
+
64
+ #: lib/wfu_constants.php:23
65
+ msgid "File %filename% not uploaded"
66
+ msgstr "Datei% filename% nicht hochgeladen"
67
+
68
+ #: lib/wfu_constants.php:24
69
+ msgid "File %filename% is being uploaded"
70
+ msgstr "Datei %filename% wird hochgeladen"
71
+
72
+ #: lib/wfu_constants.php:25
73
+ msgid "Your message"
74
+ msgstr "Ihre Nachricht"
75
+
76
+ #: lib/wfu_constants.php:26
77
+ msgid "Please fill in the above words: "
78
+ msgstr "Bitte füllen Sie die Worte oben: "
79
+
80
+ #: lib/wfu_constants.php:28
81
+ msgid "File"
82
+ msgstr "Datei"
83
+
84
+ #: lib/wfu_constants.php:29
85
+ msgid "Date"
86
+ msgstr "Datum"
87
+
88
+ #: lib/wfu_constants.php:30
89
+ msgid "Size"
90
+ msgstr "Grösse"
91
+
92
+ #: lib/wfu_constants.php:31
93
+ msgid "User"
94
+ msgstr "Benutzer"
95
+
96
+ #: lib/wfu_constants.php:32
97
+ msgid "Page"
98
+ msgstr "Seite"
99
+
100
+ #: lib/wfu_constants.php:33
101
+ msgid "User Fields"
102
+ msgstr "Benutzerfelder:"
103
+
104
+ #: lib/wfu_constants.php:34
105
+ msgid "Download"
106
+ msgstr "Herunterladen"
107
+
108
+ #: lib/wfu_constants.php:35
109
+ msgid "Download this file"
110
+ msgstr "Diese datei herunterladen"
111
+
112
+ #: lib/wfu_constants.php:36
113
+ msgid "Delete"
114
+ msgstr "Löschen"
115
+
116
+ #: lib/wfu_constants.php:37
117
+ msgid "Delete this file"
118
+ msgstr "Diese datei löschen"
119
+
120
+ #: lib/wfu_constants.php:38
121
+ msgid "Sort list based on this column"
122
+ msgstr "Sortieren sie diese liste auf der grundlage dieser spalte"
123
+
124
+ #: lib/wfu_constants.php:39
125
+ msgid "guest"
126
+ msgstr "Gast"
127
+
128
+ #: lib/wfu_constants.php:40
129
+ msgid "unknown"
130
+ msgstr "unbekannt"
131
+
132
+ #: lib/wfu_constants.php:42
133
+ msgid ""
134
+ "Error. Could not resolve ftp target filedir. Check the domain in 'ftpinfo' "
135
+ "attribute."
136
+ msgstr ""
137
+ "Fehler. Der FTP-Ordner des FTP-Ziels konnte nicht aufgelöst werden. "
138
+ "Überprüfen Sie die Domäne in \"ftpinfo\"-Attribut."
139
+
140
+ #: lib/wfu_constants.php:43
141
+ msgid "Error. Invalid ftp information. Check 'ftpinfo' attribute."
142
+ msgstr ""
143
+ "Fehler. Ungültiger ftp-Informationen. Überprüfen Sie das 'ftpinfo'-Attribut."
144
+
145
+ #: lib/wfu_constants.php:44
146
+ msgid ""
147
+ "Error. Could not extract ftp information from 'ftpinfo' attribute. Check its "
148
+ "syntax."
149
+ msgstr ""
150
+ "Fehler. Ftp-Daten konnte nicht aus dem 'ftpinfo'-Attribut extrahiert werden. "
151
+ "Überprüfen Sie die Schreibweise."
152
+
153
+ #: lib/wfu_constants.php:45
154
+ msgid ""
155
+ "Error. Could not resolve ftp target filename. Check the domain in 'ftpinfo' "
156
+ "attribute."
157
+ msgstr ""
158
+ "Fehler. Ftp-Zieldateiname konnte nicht aufgelöst werden. Überprüfen Sie die "
159
+ "Domäne im 'ftpinfo'-Attribut."
160
+
161
+ #: lib/wfu_constants.php:46
162
+ msgid ""
163
+ "Error. The upload size limit of PHP directive upload_max_filesize is "
164
+ "preventing the upload of big files.\n"
165
+ "PHP directive upload_max_filesize limit is: "
166
+ msgstr ""
167
+ "Fehler. Die Upload-Größenbeschränkung der PHP Richtlinie upload_max_filesize "
168
+ "hat das Hochladen von großen Dateien verhindern.\n"
169
+ "Das upload_max_filesize-Limit beträgt derzeit:"
170
+
171
+ #: lib/wfu_constants.php:47
172
+ msgid ""
173
+ "The upload time limit of PHP directive max_input_time is preventing the "
174
+ "upload of big files.\n"
175
+ "PHP directive max_input_time limit is: "
176
+ msgstr ""
177
+ "Die Upload-Zeitspanne der PHP-Direktive max_input_time verhindert das "
178
+ "Hochladen von großen Dateien. \n"
179
+ "Das max_input_time Limit ist derzeit:"
180
+
181
+ #: lib/wfu_constants.php:48
182
+ msgid ""
183
+ "Error. Permission denied to write to target folder.\n"
184
+ "Check and correct read/write permissions of target folder."
185
+ msgstr ""
186
+ "Fehler. Schreibzugriff im Zielordner verweigert. \n"
187
+ "Prüfen und korrigieren Sie Schreib-/Lese-Berechtigungen des Zielordners."
188
+
189
+ #: lib/wfu_constants.php:49
190
+ msgid "Targer folder doesn't exist."
191
+ msgstr "Ziel-Ordner nicht vorhanden ist."
192
+
193
+ #: lib/wfu_constants.php:50
194
+ msgid "Upload failed! Missing a temporary folder."
195
+ msgstr ""
196
+ "Hochladen fehlgeschlagen! Verzeichnis für temporären Dateienupload fehlt"
197
+
198
+ #: lib/wfu_constants.php:51
199
+ msgid "Upload failed! Permission denied to write to target folder."
200
+ msgstr ""
201
+ "Hochladen fehlgeschlagen! Keine Berechtigung, um im Zielordner zu schreiben."
202
+
203
+ #: lib/wfu_constants.php:52
204
+ msgid "File not allowed."
205
+ msgstr "Dateiformat nicht erlaubt"
206
+
207
+ #: lib/wfu_constants.php:53
208
+ msgid "The uploaded file exceeds the file size limit."
209
+ msgstr "Die hochzuladende Datei überschreitet das Dateigrößenlimit."
210
+
211
+ #: lib/wfu_constants.php:54
212
+ msgid "The uploaded file exceeds 2GB and is not supported by this server."
213
+ msgstr ""
214
+ "Die hochgeladene Datei überschreitet 2GB und wird von diesem Server nicht "
215
+ "unterstützt."
216
+
217
+ #: lib/wfu_constants.php:55
218
+ msgid ""
219
+ "Upload failed! The uploaded file exceeds the file size limit of the server. "
220
+ "Please contact the administrator."
221
+ msgstr ""
222
+ "Hochladen fehlgeschlagen! Die hochgeladene Datei überschreitet die maximale "
223
+ "Dateigröße des Servers. Bitte wenden Sie sich an den Administrator."
224
+
225
+ #: lib/wfu_constants.php:56
226
+ msgid ""
227
+ "Upload failed! The duration of the upload exceeded the time limit of the "
228
+ "server. Please contact the administrator."
229
+ msgstr ""
230
+ "Hochladen fehlgeschlagen! Die Dauer des Uploads liegt über dem Zeitlimit des "
231
+ "Servers. Bitte wenden Sie sich an den Administrator oder senden Sie die "
232
+ "Datei von einem Rechner mit schnellerer Internetverbindung."
233
+
234
+ #: lib/wfu_constants.php:57
235
+ msgid ""
236
+ "Upload failed! The uploaded file exceeds the MAX_FILE_SIZE directive that "
237
+ "was specified in the HTML form."
238
+ msgstr ""
239
+ "Hochladen fehlgeschlagen! Die hochgeladene Datei überschreitet die "
240
+ "MAX_FILE_SIZE Richtlinie, die im HTML-Formular angegeben wurde."
241
+
242
+ #: lib/wfu_constants.php:58
243
+ msgid "Upload failed! The uploaded file was only partially uploaded."
244
+ msgstr "Hochladen fehlgeschlagen! Die Datei wurde nur teilweise hochgeladen."
245
+
246
+ #: lib/wfu_constants.php:59
247
+ msgid "Upload failed! No file was uploaded."
248
+ msgstr "Hochladen fehlgeschlagen! Es wurde keine Datei hochgeladen."
249
+
250
+ #: lib/wfu_constants.php:60
251
+ msgid "Upload failed! Failed to write file to disk."
252
+ msgstr ""
253
+ "Hochladen fehlgeschlagen! Konnte die Datei nicht auf die Festplatte "
254
+ "schreiben."
255
+
256
+ #: lib/wfu_constants.php:61
257
+ msgid ""
258
+ "Upload failed! Error occured while moving temporary file. Please contact "
259
+ "administrator."
260
+ msgstr ""
261
+ "Hochladen fehlgeschlagen! Es ist ein Fehler aufgetreten, während der "
262
+ "Verschiebung der temporären Datei. Bitte kontaktieren Sie Administrator."
263
+
264
+ #: lib/wfu_constants.php:62
265
+ msgid ""
266
+ "Upload failed! A PHP extension stopped the file upload. PHP does not provide "
267
+ "a way to ascertain which extension caused the file upload to stop; examining "
268
+ "the list of loaded extensions with phpinfo() may help."
269
+ msgstr ""
270
+ "Hochladen fehlgeschlagen! Ein PHP-Erweiterung stoppte den Datei-Upload. PHP "
271
+ "bietet keine Möglichkeit, festzustellen, welche PHP-Erweiterung den Datei-"
272
+ "Upload-Stopp verursacht, zur Prüfung der Liste der geladenen Erweiterungen "
273
+ "kann phpinfo() helfen."
274
+
275
+ #: lib/wfu_constants.php:63
276
+ msgid "Upload failed! Error occured while attemting to upload the file."
277
+ msgstr ""
278
+ "Hochladen fehlgeschlagen! Es sind Fehler beim Versuch, die Datei hochzuladen "
279
+ "aufgetreten."
280
+
281
+ #: lib/wfu_constants.php:64
282
+ msgid "Upload failed!"
283
+ msgstr "Hochladen fehlgeschlagen!"
284
+
285
+ #: lib/wfu_constants.php:65
286
+ msgid "No file!"
287
+ msgstr "Keine Datei!"
288
+
289
+ #: lib/wfu_constants.php:66
290
+ msgid ""
291
+ "Upload failed! The upload has been canceled by the user or the browser "
292
+ "dropped the connection."
293
+ msgstr ""
294
+ "Hochladen fehlgeschlagen! Der Upload wurde vom Benutzer abgebrochen wurde "
295
+ "oder der Browser hat die Verbindung verloren."
296
+
297
+ #: lib/wfu_constants.php:67
298
+ msgid "Upload failed! Unknown error."
299
+ msgstr "Hochladen fehlgeschlagen! Unbekannter Fehler."
300
+
301
+ #: lib/wfu_constants.php:68
302
+ msgid "Please contact the administrator."
303
+ msgstr "Bitte kontaktieren Sie den Administrator."
304
+
305
+ #: lib/wfu_constants.php:69
306
+ msgid "No result from remote server!"
307
+ msgstr "Kein Ergebnis vom Remote-Server!"
308
+
309
+ #: lib/wfu_constants.php:70
310
+ msgid " but with warnings"
311
+ msgstr " aber mit Warnhinweisen"
312
+
313
+ #: lib/wfu_constants.php:71 lib/wfu_constants.php:73
314
+ msgid "Warning: JSON parse error."
315
+ msgstr "Warnung: JSON-Parser-Fehler."
316
+
317
+ #: lib/wfu_constants.php:72
318
+ msgid ""
319
+ "Upload parameters of this file, passed as JSON string to the handler, could "
320
+ "not be parsed."
321
+ msgstr ""
322
+ "Upload-Parameter dieser Datei, übergeben als als JSON String an den Handler, "
323
+ "konnte nicht analysiert werden."
324
+
325
+ #: lib/wfu_constants.php:74
326
+ msgid ""
327
+ "UploadStates, passed as JSON string to the handler, could not be parsed."
328
+ msgstr ""
329
+ "Upload-Status, übergeben als JSON String an den Handler, konnte nicht "
330
+ "analysiert werden."
331
+
332
+ #: lib/wfu_constants.php:75
333
+ msgid ""
334
+ "Redirection to classic form functionality occurred due to unknown error."
335
+ msgstr ""
336
+ "Bei der Umleitung auf die klassische Formular-Funktionalität ist ein "
337
+ "unbekannter Fehler aufgetreten."
338
+
339
+ #: lib/wfu_constants.php:76
340
+ msgid ""
341
+ "Redirection to classic form functionality occurred because AJAX is not "
342
+ "supported."
343
+ msgstr ""
344
+ "Bei der Umleitung auf die klassische Formular-Funktionalität ist ein Fehler "
345
+ "aufgetreten, weil AJAX nicht unterstützt wird."
346
+
347
+ #: lib/wfu_constants.php:77
348
+ msgid ""
349
+ "Redirection to classic form functionality occurred because HTML5 is not "
350
+ "supported."
351
+ msgstr ""
352
+ "Bei der Umleitung zu klassischen Formular-Funktionalität ist ein Fehler "
353
+ "aufgetreten, da HTML5 nicht unterstützt wird."
354
+
355
+ #: lib/wfu_constants.php:78
356
+ msgid ""
357
+ "Redirection to classic form functionality occurred due to JSON parse error."
358
+ msgstr ""
359
+ "Bei der Umleitung auf die klassische Formular-Funktionalität ist ein Fehler "
360
+ "aufgetreten beim Parsen von JSON."
361
+
362
+ #: lib/wfu_constants.php:79
363
+ msgid "Please enable popup windows from the browser's settings!"
364
+ msgstr ""
365
+ "Bitte aktivieren Sie diese Popup-Fenster aus den Browser-Einstellungen!"
366
+
367
+ #: lib/wfu_constants.php:80
368
+ msgid "cannot be empty!"
369
+ msgstr "darf nicht leer sein!"
370
+
371
+ #: lib/wfu_constants.php:81
372
+ msgid "number not valid!"
373
+ msgstr "Nummer nicht gültig!"
374
+
375
+ #: lib/wfu_constants.php:82
376
+ msgid "email not valid!"
377
+ msgstr "email adresse ist ungültig!"
378
+
379
+ #: lib/wfu_constants.php:83
380
+ msgid "emails do not match!"
381
+ msgstr "emails stimmen nicht überein!"
382
+
383
+ #: lib/wfu_constants.php:84
384
+ msgid "no base email field in group!"
385
+ msgstr "keine basis email feld in der gruppe!"
386
+
387
+ #: lib/wfu_constants.php:85
388
+ msgid "passwords do not match!"
389
+ msgstr "passwörter stimmen nicht überein"
390
+
391
+ #: lib/wfu_constants.php:86
392
+ msgid "no base password field in group!"
393
+ msgstr "keine basispasswortfeld in der gruppe!"
394
+
395
+ #: lib/wfu_constants.php:87
396
+ msgid "checkbox unchecked!"
397
+ msgstr "checkBox nicht aktiviert!"
398
+
399
+ #: lib/wfu_constants.php:88
400
+ msgid "no option selected!"
401
+ msgstr "keine optionen selektiert!"
402
+
403
+ #: lib/wfu_constants.php:89
404
+ msgid "no item selected!"
405
+ msgstr "keine dateien ausgewählt!"
406
+
407
+ #: lib/wfu_constants.php:90
408
+ msgid ""
409
+ "There are more than one instances of the plugin in this page with the same "
410
+ "id. Please change it."
411
+ msgstr ""
412
+ "Es gibt mehrere Instanzen des Plugins auf dieser Seite mit der gleichen ID. "
413
+ "Bitte ändern Sie dies."
414
+
415
+ #: lib/wfu_constants.php:91
416
+ msgid ""
417
+ "Cannot edit the shortcode because the page has been modified. Please reload "
418
+ "the page."
419
+ msgstr ""
420
+ "Der Shortcode kann nicht bearbeitet werden, da die Seite geändert wurde. "
421
+ "Laden Sie die Seite erneut."
422
+
423
+ #: lib/wfu_constants.php:92
424
+ msgid ""
425
+ "ERROR: Captcha not supported! You have an old PHP version. Upgrade your PHP "
426
+ "or use RecaptchaV2 (no account)."
427
+ msgstr ""
428
+ "Fehler: Captcha nicht unterstützt! Sie haben eine alte PHP-Version. "
429
+ "Aktualisieren Sie Ihr PHP oder RecaptchaV2 verwenden (kein Konto)."
430
+
431
+ #: lib/wfu_constants.php:93
432
+ msgid "ERROR: No site key. Please contact administrator!"
433
+ msgstr "ERROR: Keine Website-Taste. Bitte kontaktieren Sie Administrator!"
434
+
435
+ #: lib/wfu_constants.php:94
436
+ msgid ""
437
+ "ERROR: No site key defined! Please go to the plugin settings in Dashboard to "
438
+ "define Google Recaptcha keys."
439
+ msgstr ""
440
+ "Fehler: nicht vorhanden Website Schlüssel definiert! Bitte gehen Sie auf die "
441
+ "Plugin-Einstellungen im Dashboard, um Google Recaptcha Schlüssel definieren."
442
+
443
+ #: lib/wfu_constants.php:95
444
+ msgid "Bad captcha image!"
445
+ msgstr "Schlechten Captcha-Bild!"
446
+
447
+ #: lib/wfu_constants.php:96
448
+ msgid "No input!"
449
+ msgstr "Keine Eingabe!"
450
+
451
+ #: lib/wfu_constants.php:97
452
+ msgid "Captcha not completed!"
453
+ msgstr "Captcha nicht abgeschlossen!"
454
+
455
+ #: lib/wfu_constants.php:98
456
+ msgid "Wrong captcha!"
457
+ msgstr "Falsche Captcha!"
458
+
459
+ #: lib/wfu_constants.php:99
460
+ msgid "Error refreshing captcha!"
461
+ msgstr "Fehler erfrischenden captcha!"
462
+
463
+ #: lib/wfu_constants.php:100
464
+ msgid "Unknown captcha error!"
465
+ msgstr "Captcha unbekannter Fehler"
466
+
467
+ #: lib/wfu_constants.php:101
468
+ msgid "Captcha not supported by your browser!"
469
+ msgstr "Captcha von Ihrem Browser nicht unterstützt!"
470
+
471
+ #: lib/wfu_constants.php:102
472
+ msgid "the secret parameter is missing"
473
+ msgstr "das Geheimnis Parameter fehlt"
474
+
475
+ #: lib/wfu_constants.php:103
476
+ msgid "the secret parameter is invalid or malformed"
477
+ msgstr "das Geheimnis Parameter ist ungültig oder fehlerhaft"
478
+
479
+ #: lib/wfu_constants.php:104
480
+ msgid "the response parameter is missing"
481
+ msgstr "die Antwort Parameter fehlt"
482
+
483
+ #: lib/wfu_constants.php:105
484
+ msgid "the response parameter is invalid or malformed"
485
+ msgstr "die Antwort Parameter ist ungültig oder fehlerhaft"
486
+
487
+ #: lib/wfu_constants.php:106
488
+ msgid "Please do not use drag drop due to an internal problem."
489
+ msgstr "Bitte verwenden Sie keine Drag Drop aufgrund eines internen Problems."
490
+
491
+ #: lib/wfu_constants.php:107
492
+ #, php-format
493
+ msgid "Error during chunked upload. Unique ID empty in chunk %d"
494
+ msgstr "Fehler beim chunked Hochladen. Eindeutige ID leer in chunk %d"
495
+
496
+ #: lib/wfu_constants.php:108
497
+ msgid "Chunked upload is not allowed!"
498
+ msgstr "Chunked Hochladen ist nicht erlaubt!"
499
+
500
+ #: lib/wfu_constants.php:109
501
+ msgid "Chunked upload aborted due to error in previous chunk!"
502
+ msgstr ""
503
+ "Chunked Hochladen aufgrund eines Fehlers in früheren chunk abgebrochen!"
504
+
505
+ #: lib/wfu_constants.php:110
506
+ msgid "Chunked upload failed, final file could not be created!"
507
+ msgstr ""
508
+ "Chunked Hochladen fehlgeschlagen ist, konnte die letzte Datei nicht erstellt "
509
+ "werden!"
510
+
511
+ #: lib/wfu_constants.php:111
512
+ #, php-format
513
+ msgid "Could not write file chuck to destination on chunk %d"
514
+ msgstr "Konnte Datei chuck bis zum Ziel nicht schreiben am chunk %d"
515
+
516
+ #: lib/wfu_constants.php:112
517
+ #, php-format
518
+ msgid "Could not enlarge destination file on chunk %d"
519
+ msgstr "Datei konnte nicht vergrößern am chunk %d"
520
+
521
+ #: lib/wfu_constants.php:113
522
+ #, php-format
523
+ msgid "Could not open file handles on chunk %d"
524
+ msgstr "Dateihandles konnte nicht geöffnet werden am chunk %d"
525
+
526
+ #: lib/wfu_constants.php:114
527
+ msgid "You are not allowed to delete this file!"
528
+ msgstr "Sie sind nicht berechtigt, diese Datei zu löschen!"
529
+
530
+ #: lib/wfu_constants.php:116
531
+ msgid "Upload skipped! File already exists."
532
+ msgstr "Hochladen abgebrochen! Datei ist bereits vorhanden."
533
+
534
+ #: lib/wfu_constants.php:117
535
+ msgid "No files have been selected!"
536
+ msgstr "Keine Dateien ausgewählt!"
537
+
538
+ #: lib/wfu_constants.php:118
539
+ msgid "WPFilebase Plugin not updated because there were no files uploaded."
540
+ msgstr ""
541
+ "WPFilebase Plugin konnte nicht aktualisiert werden, da keine Dateien "
542
+ "hochgeladen wurden."
543
+
544
+ #: lib/wfu_constants.php:119
545
+ msgid "Notification email was not sent because there were no files uploaded."
546
+ msgstr ""
547
+ "Benachrichtigung per E-Mail wurde nicht gesendet, weil keine Dateien "
548
+ "hochgeladen worden sind."
549
+
550
+ #: lib/wfu_constants.php:120
551
+ msgid ""
552
+ "Notification email was not sent because no recipients were defined. Please "
553
+ "check notifyrecipients attribute in the shortcode."
554
+ msgstr ""
555
+ "Benachrichtigung per E-Mail wurde nicht gesendet, da keine Empfänger "
556
+ "definiert wurde. Bitte überprüfen Sie das notifyrecipients-Attribut im "
557
+ "Shortcode."
558
+
559
+ #: lib/wfu_constants.php:121
560
+ msgid ""
561
+ "Notification email was not sent due to an error. Please check "
562
+ "notifyrecipients, notifysubject and notifymessage attributes for errors."
563
+ msgstr ""
564
+ "E-Mail-Benachrichtigung wurde wegen eines Fehlers nicht gesendet. Bitte "
565
+ "überprüfen Sie das notifysubject und das notifymessage Attribut auf Fehler."
566
+
567
+ #: lib/wfu_constants.php:122
568
+ msgid ""
569
+ "Redirection not executed because redirection link is empty. Please check "
570
+ "redirectlink attribute."
571
+ msgstr ""
572
+ "Umleitung nicht ausgeführt, da der Umleitungs-Link leer ist. Bitte "
573
+ "überprüfen Sie das redirectlink Attribut."
574
+
575
+ #: lib/wfu_constants.php:123
576
+ msgid ""
577
+ "Redirection not executed because not all files were successfully uploaded."
578
+ msgstr ""
579
+ "Umleitung nicht ausgeführt, da nicht alle Dateien erfolgreich hochgeladen "
580
+ "wurden."
581
+
582
+ #: lib/wfu_constants.php:125
583
+ msgid ""
584
+ "Failed to add the shortcode to the page/post. Please try again. If the "
585
+ "message persists, contact administrator."
586
+ msgstr ""
587
+ "Fehler beim Abrufen der Shortcode zu der Seite / Beitrag hinzuzufügen. Bitte "
588
+ "versuche es erneut. Wenn die Meldung weiterhin, wenden Sie sich "
589
+ "Administrator."
590
+
591
+ #: lib/wfu_constants.php:126
592
+ msgid ""
593
+ "Failed to edit the shortcode because the contents of the page changed. Try "
594
+ "again to edit the shortcode."
595
+ msgstr ""
596
+ "Der Shortcode konnte nicht bearbeitet, da sich der Inhalt der Seite geändert "
597
+ "hat. Versuchen Sie erneut den Shortcode zu bearbeiten."
598
+
599
+ #: lib/wfu_constants.php:127
600
+ msgid ""
601
+ "Failed to delete the shortcode because the contents of the page changed. Try "
602
+ "again to delete it."
603
+ msgstr ""
604
+ "Der Shortcode konnte nicht gelöscht werden, da sich der Inhalt der Seite "
605
+ "geändert hat. Versuchen Sie erneut den Shortcode zu löschen."
606
+
607
+ #: lib/wfu_constants.php:128
608
+ msgid ""
609
+ "The page containing the shortcode has been modified and it is no longer "
610
+ "valid. Please go back to reload the shortcode."
611
+ msgstr ""
612
+ "Die Seite mit dem Shortcode wurde modifiziert und ist nicht mehr gültig. "
613
+ "Bitte gehen Sie zurück um zu den Shortcode zu laden."
614
+
615
+ #: lib/wfu_constants.php:129
616
+ msgid ""
617
+ "Failed to update the shortcode because the contents of the page changed. Go "
618
+ "back to reload the shortcode."
619
+ msgstr ""
620
+ "Der Shortcode konnte nicht aktualisiert werden, da sich der Inhalt der Seite "
621
+ "geändert geändert hat. Gehen Sie zurück um zu den Shortcode neu zu laden."
622
+
623
+ #: lib/wfu_constants.php:130
624
+ msgid ""
625
+ "Failed to update the shortcode. Please try again. If the problem persists, "
626
+ "go back and reload the shortcode."
627
+ msgstr ""
628
+ "Fehler beim Aktualisieren des Schortcodes. Bitte versuchen Sie es erneut. "
629
+ "Wenn das Problem weiterhin besteht, gehen Sie zurück und laden Sie den "
630
+ "Shortcode neu."
631
+
632
+ #: lib/wfu_constants.php:132
633
+ msgid "This is a test message"
634
+ msgstr "This is a test message"
635
+
636
+ #: lib/wfu_constants.php:133
637
+ msgid "This is a test administrator message"
638
+ msgstr "Dies ist eine Test-Admin-Nachricht"
639
+
640
+ #: lib/wfu_constants.php:134
641
+ msgid "File testfile 1 under test"
642
+ msgstr "Datei testfile 1 wird getestet"
643
+
644
+ #: lib/wfu_constants.php:135
645
+ msgid "File testfile 1 message"
646
+ msgstr "Datei testfile 1 Nachricht"
647
+
648
+ #: lib/wfu_constants.php:136
649
+ msgid "File testfile 1 administrator message"
650
+ msgstr "Datei testfile 1 Admin-Nachricht"
651
+
652
+ #: lib/wfu_constants.php:137
653
+ msgid "File testfile 2 under test"
654
+ msgstr "File testfile 2 wird getestet"
655
+
656
+ #: lib/wfu_constants.php:138
657
+ msgid "File testfile 2 message"
658
+ msgstr "Datei testfile 2 Nachricht"
659
+
660
+ #: lib/wfu_constants.php:139
661
+ msgid "File testfile 2 administrator message"
662
+ msgstr "Datei testfile 2 Admin-Nachricht"
663
+
664
+ #: lib/wfu_constants.php:141
665
+ msgid ""
666
+ "Insert variable %userid% inside text. It will be replaced by the id of the "
667
+ "current user."
668
+ msgstr ""
669
+ "Fügen Sie die Variable %userid% in den Text ein. Sie wird durch die ID des "
670
+ "aktuellen Benutzers ersetzt."
671
+
672
+ #: lib/wfu_constants.php:142
673
+ msgid ""
674
+ "Insert variable %username% inside text. It will be replaced by the username "
675
+ "of the current user."
676
+ msgstr ""
677
+ "Fügen Sie die Variable %username% in den Text ein. Sie wird durch den "
678
+ "Benutzernamen des aktuellen Benutzers ersetzt."
679
+
680
+ #: lib/wfu_constants.php:143
681
+ msgid ""
682
+ "Insert variable %useremail% inside text. It will be replaced by the email of "
683
+ "the current user."
684
+ msgstr ""
685
+ "Fügen Sie die Variable %useremail% in den Text ein. Sie wird durch die E-"
686
+ "Mail-Adresse des aktuellen Benutzers ersetzt."
687
+
688
+ #: lib/wfu_constants.php:144
689
+ msgid ""
690
+ "Insert variable %filename% inside text. It will be replaced by the filename "
691
+ "of the uploaded file."
692
+ msgstr ""
693
+ "Fügen Sie die Variable %filename% in den Text. Sie wird durch den Dateinamen "
694
+ "der hochgeladenen Dateien ersetzt."
695
+
696
+ #: lib/wfu_constants.php:145
697
+ msgid ""
698
+ "Insert variable %filepath% inside text. It will be replaced by the full "
699
+ "filepath of the uploaded file."
700
+ msgstr ""
701
+ "Fügen Sie die Variable %filepath% in den Text ein. Sie wird durch die "
702
+ "vollständige Dateipfad der hochgeladenen Dateien ersetzt."
703
+
704
+ #: lib/wfu_constants.php:146
705
+ msgid ""
706
+ "Insert variable %blogid% inside text. It will be replaced by the blog id of "
707
+ "the website."
708
+ msgstr ""
709
+ "Fügen Sie die Variable %blogid% in den Text ein. Sie wird durch die Blog-ID "
710
+ "der Website ersetzt werden."
711
+
712
+ #: lib/wfu_constants.php:147
713
+ msgid ""
714
+ "Insert variable %pageid% inside text. It will be replaced by the id of the "
715
+ "current page."
716
+ msgstr ""
717
+ "Fügen Sie die Variable %pageid% in den Text ein. Sie wird durch die ID der "
718
+ "aktuellen Seite ersetzt."
719
+
720
+ #: lib/wfu_constants.php:148
721
+ msgid ""
722
+ "Insert variable %pagetitle% inside text. It will be replaced by the title of "
723
+ "the current page."
724
+ msgstr ""
725
+ "Fügen Sie die Variable %pagetitle% in den Text ein. Sie wird durch dden "
726
+ "Title des aktuellen Benutzers ersetzt."
727
+
728
+ #: lib/wfu_constants.php:149
729
+ msgid ""
730
+ "Insert variable %userdataXXX% inside text. Select the user field from the "
731
+ "drop-down list. It will be replaced by the value that the user entered in "
732
+ "this field."
733
+ msgstr ""
734
+ "Fügen Sie die Variable %userdataXXX% in den Text einfügen. Wählen Sie das "
735
+ "Feld \"Benutzer\" aus der Dropdown Liste. Die Variable wird durch den Wert "
736
+ "ersetzt, die der Benutzer in dieses Feld eingetragen hat."
737
+
738
+ #: lib/wfu_constants.php:150
739
+ msgid "Insert variable %n% inside text to denote a line change."
740
+ msgstr ""
741
+ "Fügen Sie die Variable %n% in den Text ein, um eine Änderung der Zeile zu "
742
+ "kennzeichnen."
743
+
744
+ #: lib/wfu_constants.php:152
745
+ msgid "Test Mode"
746
+ msgstr "Test Modus"
747
+
748
+ #: lib/wfu_constants.php:153
749
+ msgid "select dir..."
750
+ msgstr "Wählen Sie das Verzeichnis ..."
751
+
752
+ #: lib/wfu_constants.php:154
753
+ msgid "type dir"
754
+ msgstr "Geben Sie das Verzeichnis ein"
755
+
756
+ #: lib/wfu_constants.php:155
757
+ msgid "Upload path: %filepath%"
758
+ msgstr "Upload-Pfad: %filepath%"
759
+
760
+ #: lib/wfu_constants.php:156
761
+ msgid "Failed upload path: %filepath%"
762
+ msgstr "Fehlerhafter Upload-Pfad: %filepath%"
763
+
764
+ #: lib/wfu_constants.php:157
765
+ msgid " (required)"
766
+ msgstr "(erforderlich)"
767
+
768
+ #: lib/wfu_constants.php:158
769
+ msgid "Files are being uploaded. Are you sure you want to exit the page?"
770
+ msgstr ""
771
+ "Dateien werden hochgeladen wird. Sind Sie sicher, dass Sie die Seite "
772
+ "verlassen wollen?"
773
+
774
+ #: lib/wfu_constants.php:159
775
+ msgid "checking captcha..."
776
+ msgstr "Prüfung captcha..."
777
+
778
+ #: lib/wfu_constants.php:160
779
+ msgid "refreshing..."
780
+ msgstr "erfrischend..."
781
+
782
+ #: lib/wfu_constants.php:161
783
+ msgid "correct captcha"
784
+ msgstr "korrekte captcha"
785
+
786
+ #: lib/wfu_constants.php:162
787
+ msgid "click to continue the upload"
788
+ msgstr "Klicken Sie, um das Hochladen fortsetzen"
789
+
790
+ #: lib/wfu_constants.php:163
791
+ msgid "Are you sure you want to delete this file?"
792
+ msgstr "Sind sie sicher, das sie diese datei löschen wollen?"
793
+
794
+ #: lib/wfu_constants.php:164
795
+ msgid "Upload in progress"
796
+ msgstr "Upload läuft"
797
+
798
+ #: lib/wfu_constants.php:165
799
+ msgid "Upload in progress with warnings!"
800
+ msgstr "Upload läuft mit Warnhinweisen!"
801
+
802
+ #: lib/wfu_constants.php:166
803
+ msgid "Upload in progress but some files already failed!"
804
+ msgstr "Upload läuft, aber einige Dateien bereits gescheitert!"
805
+
806
+ #: lib/wfu_constants.php:167
807
+ msgid "Upload in progress but no files uploaded so far!"
808
+ msgstr "Upload läuft aber keine Dateien hochgeladen bis jetzt!"
809
+
810
+ #: lib/wfu_constants.php:168
811
+ msgid "All files uploaded successfully"
812
+ msgstr "Alle Dateien erfolgreich hochgeladen"
813
+
814
+ #: lib/wfu_constants.php:169
815
+ msgid "All files uploaded successfully but there are warnings!"
816
+ msgstr "Alle Dateien erfolgreich hochgeladen, aber es gibt Warnhinweise!"
817
+
818
+ #: lib/wfu_constants.php:170
819
+ msgid "File uploaded successfully but there are warnings!"
820
+ msgstr "Datei erfolgreich hochgeladen, aber es gibt Warnhinweise!"
821
+
822
+ #: lib/wfu_constants.php:171
823
+ msgid "Some files failed to upload!"
824
+ msgstr "Einige Dateien konnten nicht hochgeladen werden!"
825
+
826
+ #: lib/wfu_constants.php:172
827
+ msgid "All files failed to upload"
828
+ msgstr "Alle Dateien konnten nicht hochgeladen werden"
829
+
830
+ #: lib/wfu_constants.php:173
831
+ msgid "File failed to upload"
832
+ msgstr "Datei konnte nicht hochgeladen werden"
833
+
834
+ #: lib/wfu_constants.php:174
835
+ msgid "There are no files to upload!"
836
+ msgstr "Es gibt keine Dateien zum Hochladen!"
837
+
838
+ #: lib/wfu_constants.php:175
839
+ msgid "Test upload message"
840
+ msgstr "Test-Upload-Nachricht"
841
+
842
+ #: lib/wfu_constants.php:176
843
+ msgid "JSON parse warning!"
844
+ msgstr "JSON parse Warnung!"
845
+
846
+ #: lib/wfu_constants.php:177
847
+ msgid "please wait while redirecting..."
848
+ msgstr "Bitte warten Sie, Sie werden umgeleitet ..."
849
+
850
+ #: lib/wfu_constants.php:178
851
+ msgid "Open visual shortcode editor in new window"
852
+ msgstr "Offenen des visuellen Shortcode-Editor in neuem Fenster"
853
+
854
+ #: lib/wfu_constants.php:179
855
+ msgid "loading visual editor"
856
+ msgstr "visueller Editor laden"
857
+
858
+ #: lib/wfu_constants.php:180
859
+ msgid "Clear file list?"
860
+ msgstr "Klar Dateiliste?"
861
+
862
+ #: lib/wfu_constants.php:181
863
+ msgid "DROP HERE"
864
+ msgstr "HIER ABLEGEN"
865
+
866
+ #: lib/wfu_constants.php:183
867
+ msgid "Wordpress File Upload Form"
868
+ msgstr "Wordpress Datei Upload Formular"
869
+
870
+ #: lib/wfu_constants.php:184
871
+ msgid "Wordpress File Upload plugin uploader for sidebars"
872
+ msgstr "Wordpress Datei Upload Plugin Uploader für Seitenleisten"
873
+
874
+ #: lib/wfu_constants.php:185
875
+ msgid "Upload Files"
876
+ msgstr "Dateien hochladen"
877
+
878
+ #~ msgid "New title"
879
+ #~ msgstr "Neuer titel"
languages/wp-file-upload-el_GR.mo ADDED
Binary file
languages/{wordpress-file-upload-el_GR.po → wp-file-upload-el_GR.po} RENAMED
@@ -1,769 +1,866 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Wordpress File Upload\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-09-29 11:09+0200\n"
6
- "PO-Revision-Date: 2015-09-29 11:09+0200\n"
7
- "Last-Translator: nickboss <info@iptanus.com>\n"
8
- "Language-Team: Iptanus Team <info@iptanus.com>\n"
9
- "Language: el\n"
10
- "MIME-Version: 1.0\n"
11
- "Content-Type: text/plain; charset=UTF-8\n"
12
- "Content-Transfer-Encoding: 8bit\n"
13
- "X-Poedit-KeywordsList: __;gettext;gettext_noop\n"
14
- "X-Poedit-Basepath: ../\n"
15
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
- "X-Generator: Poedit 1.7.5\n"
17
- "X-Poedit-SearchPath-0: .\n"
18
- "X-Poedit-SearchPathExcluded-0: vendor\n"
19
-
20
- #: lib/wfu_constants.php:7
21
- msgid "Upload files"
22
- msgstr "Αποστολή αρχείων"
23
-
24
- #: lib/wfu_constants.php:8
25
- msgid "Select File"
26
- msgstr "Επιλογή Αρχείου"
27
-
28
- #: lib/wfu_constants.php:9
29
- msgid "Upload File"
30
- msgstr "Αποστολή Αρχείου"
31
-
32
- #: lib/wfu_constants.php:28
33
- msgid "File Upload Notification"
34
- msgstr "Ειδοποίηση Αποστολής Αρχείου"
35
-
36
- #: lib/wfu_constants.php:29
37
- msgid ""
38
- "Dear Recipient,%n%%n% This is an automatic delivery message to notify you "
39
- "that a new file has been uploaded.%n%%n%Best Regards"
40
- msgstr ""
41
- "Αγαπητέ Παραλήπτη,%n%%n% Αυτό είναι ένα αυτοματοποιημένο μήνυμα για να σας "
42
- "ενημερώσει ότι απεστάλη ένα νέο αρχείο.%n%%n%Φιλικούς Χαιρετισμούς"
43
-
44
- #: lib/wfu_constants.php:35
45
- #, php-format
46
- msgid "File %filename% uploaded successfully"
47
- msgstr "Το αρχείο %filename% απεστάλη επιτυχώς"
48
-
49
- #: lib/wfu_constants.php:36
50
- #, php-format
51
- msgid "File %filename% uploaded successfully but with warnings"
52
- msgstr "Το αρχείο %filename% απεστάλη επιτυχώς αλλά με προειδοποιήσεις"
53
-
54
- #: lib/wfu_constants.php:37
55
- msgid "File %filename% not uploaded"
56
- msgstr "Το αρχείο %filename% δεν απεστάλη"
57
-
58
- #: lib/wfu_constants.php:38
59
- msgid "File %filename% is being uploaded"
60
- msgstr "Το αρχείο %filename% αποστέλλεται"
61
-
62
- #: lib/wfu_constants.php:56
63
- msgid "Your message"
64
- msgstr "Το μήνυμά σας"
65
-
66
- #: lib/wfu_constants.php:61
67
- msgid ""
68
- "Error. Could not resolve ftp target filedir. Check the domain in 'ftpinfo' "
69
- "attribute."
70
- msgstr ""
71
- "Σφάλμα. Δεν ήταν δυνατή η επίλυση του καταλόγου προορισμού ftp. Ελέγξτε το "
72
- "domain στην ιδιότητα 'ftpinfo'."
73
-
74
- #: lib/wfu_constants.php:62
75
- msgid "Error. Invalid ftp information. Check 'ftpinfo' attribute."
76
- msgstr "Σφάλμα. Μη έγκυρες πληροφορίες ftp. Ελέγξτε την ιδιότητα 'ftpinfo'."
77
-
78
- #: lib/wfu_constants.php:63
79
- msgid ""
80
- "Error. Could not extract ftp information from 'ftpinfo' attribute. Check its "
81
- "syntax."
82
- msgstr ""
83
- "Σφάλμα. Δεν ήταν δυνατή η εξαγωγή πληροφοριών ftp από την ιδιότητα "
84
- "'ftpinfo'. Ελέγξτε τη σύνταξή της."
85
-
86
- #: lib/wfu_constants.php:64
87
- msgid ""
88
- "Error. Could not resolve ftp target filename. Check the domain in 'ftpinfo' "
89
- "attribute."
90
- msgstr ""
91
- "Σφάλμα. Δεν ήταν δυνατή η επίλυση του ονόματος αρχείου προορισμού ftp. "
92
- "Ελέγξτε το domain στην ιδιότητα 'ftpinfo'."
93
-
94
- #: lib/wfu_constants.php:65
95
- msgid ""
96
- "Error. The upload size limit of PHP directive upload_max_filesize is "
97
- "preventing the upload of big files.\n"
98
- "PHP directive upload_max_filesize limit is: "
99
- msgstr ""
100
- "Σφάλμα. Το όριο μεγέθους αρχείου της PHP ιδιότητας upload_max_filesize "
101
- "εμποδίζει την αποστολή μεγάλων αρχείων.\n"
102
- "Το όριο της PHP ιδιότητας upload_max_filesize είναι:"
103
-
104
- #: lib/wfu_constants.php:66
105
- msgid ""
106
- "The upload time limit of PHP directive max_input_time is preventing the "
107
- "upload of big files.\n"
108
- "PHP directive max_input_time limit is: "
109
- msgstr ""
110
- "Σφάλμα. Το όριο χρόνου αποστολής αρχείου της PHP ιδιότητας max_input_time "
111
- "εμποδίζει την αποστολή μεγάλων αρχείων.\n"
112
- "Το όριο της PHP ιδιότητας max_input_time είναι:"
113
-
114
- #: lib/wfu_constants.php:67
115
- msgid ""
116
- "Error. Permission denied to write to target folder.\n"
117
- "Check and correct read/write permissions of target folder."
118
- msgstr ""
119
- "Σφάλμα. Δεν επιτρέπεται η εγραφή στο φάκελο προορισμού.\n"
120
- "Ελέγξτε και διορθώστε τα δικαιώματα ανάγνωσης/εγγραφής στο φάκελο προορισμού."
121
-
122
- #: lib/wfu_constants.php:68
123
- msgid "Targer folder doesn't exist."
124
- msgstr "Ο φάκελος προορισμού δεν υπάρχει."
125
-
126
- #: lib/wfu_constants.php:69
127
- msgid "Upload failed! Missing a temporary folder."
128
- msgstr "Η αποστολή απέτυχε! Λείπει ο προσωρινός φάκελος."
129
-
130
- #: lib/wfu_constants.php:70
131
- msgid "Upload failed! Permission denied to write to target folder."
132
- msgstr "Η αποστολή απέτυχε! Δεν επιτρέπεται η εγγραφή στο φάκελο προορισμού."
133
-
134
- #: lib/wfu_constants.php:71
135
- msgid "File not allowed."
136
- msgstr "Το αρχείο δεν επιτρέπεται."
137
-
138
- #: lib/wfu_constants.php:72
139
- msgid "The uploaded file exceeds the file size limit."
140
- msgstr "Το αποστελλόμενο αρχείο υπερβαίνει το όριο μεγέθους αρχείου."
141
-
142
- #: lib/wfu_constants.php:73
143
- msgid "The uploaded file exceeds 2GB and is not supported by this server."
144
- msgstr ""
145
- "Το αποστελλόμενο αρχείο υπερβαίνει τα 2GB και δεν υποστηρίζεται από τον "
146
- "server."
147
-
148
- #: lib/wfu_constants.php:74
149
- msgid ""
150
- "Upload failed! The uploaded file exceeds the file size limit of the server. "
151
- "Please contact the administrator."
152
- msgstr ""
153
- αποστολή απέτυχε! Το αποστελλόμενο αρχείο υπερβαίνει το όριο μεγέθους "
154
- "αρχείου του server. Παρακαλούμε επικοινωνήστε με το διαχειριστή."
155
-
156
- #: lib/wfu_constants.php:75
157
- msgid ""
158
- "Upload failed! The duration of the upload exceeded the time limit of the "
159
- "server. Please contact the administrator."
160
- msgstr ""
161
- αποστολή απέτυχε! Η διάρκεια αποστολής υπερέβη το όριο χρόνου του server. "
162
- "Παρακαλούμε επικοινωνήστε με το διαχειριστή."
163
-
164
- #: lib/wfu_constants.php:76
165
- msgid ""
166
- "Upload failed! The uploaded file exceeds the MAX_FILE_SIZE directive that "
167
- "was specified in the HTML form."
168
- msgstr ""
169
- "Η αποστολή απέτυχε! Το αποστελλόμενο αρχείο υπερβαίνει την ιδιότητα "
170
- "MAX_FILE_SIZE που ορίστηκε στη φόρμα HTML."
171
-
172
- #: lib/wfu_constants.php:77
173
- msgid "Upload failed! The uploaded file was only partially uploaded."
174
- msgstr "Η αποστολή απέτυχε: Το αποστελλόμενο αρχείο απεστάλλη μερικώς."
175
-
176
- #: lib/wfu_constants.php:78
177
- msgid "Upload failed! No file was uploaded."
178
- msgstr "Η αποστολή απέτυχε. Κανένα αρχείο δεν απεστάλη."
179
-
180
- #: lib/wfu_constants.php:79
181
- msgid "Upload failed! Failed to write file to disk."
182
- msgstr "Η αποστολή απέτυχε. Δεν κατέστη δυνατή η εγγραφή στο δίσκο."
183
-
184
- #: lib/wfu_constants.php:80
185
- msgid ""
186
- "Upload failed! Error occured while moving temporary file. Please contact "
187
- "administrator."
188
- msgstr ""
189
- "Η αποστολή απέτυχε! Ένα σφάλμα συνέβη κατά τη μετακίνηση του προσωρινού "
190
- "αρχείου. Παρακαλούμε επικοινωνήστε με το διαχειριστή."
191
-
192
- #: lib/wfu_constants.php:81
193
- msgid ""
194
- "Upload failed! A PHP extension stopped the file upload. PHP does not provide "
195
- "a way to ascertain which extension caused the file upload to stop; examining "
196
- "the list of loaded extensions with phpinfo() may help."
197
- msgstr ""
198
- "Η αποστολή απέτυχε: Μία επέκταση PHP σταμάτησε την αποστολή. Η PHP δεν "
199
- "παρέχει τρόπο εντοπισμού της επέκτασης που προκάλεσε τη διακοπή, ίσως η "
200
- "εξέταση της λίστας των επεκτάσεων που έχουν φορτωθεί με την phpinfo() να "
201
- "βοηθήσει."
202
-
203
- #: lib/wfu_constants.php:82
204
- msgid "Upload failed! Error occured while attemting to upload the file."
205
- msgstr ""
206
- "Η αποστολή απέτυχε! Συνέβη κάποιο σφάλμα κατά την αποστολή του αρχείου."
207
-
208
- #: lib/wfu_constants.php:83
209
- msgid "Upload failed!"
210
- msgstr "Η αποστολή απέτυχε!"
211
-
212
- #: lib/wfu_constants.php:84
213
- msgid "No file!"
214
- msgstr "Κανένα αρχείο!"
215
-
216
- #: lib/wfu_constants.php:85
217
- msgid ""
218
- "Upload failed! The upload has been canceled by the user or the browser "
219
- "dropped the connection."
220
- msgstr ""
221
- "Η αποστολή απέτυχε! Είτε η αποστολή ακυρώθηκε από το χρήστη ή ο browser "
222
- "έχασε τη σύνδεση."
223
-
224
- #: lib/wfu_constants.php:86
225
- msgid "Upload failed! Unknown error."
226
- msgstr "Η αποστολή απέτυχε! Άγνωστο σφάλμα."
227
-
228
- #: lib/wfu_constants.php:87
229
- msgid "Please contact the administrator."
230
- msgstr "Παρακαλούμε επικοινωνήστε με το διαχειριστή."
231
-
232
- #: lib/wfu_constants.php:88
233
- msgid "No result from remote server!"
234
- msgstr "Καμία απάντηση από τον απομακρυσμένο server!"
235
-
236
- #: lib/wfu_constants.php:89
237
- msgid " but with warnings"
238
- msgstr " αλλά με προειδοποιήσεις"
239
-
240
- #: lib/wfu_constants.php:90 lib/wfu_constants.php:92
241
- msgid "Warning: JSON parse error."
242
- msgstr "Προειδοποίηση: Σφάλμα μετατροπής JSON."
243
-
244
- #: lib/wfu_constants.php:91
245
- msgid ""
246
- "Upload parameters of this file, passed as JSON string to the handler, could "
247
- "not be parsed."
248
- msgstr ""
249
- "Οι παράμετροι αποστολής αυτού του αρχείου, οι οποίες πέρασαν στο χειριστή ως "
250
- "συμβολοσειρά JSON, δεν μπόρεσαν να μετατραπούν."
251
-
252
- #: lib/wfu_constants.php:93
253
- msgid ""
254
- "UploadStates, passed as JSON string to the handler, could not be parsed."
255
- msgstr ""
256
- "Το αντικείμενο UploadStates, το οποίο πέρασε στο χειριστή ως συμβολοσειρά "
257
- "JSON, δεν μπόρεσε να μετατραπεί."
258
-
259
- #: lib/wfu_constants.php:94
260
- msgid ""
261
- "Redirection to classic form functionality occurred due to unknown error."
262
- msgstr "Προκλήθηκε μετάπτωση σε λειτουργία κλασικής φόρμας λόγω σφάλματος."
263
-
264
- #: lib/wfu_constants.php:95
265
- msgid ""
266
- "Redirection to classic form functionality occurred because AJAX is not "
267
- "supported."
268
- msgstr ""
269
- "Προκλήθηκε μετάπτωση σε λειτουργία κλασικής φόρμας διότι δεν υποστηρίζεται η "
270
- "AJAX."
271
-
272
- #: lib/wfu_constants.php:96
273
- msgid ""
274
- "Redirection to classic form functionality occurred because HTML5 is not "
275
- "supported."
276
- msgstr ""
277
- "Προκλήθηκε μετάπτωση σε λειτουργία κλασικής φόρμας διότι δεν υποστηρίζεται η "
278
- "HTML5."
279
-
280
- #: lib/wfu_constants.php:97
281
- msgid ""
282
- "Redirection to classic form functionality occurred due to JSON parse error."
283
- msgstr ""
284
- "Προκλήθηκε μετάπτωση σε λειτουργία κλασικής φόρμας λόγω σφάλματος μετατροπής "
285
- "JSON."
286
-
287
- #: lib/wfu_constants.php:98
288
- msgid "Please enable popup windows from the browser's settings!"
289
- msgstr ""
290
- "Παρακαλούμε ενεργοποιήστε τα αναδυόμενα παράθυρα από τις ρυθμίσεις του "
291
- "προγράμματος περιήγησης!"
292
-
293
- #: lib/wfu_constants.php:99
294
- msgid "cannot be empty!"
295
- msgstr "δεν μπορεί να είναι κενό!"
296
-
297
- #: lib/wfu_constants.php:100
298
- msgid "number not valid!"
299
- msgstr "μη έγκυρος αριθμός!"
300
-
301
- #: lib/wfu_constants.php:101
302
- msgid "email not valid!"
303
- msgstr "το email δεν είναι έγκυρο!"
304
-
305
- #: lib/wfu_constants.php:102
306
- msgid "emails do not match!"
307
- msgstr "τα emails δεν ταιριάζουν!"
308
-
309
- #: lib/wfu_constants.php:103
310
- msgid "no base email field in group!"
311
- msgstr "δεν υπάρχει αρχικό πεδίο email στο group!"
312
-
313
- #: lib/wfu_constants.php:104
314
- msgid "passwords do not match!"
315
- msgstr "οι κωδικοί δεν ταιριάζουν!"
316
-
317
- #: lib/wfu_constants.php:105
318
- msgid "no base password field in group!"
319
- msgstr "δεν υπάρχει αρχικό πεδίο κωδικού στο group!"
320
-
321
- #: lib/wfu_constants.php:106
322
- msgid "checkbox unchecked!"
323
- msgstr "το checkbox είναι μη επιλεγμένο!"
324
-
325
- #: lib/wfu_constants.php:107
326
- msgid "no option selected!"
327
- msgstr "δεν έχει γίνει επιλογή!"
328
-
329
- #: lib/wfu_constants.php:108
330
- msgid "no item selected!"
331
- msgstr "δεν έχει γίνει επιλογή!"
332
-
333
- #: lib/wfu_constants.php:109
334
- msgid ""
335
- "There are more than one instances of the plugin in this page with the same "
336
- "id. Please change it."
337
- msgstr ""
338
- "Υπάρχουν περισσότερες από μία εμφανίσεις του plugin σε αυτή τη σελίδα με το "
339
- "ίδιο id. Παρακαλούμε να το αλλάξετε."
340
-
341
- #: lib/wfu_constants.php:110
342
- msgid ""
343
- "Cannot edit the shortcode because the page has been modified. Please reload "
344
- "the page."
345
- msgstr ""
346
- "Δεν είναι δυνατή η επεξεργασία του shortcode διότι η σελίδα τροποποιήθηκε. "
347
- "Παρακαλούμε ξαναφορτώστε τη σελίδα."
348
-
349
- #: lib/wfu_constants.php:113
350
- msgid "Upload skipped! File already exists."
351
- msgstr "Η αποστολή παραβλέφθηκε! Το αρχείο υπάρχει ήδη."
352
-
353
- #: lib/wfu_constants.php:114
354
- msgid "No files have been selected!"
355
- msgstr "Δεν επιλέχθηκαν αρχεία!"
356
-
357
- #: lib/wfu_constants.php:115
358
- msgid "WPFilebase Plugin not updated because there were no files uploaded."
359
- msgstr "Το plugin WPFilebase δεν ενημερώθηκε διότι δεν απεστάλη κανένα αρχείο."
360
-
361
- #: lib/wfu_constants.php:116
362
- msgid "Notification email was not sent because there were no files uploaded."
363
- msgstr ""
364
- "Δεν πραγματοποιήθηκε ειδοποίηση με email διότι δεν απεστάλη κανένα αρχείο."
365
-
366
- #: lib/wfu_constants.php:117
367
- msgid ""
368
- "Notification email was not sent because no recipients were defined. Please "
369
- "check notifyrecipients attribute in the shortcode."
370
- msgstr ""
371
- "Δεν πραγματοποιήθηκε ειδοποίηση με email διότι δεν ορίστηκαν παραλήπτες. "
372
- "Παρακαλούμε ελέγξτε την ιδιότητα notifyrecipients στο shortcode."
373
-
374
- #: lib/wfu_constants.php:118
375
- msgid ""
376
- "Notification email was not sent due to an error. Please check "
377
- "notifyrecipients, notifysubject and notifymessage attributes for errors."
378
- msgstr ""
379
- "Δεν πραγματοποιήθηκε ειδοποίηση με email λόγω σφάλματος. Παρακαλούμε ελέγξτε "
380
- "τις ιδιότητες notifyrecipients, notifysubject και notifymessage για σφάλματα."
381
-
382
- #: lib/wfu_constants.php:119
383
- msgid ""
384
- "Redirection not executed because redirection link is empty. Please check "
385
- "redirectlink attribute."
386
- msgstr ""
387
- "Δεν πραγματοποιήθηκε αναδρομολόγηση διότι ο σύνδεσμος αναδρομολόγησης είναι "
388
- "κενός. Παρακαλούμε ελέγξτε την ιδιότητα redirectlink."
389
-
390
- #: lib/wfu_constants.php:120
391
- msgid ""
392
- "Redirection not executed because not all files were successfully uploaded."
393
- msgstr ""
394
- "Δεν πραγματοποιήθηκε αναδρομολόγηση διότι δεν αποεστάλησαν όλα τα αρχεία "
395
- "επιτυχώς."
396
-
397
- #: lib/wfu_constants.php:123
398
- msgid "Test Mode"
399
- msgstr "Κατάσταση Ελέγχου"
400
-
401
- #: lib/wfu_constants.php:124
402
- msgid "select dir..."
403
- msgstr "επιλογή καταλόγου..."
404
-
405
- #: lib/wfu_constants.php:125
406
- msgid "type dir"
407
- msgstr "εισάγετε κατάλογο"
408
-
409
- #: lib/wfu_constants.php:126
410
- msgid "Upload path: %filepath%"
411
- msgstr "Διαδρομή προορισμού: %filepath%"
412
-
413
- #: lib/wfu_constants.php:127
414
- msgid "Failed upload path: %filepath%"
415
- msgstr "Εσφαλμένη διαδρομή προορισμού: %filepath%"
416
-
417
- #: lib/wfu_constants.php:128
418
- msgid " (required)"
419
- msgstr " (απαραίτητο)"
420
-
421
- #: lib/wfu_constants.php:129
422
- msgid "Files are being uploaded. Are you sure you want to exit the page?"
423
- msgstr ""
424
- "Υπάρχουν αρχεία που αποστέλλονται. Σίγουρα θέλετε να φύγετε από τη σελίδα;"
425
-
426
- #: lib/wfu_constants.php:132
427
- msgid "This is a test message"
428
- msgstr "Αυτό είναι ένα μήνυμα ελέγχου"
429
-
430
- #: lib/wfu_constants.php:133
431
- msgid "This is a test administrator message"
432
- msgstr "Αυτό είναι ένα μήνυμα διαχειριστή ελέγχου"
433
-
434
- #: lib/wfu_constants.php:134
435
- msgid "File testfile 1 under test"
436
- msgstr "Αρχείο testfile 1 υπό έλεγχο"
437
-
438
- #: lib/wfu_constants.php:135
439
- msgid "File testfile 1 message"
440
- msgstr "Μήνυμα αρχείου testfile 1"
441
-
442
- #: lib/wfu_constants.php:136
443
- msgid "File testfile 1 administrator message"
444
- msgstr "Μήνυμα διαχειριστή αρχείου testfile 1"
445
-
446
- #: lib/wfu_constants.php:137
447
- msgid "File testfile 2 under test"
448
- msgstr "Αρχείο testfile 2 υπό έλεγχο"
449
-
450
- #: lib/wfu_constants.php:138
451
- msgid "File testfile 2 message"
452
- msgstr "Μήνυμα αρχείου testfile 2"
453
-
454
- #: lib/wfu_constants.php:139
455
- msgid "File testfile 2 administrator message"
456
- msgstr "Μήνυμα διαχειριστή αρχείου testfile 2"
457
-
458
- #: lib/wfu_constants.php:142
459
- msgid ""
460
- "Failed to add the shortcode to the page/post. Please try again. If the "
461
- "message persists, contact administrator."
462
- msgstr ""
463
- "Δεν κατέστη δυνατή η προσθήκη του shortcode στη σελίδα / άρθρο. Παρακαλώ "
464
- "προσπάθησε ξανά. Αν το μήνυμα συνεχίζει, επικοινωνήστε με το διαχειριστή."
465
-
466
- #: lib/wfu_constants.php:143
467
- msgid ""
468
- "Failed to edit the shortcode because the contents of the page changed. Try "
469
- "again to edit the shortcode."
470
- msgstr ""
471
- "Δεν ήταν δυνατή η επεξεργασία του shortcode διότι τα περιεχόμενα της σελίδας "
472
- "άλλαξαν. Παρακαλούμε δοκιμάστε ξανά να επεξεργαστείτε το shortcode."
473
-
474
- #: lib/wfu_constants.php:144
475
- msgid ""
476
- "Failed to delete the shortcode because the contents of the page changed. Try "
477
- "again to delete it."
478
- msgstr ""
479
- "Δεν ήταν δυνατή η διαγραφή του shortcode διότι τα περιεχόμενα της σελίδας "
480
- "άλλαξαν. Παρακαλούμε δοκιμάστε ξανά να διαγράψετε το shortcode."
481
-
482
- #: lib/wfu_constants.php:145
483
- msgid ""
484
- "The page containing the shortcode has been modified and it is no longer "
485
- "valid. Please go back to reload the shortcode."
486
- msgstr ""
487
- "Η σελίδα που περιέχει το shortcode τροποποιήθηκε και δεν είναι πλέον σε "
488
- "ισχύ. Παρακαλούμε πηγαίνετε πίσω και ξαναφορτώστε το shortcode."
489
-
490
- #: lib/wfu_constants.php:146
491
- msgid ""
492
- "Failed to update the shortcode because the contents of the page changed. Go "
493
- "back to reload the shortcode."
494
- msgstr ""
495
- "Δεν ήταν δυνατή η ενημέρωση του shortcode διότι τα περιεχόμενα της σελίδας "
496
- "άλλαξαν. Πηγαίνετε πίσω και ξαναφορτώστε το shortcode."
497
-
498
- #: lib/wfu_constants.php:147
499
- msgid ""
500
- "Failed to update the shortcode. Please try again. If the problem persists, "
501
- "go back and reload the shortcode."
502
- msgstr ""
503
- "Δεν ήταν δυνατή η ενημέρωση του shortcode. Παρακαλούμε ξαναδοκιμάστε. Αν το "
504
- "πρόβλημα παραμείνει, πηγαίνετε πίσω και ξαναφορτώστε το shortcode."
505
-
506
- #: lib/wfu_constants.php:150
507
- msgid ""
508
- "Insert variable %userid% inside text. It will be replaced by the id of the "
509
- "current user."
510
- msgstr ""
511
- "Εισάγετε τη μεταβλητή %userid% στο κείμενο. Θα αντικατασταθεί από το id του "
512
- "τρέχοντος χρήστη."
513
-
514
- #: lib/wfu_constants.php:151
515
- msgid ""
516
- "Insert variable %username% inside text. It will be replaced by the username "
517
- "of the current user."
518
- msgstr ""
519
- "Εισάγετε τη μεταβλητή %username% στο κείμενο. Θα αντικατασταθεί από το όνομα "
520
- "του τρέχοντος χρήστη."
521
-
522
- #: lib/wfu_constants.php:152
523
- msgid ""
524
- "Insert variable %useremail% inside text. It will be replaced by the email of "
525
- "the current user."
526
- msgstr ""
527
- "Εισάγετε τη μεταβλητή %useremail% στο κείμενο. Θα αντικατασταθεί από το "
528
- "email του τρέχοντος χρήστη."
529
-
530
- #: lib/wfu_constants.php:153
531
- msgid ""
532
- "Insert variable %filename% inside text. It will be replaced by the filename "
533
- "of the uploaded file."
534
- msgstr ""
535
- "Εισάγετε τη μεταβλητή %filename% στο κείμενο. Θα αντικατασταθεί από το όνομα "
536
- "του αποστελλομένου αρχείου."
537
-
538
- #: lib/wfu_constants.php:154
539
- msgid ""
540
- "Insert variable %filepath% inside text. It will be replaced by the full "
541
- "filepath of the uploaded file."
542
- msgstr ""
543
- "Εισάγετε τη μεταβλητή %filepath% στο κείμενο. Θα αντικατασταθεί από την "
544
- "πλήρη διαδρομή του αποστελλομένου αρχείου."
545
-
546
- #: lib/wfu_constants.php:155
547
- msgid ""
548
- "Insert variable %blogid% inside text. It will be replaced by the blog id of "
549
- "the website."
550
- msgstr ""
551
- "Εισάγετε τη μεταβλητή %blogid% στο κείμενο. Θα αντικατασταθεί από το blog id "
552
- "της ιστοσελίδας."
553
-
554
- #: lib/wfu_constants.php:156
555
- msgid ""
556
- "Insert variable %pageid% inside text. It will be replaced by the id of the "
557
- "current page."
558
- msgstr ""
559
- "Εισάγετε τη μεταβλητή %pageid% στο κείμενο. Θα αντικατασταθεί από το id της "
560
- "τρέχουσας σελίδας."
561
-
562
- #: lib/wfu_constants.php:157
563
- msgid ""
564
- "Insert variable %pagetitle% inside text. It will be replaced by the title of "
565
- "the current page."
566
- msgstr ""
567
- "Εισάγετε τη μεταβλητή %pagetitle% στο κείμενο. Θα αντικατασταθεί από τον "
568
- "τίτλο της τρέχουσας σελίδας."
569
-
570
- #: lib/wfu_constants.php:158
571
- msgid ""
572
- "Insert variable %userdataXXX% inside text. Select the user field from the "
573
- "drop-down list. It will be replaced by the value that the user entered in "
574
- "this field."
575
- msgstr ""
576
- "Εισάγετε τη μεταβλητή %userdataXXX% στο κείμενο. Επιλέξτε το πεδίο χρήστη "
577
- "από την εμφανιζόμενη dropdown λίστα. Θα αντικατασταθεί από την τιμή που "
578
- "εισήγαγε ο χρήστης σε αυτό το πεδίο."
579
-
580
- #: lib/wfu_constants.php:159
581
- msgid "Insert variable %n% inside text to denote a line change."
582
- msgstr ""
583
- "Εισάγετε τη μεταβλητή %n% στο κείμενο για να υποδείξετε αλλαγή γραμμής."
584
-
585
- #: lib/wfu_constants.php:162
586
- msgid "Upload in progress"
587
- msgstr "Αποστολή σε εξέλιξη"
588
-
589
- #: lib/wfu_constants.php:163
590
- msgid "Upload in progress with warnings!"
591
- msgstr "Αποστολή σε εξέλιξη με προειδοποιήσεις!"
592
-
593
- #: lib/wfu_constants.php:164
594
- msgid "Upload in progress but some files already failed!"
595
- msgstr "Αποστολή σε εξέλιξη αλλά κάποια αρχεία ήδη απέτυχαν!"
596
-
597
- #: lib/wfu_constants.php:165
598
- msgid "Upload in progress but no files uploaded so far!"
599
- msgstr "Αποστολή σε εξέλιξη αλλά δεν απεστάλη κανένα αρχείο μέχρι τώρα!"
600
-
601
- #: lib/wfu_constants.php:166
602
- msgid "All files uploaded successfully"
603
- msgstr "Όλα τα αρχεία απεστάλησαν επιτυχώς"
604
-
605
- #: lib/wfu_constants.php:167
606
- msgid "All files uploaded successfully but there are warnings!"
607
- msgstr "Όλα τα αρχεία απεστάλησαν επιτυχώς αλλά υπάρχουν προειδοποιήσεις!"
608
-
609
- #: lib/wfu_constants.php:168
610
- msgid "File uploaded successfully but there are warnings!"
611
- msgstr "Το αρχείο απεστάλη επιτυχώς αλλά υπάρχουν προειδοποιήσεις!"
612
-
613
- #: lib/wfu_constants.php:169
614
- msgid "Some files failed to upload!"
615
- msgstr "Μερικά αρχεία απέτυχαν να αποσταλούν!"
616
-
617
- #: lib/wfu_constants.php:170
618
- msgid "All files failed to upload"
619
- msgstr "Όλα τα αρχεία απέτυχαν να αποσταλούν"
620
-
621
- #: lib/wfu_constants.php:171
622
- msgid "File failed to upload"
623
- msgstr "Το αρχείο απέτυχε να αποσταλεί"
624
-
625
- #: lib/wfu_constants.php:172
626
- msgid "There are no files to upload!"
627
- msgstr "Δεν υπάρχουν αρχεία για αποστολή!"
628
-
629
- #: lib/wfu_constants.php:173
630
- msgid "Test upload message"
631
- msgstr "Μήνυμα αποστολής ελέγχου"
632
-
633
- #: lib/wfu_constants.php:174
634
- msgid "JSON parse warning!"
635
- msgstr "Προειδοποίηση μετατροπής JSON!"
636
-
637
- #: lib/wfu_constants.php:175
638
- msgid "please wait while redirecting..."
639
- msgstr "παρακαλούμε περιμένετε ενώ γίνεται αναδρομολόγηση..."
640
-
641
- #: lib/wfu_constants.php:176
642
- msgid "Open visual shortcode editor in new window"
643
- msgstr "Ανοίξτε τη γραφική επεξεργασία του shortcode σε νέο παράθυρο"
644
-
645
- #: lib/wfu_constants.php:177
646
- msgid "loading visual editor"
647
- msgstr "φόρτωση του γραφικού επεξεργαστή"
648
-
649
- #: lib/wfu_widget.php:8
650
- msgid "Wordpress File Upload Form"
651
- msgstr "Φόρμα του Wordpress File Upload"
652
-
653
- #: lib/wfu_widget.php:9
654
- msgid "Wordpress File Upload plugin uploader for sidebars"
655
- msgstr "Αποστολή αρχείων με το Wordpress File Upload plugin για sidebars"
656
-
657
- #: lib/wfu_widget.php:38 lib/wfu_widget.php:98
658
- msgid "New title"
659
- msgstr "Νέος τίτλος"
660
-
661
- #~ msgid "Select File/Select Files"
662
- #~ msgstr "Επιλογή Αρχείου/Επιλογή Αρχείων"
663
-
664
- #~ msgid "Upload File/Upload Files"
665
- #~ msgstr "Αποστολή Αρχείου/Αποστολή Αρχείων"
666
-
667
- #~ msgid "Please fill in the above words: "
668
- #~ msgstr "Παρακαλώ συμπληρώστε τις παραπάνω λέξεις: "
669
-
670
- #~ msgid ""
671
- #~ "ERROR: Captcha not supported! You have an old PHP version. Upgrade your "
672
- #~ "PHP or use RecaptchaV2 (no account)."
673
- #~ msgstr ""
674
- #~ "ΣΦΑΛΜΑ: Δεν υποστηρίζεται το captcha. Έχετε παλαιά έκδοση της PHP. "
675
- #~ "Αναβαθμίστε την PHP ή χρησιμοποιήστε την επιλογή RecaptchaV2 (no account)."
676
-
677
- #~ msgid "ERROR: No site key. Please contact administrator!"
678
- #~ msgstr ""
679
- #~ "ΣΦΑΛΜΑ: Δεν υπάρχει κλειδί site. Παρακαλούμε επικοινωνήστε με το "
680
- #~ "διαχειριστή."
681
-
682
- #~ msgid ""
683
- #~ "ERROR: No site key defined! Please go to the plugin settings in Dashboard "
684
- #~ "to define Google Recaptcha keys."
685
- #~ msgstr ""
686
- #~ "ΣΦΑΛΜΑ: Δεν ορίστηκε κλειδί site! Παρακαλούμε πηγαίνεται στις επιλογές "
687
- #~ "του plugin στο Dashboard για να ορίσετε κλειδιά του Google Recaptcha."
688
-
689
- #~ msgid "Bad captcha image!"
690
- #~ msgstr "Μη έγκυρη εικόνα captcha!"
691
-
692
- #~ msgid "No input!"
693
- #~ msgstr "Κενό!"
694
-
695
- #~ msgid "Captcha not completed!"
696
- #~ msgstr "Το captcha δε συμπληρώθηκε!"
697
-
698
- #~ msgid "Wrong captcha!"
699
- #~ msgstr "Λάθος captcha!"
700
-
701
- #~ msgid "Error refreshing captcha!"
702
- #~ msgstr "Σφάλμα ανανέωσης του captcha!"
703
-
704
- #~ msgid "Unknown captcha error!"
705
- #~ msgstr "Άγνωστο σφάλμα captcha!"
706
-
707
- #~ msgid "Captcha not supported by your browser!"
708
- #~ msgstr "Το captcha δεν υποστηρίζεται από το browser σας!"
709
-
710
- #~ msgid "the secret parameter is missing"
711
- #~ msgstr μυστική παράμετρος λείπει"
712
-
713
- #~ msgid "the secret parameter is invalid or malformed"
714
- #~ msgstr μυστική παράμετρος είναι μη έγκυρη ή δεν ορίστηκε σωστά"
715
-
716
- #~ msgid "the response parameter is missing"
717
- #~ msgstr "η παράμετρος απάντησης λείπει"
718
-
719
- #~ msgid "the response parameter is invalid or malformed"
720
- #~ msgstr παράμετρος απάντησης είναι μη έγκυρη ή δεν ορίστηκε σωστά"
721
-
722
- #~ msgid "Please do not use drag drop due to an internal problem."
723
- #~ msgstr ""
724
- #~ "Παρακαλούμε μη χρησιμοποιείτε το drag drop λόγω εσωτερικού προβλήματος."
725
-
726
- #~ msgid "Error during chunked upload. Unique ID empty in chunk %d"
727
- #~ msgstr ""
728
- #~ "Σφάλμα κατά τη διάρκεια τμηματικής αποστολής. Το μοναδικό ID είναι κενό "
729
- #~ "στο τμήμα %d"
730
-
731
- #~ msgid "Chunked upload is not allowed!"
732
- #~ msgstr "Δεν επιτρέπεται τμηματική αποστολή!"
733
-
734
- #~ msgid "Chunked upload aborted due to error in previous chunk!"
735
- #~ msgstr ""
736
- #~ "Η τμηματική αποστολή ματαιώθηκε λόγω σφάλματος στο προηγούμενο τμήμα!"
737
-
738
- #~ msgid "Chunked upload failed, final file could not be created!"
739
- #~ msgstr ""
740
- #~ "Η τμηματική αποστολή ματαιώθηκε, το τελικό αρχείο δεν μπόρεσε να "
741
- #~ "δημιουργηθεί!"
742
-
743
- #~ msgid "Could not write file chuck to destination on chunk %d"
744
- #~ msgstr ""
745
- #~ "Δεν ήταν δυνατή η εγγραφή τμήματος αρχείου στον προορισμό στο τμήμα %d"
746
-
747
- #~ msgid "Could not enlarge destination file on chunk %d"
748
- #~ msgstr "Δεν ήταν δυνατή η μεγέθυνση του αρχείου προορισμού στο τμήμα %d"
749
-
750
- #~ msgid "Could not open file handles on chunk %d"
751
- #~ msgstr "Δεν ήταν δυνατό το άνοιγμα χειριστών αρχείου στο τμήμα %d"
752
-
753
- #~ msgid "checking captcha..."
754
- #~ msgstr "έλεγχος captcha..."
755
-
756
- #~ msgid "refreshing..."
757
- #~ msgstr "ανανέωση..."
758
-
759
- #~ msgid "correct captcha"
760
- #~ msgstr "σωστό captcha"
761
-
762
- #~ msgid "click to continue the upload"
763
- #~ msgstr "πατήστε click για να συνεχίσει η αποστολή"
764
-
765
- #~ msgid "Clear file list?"
766
- #~ msgstr "Να γίνει καθαρισμός της λίστας αρχείων;"
767
-
768
- #~ msgid "DROP HERE"
769
- #~ msgstr "ΑΦΗΣΤΕ ΕΔΩ"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Wordpress File Upload\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-11-01 20:43+0200\n"
6
+ "PO-Revision-Date: 2015-11-01 20:45+0200\n"
7
+ "Last-Translator: nickboss <info@iptanus.com>\n"
8
+ "Language-Team: Iptanus Team <info@iptanus.com>\n"
9
+ "Language: el\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Poedit-KeywordsList: __;gettext;gettext_noop\n"
14
+ "X-Poedit-Basepath: ../\n"
15
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "X-Generator: Poedit 1.7.5\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+ "X-Poedit-SearchPathExcluded-0: vendor\n"
19
+ "X-Poedit-SearchPathExcluded-1: minified\n"
20
+ "X-Poedit-SearchPathExcluded-2: unminified\n"
21
+
22
+ #: lib/wfu_constants.php:7
23
+ msgid "Upload files"
24
+ msgstr "Αποστολή αρχείων"
25
+
26
+ #: lib/wfu_constants.php:10
27
+ msgid "Select File/Select Files"
28
+ msgstr "Επιλογή Αρχείου/Επιλογή Αρχείων"
29
+
30
+ #: lib/wfu_constants.php:11
31
+ msgid "Upload File/Upload Files"
32
+ msgstr "Αποστολή Αρχείου/Αποστολή Αρχείων"
33
+
34
+ #: lib/wfu_constants.php:15
35
+ msgid "Select File"
36
+ msgstr "Επιλογή Αρχείου"
37
+
38
+ #: lib/wfu_constants.php:16
39
+ msgid "Upload File"
40
+ msgstr "Αποστολή Αρχείου"
41
+
42
+ #: lib/wfu_constants.php:19
43
+ msgid "File Upload Notification"
44
+ msgstr "Ειδοποίηση Αποστολής Αρχείου"
45
+
46
+ #: lib/wfu_constants.php:20
47
+ msgid ""
48
+ "Dear Recipient,%n%%n% This is an automatic delivery message to notify you "
49
+ "that a new file has been uploaded.%n%%n%Best Regards"
50
+ msgstr ""
51
+ "Αγαπητέ Παραλήπτη,%n%%n% Αυτό είναι ένα αυτοματοποιημένο μήνυμα για να σας "
52
+ "ενημερώσει ότι απεστάλη ένα νέο αρχείο.%n%%n%Φιλικούς Χαιρετισμούς"
53
+
54
+ #: lib/wfu_constants.php:21
55
+ #, php-format
56
+ msgid "File %filename% uploaded successfully"
57
+ msgstr "Το αρχείο %filename% απεστάλη επιτυχώς"
58
+
59
+ #: lib/wfu_constants.php:22
60
+ #, php-format
61
+ msgid "File %filename% uploaded successfully but with warnings"
62
+ msgstr "Το αρχείο %filename% απεστάλη επιτυχώς αλλά με προειδοποιήσεις"
63
+
64
+ #: lib/wfu_constants.php:23
65
+ msgid "File %filename% not uploaded"
66
+ msgstr "Το αρχείο %filename% δεν απεστάλη"
67
+
68
+ #: lib/wfu_constants.php:24
69
+ msgid "File %filename% is being uploaded"
70
+ msgstr "Το αρχείο %filename% αποστέλλεται"
71
+
72
+ #: lib/wfu_constants.php:25
73
+ msgid "Your message"
74
+ msgstr "Το μήνυμά σας"
75
+
76
+ #: lib/wfu_constants.php:26
77
+ msgid "Please fill in the above words: "
78
+ msgstr "Παρακαλώ συμπληρώστε τις παραπάνω λέξεις: "
79
+
80
+ #: lib/wfu_constants.php:28
81
+ msgid "File"
82
+ msgstr "Αρχείο"
83
+
84
+ #: lib/wfu_constants.php:29
85
+ msgid "Date"
86
+ msgstr "Ημερομηνία"
87
+
88
+ #: lib/wfu_constants.php:30
89
+ msgid "Size"
90
+ msgstr "Μέγεθος"
91
+
92
+ #: lib/wfu_constants.php:31
93
+ msgid "User"
94
+ msgstr "Χρήστης"
95
+
96
+ #: lib/wfu_constants.php:32
97
+ msgid "Page"
98
+ msgstr "Σελίδα"
99
+
100
+ #: lib/wfu_constants.php:33
101
+ msgid "User Fields"
102
+ msgstr "Πεδία Χρήστη"
103
+
104
+ #: lib/wfu_constants.php:34
105
+ msgid "Download"
106
+ msgstr "Λήψη"
107
+
108
+ #: lib/wfu_constants.php:35
109
+ msgid "Download this file"
110
+ msgstr "Λήψη αυτού του αρχείου"
111
+
112
+ #: lib/wfu_constants.php:36
113
+ msgid "Delete"
114
+ msgstr "Διαγραφή"
115
+
116
+ #: lib/wfu_constants.php:37
117
+ msgid "Delete this file"
118
+ msgstr "Διαγραφή αυτού του αρχείου"
119
+
120
+ #: lib/wfu_constants.php:38
121
+ msgid "Sort list based on this column"
122
+ msgstr "Ταξινόμηση λίστας με βάση αυτήν τη στήλη"
123
+
124
+ #: lib/wfu_constants.php:39
125
+ msgid "guest"
126
+ msgstr "επισκέπτης"
127
+
128
+ #: lib/wfu_constants.php:40
129
+ msgid "unknown"
130
+ msgstr "άγνωστος"
131
+
132
+ #: lib/wfu_constants.php:42
133
+ msgid ""
134
+ "Error. Could not resolve ftp target filedir. Check the domain in 'ftpinfo' "
135
+ "attribute."
136
+ msgstr ""
137
+ "Σφάλμα. Δεν ήταν δυνατή η επίλυση του καταλόγου προορισμού ftp. Ελέγξτε το "
138
+ "domain στην ιδιότητα 'ftpinfo'."
139
+
140
+ #: lib/wfu_constants.php:43
141
+ msgid "Error. Invalid ftp information. Check 'ftpinfo' attribute."
142
+ msgstr "Σφάλμα. Μη έγκυρες πληροφορίες ftp. Ελέγξτε την ιδιότητα 'ftpinfo'."
143
+
144
+ #: lib/wfu_constants.php:44
145
+ msgid ""
146
+ "Error. Could not extract ftp information from 'ftpinfo' attribute. Check its "
147
+ "syntax."
148
+ msgstr ""
149
+ "Σφάλμα. Δεν ήταν δυνατή η εξαγωγή πληροφοριών ftp από την ιδιότητα "
150
+ "'ftpinfo'. Ελέγξτε τη σύνταξή της."
151
+
152
+ #: lib/wfu_constants.php:45
153
+ msgid ""
154
+ "Error. Could not resolve ftp target filename. Check the domain in 'ftpinfo' "
155
+ "attribute."
156
+ msgstr ""
157
+ "Σφάλμα. Δεν ήταν δυνατή η επίλυση του ονόματος αρχείου προορισμού ftp. "
158
+ "Ελέγξτε το domain στην ιδιότητα 'ftpinfo'."
159
+
160
+ #: lib/wfu_constants.php:46
161
+ msgid ""
162
+ "Error. The upload size limit of PHP directive upload_max_filesize is "
163
+ "preventing the upload of big files.\n"
164
+ "PHP directive upload_max_filesize limit is: "
165
+ msgstr ""
166
+ "Σφάλμα. Το όριο μεγέθους αρχείου της PHP ιδιότητας upload_max_filesize "
167
+ "εμποδίζει την αποστολή μεγάλων αρχείων.\n"
168
+ "Το όριο της PHP ιδιότητας upload_max_filesize είναι:"
169
+
170
+ #: lib/wfu_constants.php:47
171
+ msgid ""
172
+ "The upload time limit of PHP directive max_input_time is preventing the "
173
+ "upload of big files.\n"
174
+ "PHP directive max_input_time limit is: "
175
+ msgstr ""
176
+ "Σφάλμα. Το όριο χρόνου αποστολής αρχείου της PHP ιδιότητας max_input_time "
177
+ "εμποδίζει την αποστολή μεγάλων αρχείων.\n"
178
+ "Το όριο της PHP ιδιότητας max_input_time είναι:"
179
+
180
+ #: lib/wfu_constants.php:48
181
+ msgid ""
182
+ "Error. Permission denied to write to target folder.\n"
183
+ "Check and correct read/write permissions of target folder."
184
+ msgstr ""
185
+ "Σφάλμα. Δεν επιτρέπεται η εγραφή στο φάκελο προορισμού.\n"
186
+ "Ελέγξτε και διορθώστε τα δικαιώματα ανάγνωσης/εγγραφής στο φάκελο προορισμού."
187
+
188
+ #: lib/wfu_constants.php:49
189
+ msgid "Targer folder doesn't exist."
190
+ msgstr "Ο φάκελος προορισμού δεν υπάρχει."
191
+
192
+ #: lib/wfu_constants.php:50
193
+ msgid "Upload failed! Missing a temporary folder."
194
+ msgstr "Η αποστολή απέτυχε! Λείπει ο προσωρινός φάκελος."
195
+
196
+ #: lib/wfu_constants.php:51
197
+ msgid "Upload failed! Permission denied to write to target folder."
198
+ msgstr "Η αποστολή απέτυχε! Δεν επιτρέπεται η εγγραφή στο φάκελο προορισμού."
199
+
200
+ #: lib/wfu_constants.php:52
201
+ msgid "File not allowed."
202
+ msgstr "Το αρχείο δεν επιτρέπεται."
203
+
204
+ #: lib/wfu_constants.php:53
205
+ msgid "The uploaded file exceeds the file size limit."
206
+ msgstr "Το αποστελλόμενο αρχείο υπερβαίνει το όριο μεγέθους αρχείου."
207
+
208
+ #: lib/wfu_constants.php:54
209
+ msgid "The uploaded file exceeds 2GB and is not supported by this server."
210
+ msgstr ""
211
+ "Το αποστελλόμενο αρχείο υπερβαίνει τα 2GB και δεν υποστηρίζεται από τον "
212
+ "server."
213
+
214
+ #: lib/wfu_constants.php:55
215
+ msgid ""
216
+ "Upload failed! The uploaded file exceeds the file size limit of the server. "
217
+ "Please contact the administrator."
218
+ msgstr ""
219
+ "Η αποστολή απέτυχε! Το αποστελλόμενο αρχείο υπερβαίνει το όριο μεγέθους "
220
+ "αρχείου του server. Παρακαλούμε επικοινωνήστε με το διαχειριστή."
221
+
222
+ #: lib/wfu_constants.php:56
223
+ msgid ""
224
+ "Upload failed! The duration of the upload exceeded the time limit of the "
225
+ "server. Please contact the administrator."
226
+ msgstr ""
227
+ "Η αποστολή απέτυχε! Η διάρκεια αποστολής υπερέβη το όριο χρόνου του server. "
228
+ "Παρακαλούμε επικοινωνήστε με το διαχειριστή."
229
+
230
+ #: lib/wfu_constants.php:57
231
+ msgid ""
232
+ "Upload failed! The uploaded file exceeds the MAX_FILE_SIZE directive that "
233
+ "was specified in the HTML form."
234
+ msgstr ""
235
+ "Η αποστολή απέτυχε! Το αποστελλόμενο αρχείο υπερβαίνει την ιδιότητα "
236
+ "MAX_FILE_SIZE που ορίστηκε στη φόρμα HTML."
237
+
238
+ #: lib/wfu_constants.php:58
239
+ msgid "Upload failed! The uploaded file was only partially uploaded."
240
+ msgstr αποστολή απέτυχε: Το αποστελλόμενο αρχείο απεστάλλη μερικώς."
241
+
242
+ #: lib/wfu_constants.php:59
243
+ msgid "Upload failed! No file was uploaded."
244
+ msgstr "Η αποστολή απέτυχε. Κανένα αρχείο δεν απεστάλη."
245
+
246
+ #: lib/wfu_constants.php:60
247
+ msgid "Upload failed! Failed to write file to disk."
248
+ msgstr "Η αποστολή απέτυχε. Δεν κατέστη δυνατή η εγγραφή στο δίσκο."
249
+
250
+ #: lib/wfu_constants.php:61
251
+ msgid ""
252
+ "Upload failed! Error occured while moving temporary file. Please contact "
253
+ "administrator."
254
+ msgstr ""
255
+ αποστολή απέτυχε! Ένα σφάλμα συνέβη κατά τη μετακίνηση του προσωρινού "
256
+ "αρχείου. Παρακαλούμε επικοινωνήστε με το διαχειριστή."
257
+
258
+ #: lib/wfu_constants.php:62
259
+ msgid ""
260
+ "Upload failed! A PHP extension stopped the file upload. PHP does not provide "
261
+ "a way to ascertain which extension caused the file upload to stop; examining "
262
+ "the list of loaded extensions with phpinfo() may help."
263
+ msgstr ""
264
+ αποστολή απέτυχε: Μία επέκταση PHP σταμάτησε την αποστολή. Η PHP δεν "
265
+ "παρέχει τρόπο εντοπισμού της επέκτασης που προκάλεσε τη διακοπή, ίσως η "
266
+ "εξέταση της λίστας των επεκτάσεων που έχουν φορτωθεί με την phpinfo() να "
267
+ "βοηθήσει."
268
+
269
+ #: lib/wfu_constants.php:63
270
+ msgid "Upload failed! Error occured while attemting to upload the file."
271
+ msgstr ""
272
+ αποστολή απέτυχε! Συνέβη κάποιο σφάλμα κατά την αποστολή του αρχείου."
273
+
274
+ #: lib/wfu_constants.php:64
275
+ msgid "Upload failed!"
276
+ msgstr "Η αποστολή απέτυχε!"
277
+
278
+ #: lib/wfu_constants.php:65
279
+ msgid "No file!"
280
+ msgstr "Κανένα αρχείο!"
281
+
282
+ #: lib/wfu_constants.php:66
283
+ msgid ""
284
+ "Upload failed! The upload has been canceled by the user or the browser "
285
+ "dropped the connection."
286
+ msgstr ""
287
+ αποστολή απέτυχε! Είτε η αποστολή ακυρώθηκε από το χρήστη ή ο browser "
288
+ "έχασε τη σύνδεση."
289
+
290
+ #: lib/wfu_constants.php:67
291
+ msgid "Upload failed! Unknown error."
292
+ msgstr "Η αποστολή απέτυχε! Άγνωστο σφάλμα."
293
+
294
+ #: lib/wfu_constants.php:68
295
+ msgid "Please contact the administrator."
296
+ msgstr "Παρακαλούμε επικοινωνήστε με το διαχειριστή."
297
+
298
+ #: lib/wfu_constants.php:69
299
+ msgid "No result from remote server!"
300
+ msgstr "Καμία απάντηση από τον απομακρυσμένο server!"
301
+
302
+ #: lib/wfu_constants.php:70
303
+ msgid " but with warnings"
304
+ msgstr " αλλά με προειδοποιήσεις"
305
+
306
+ #: lib/wfu_constants.php:71 lib/wfu_constants.php:73
307
+ msgid "Warning: JSON parse error."
308
+ msgstr "Προειδοποίηση: Σφάλμα μετατροπής JSON."
309
+
310
+ #: lib/wfu_constants.php:72
311
+ msgid ""
312
+ "Upload parameters of this file, passed as JSON string to the handler, could "
313
+ "not be parsed."
314
+ msgstr ""
315
+ "Οι παράμετροι αποστολής αυτού του αρχείου, οι οποίες πέρασαν στο χειριστή ως "
316
+ "συμβολοσειρά JSON, δεν μπόρεσαν να μετατραπούν."
317
+
318
+ #: lib/wfu_constants.php:74
319
+ msgid ""
320
+ "UploadStates, passed as JSON string to the handler, could not be parsed."
321
+ msgstr ""
322
+ "Το αντικείμενο UploadStates, το οποίο πέρασε στο χειριστή ως συμβολοσειρά "
323
+ "JSON, δεν μπόρεσε να μετατραπεί."
324
+
325
+ #: lib/wfu_constants.php:75
326
+ msgid ""
327
+ "Redirection to classic form functionality occurred due to unknown error."
328
+ msgstr "Προκλήθηκε μετάπτωση σε λειτουργία κλασικής φόρμας λόγω σφάλματος."
329
+
330
+ #: lib/wfu_constants.php:76
331
+ msgid ""
332
+ "Redirection to classic form functionality occurred because AJAX is not "
333
+ "supported."
334
+ msgstr ""
335
+ "Προκλήθηκε μετάπτωση σε λειτουργία κλασικής φόρμας διότι δεν υποστηρίζεται η "
336
+ "AJAX."
337
+
338
+ #: lib/wfu_constants.php:77
339
+ msgid ""
340
+ "Redirection to classic form functionality occurred because HTML5 is not "
341
+ "supported."
342
+ msgstr ""
343
+ "Προκλήθηκε μετάπτωση σε λειτουργία κλασικής φόρμας διότι δεν υποστηρίζεται η "
344
+ "HTML5."
345
+
346
+ #: lib/wfu_constants.php:78
347
+ msgid ""
348
+ "Redirection to classic form functionality occurred due to JSON parse error."
349
+ msgstr ""
350
+ "Προκλήθηκε μετάπτωση σε λειτουργία κλασικής φόρμας λόγω σφάλματος μετατροπής "
351
+ "JSON."
352
+
353
+ #: lib/wfu_constants.php:79
354
+ msgid "Please enable popup windows from the browser's settings!"
355
+ msgstr ""
356
+ "Παρακαλούμε ενεργοποιήστε τα αναδυόμενα παράθυρα από τις ρυθμίσεις του "
357
+ "προγράμματος περιήγησης!"
358
+
359
+ #: lib/wfu_constants.php:80
360
+ msgid "cannot be empty!"
361
+ msgstr "δεν μπορεί να είναι κενό!"
362
+
363
+ #: lib/wfu_constants.php:81
364
+ msgid "number not valid!"
365
+ msgstr "μη έγκυρος αριθμός!"
366
+
367
+ #: lib/wfu_constants.php:82
368
+ msgid "email not valid!"
369
+ msgstr "το email δεν είναι έγκυρο!"
370
+
371
+ #: lib/wfu_constants.php:83
372
+ msgid "emails do not match!"
373
+ msgstr "τα emails δεν ταιριάζουν!"
374
+
375
+ #: lib/wfu_constants.php:84
376
+ msgid "no base email field in group!"
377
+ msgstr "δεν υπάρχει αρχικό πεδίο email στο group!"
378
+
379
+ #: lib/wfu_constants.php:85
380
+ msgid "passwords do not match!"
381
+ msgstr "οι κωδικοί δεν ταιριάζουν!"
382
+
383
+ #: lib/wfu_constants.php:86
384
+ msgid "no base password field in group!"
385
+ msgstr "δεν υπάρχει αρχικό πεδίο κωδικού στο group!"
386
+
387
+ #: lib/wfu_constants.php:87
388
+ msgid "checkbox unchecked!"
389
+ msgstr "το checkbox είναι μη επιλεγμένο!"
390
+
391
+ #: lib/wfu_constants.php:88
392
+ msgid "no option selected!"
393
+ msgstr "δεν έχει γίνει επιλογή!"
394
+
395
+ #: lib/wfu_constants.php:89
396
+ msgid "no item selected!"
397
+ msgstr "δεν έχει γίνει επιλογή!"
398
+
399
+ #: lib/wfu_constants.php:90
400
+ msgid ""
401
+ "There are more than one instances of the plugin in this page with the same "
402
+ "id. Please change it."
403
+ msgstr ""
404
+ "Υπάρχουν περισσότερες από μία εμφανίσεις του plugin σε αυτή τη σελίδα με το "
405
+ "ίδιο id. Παρακαλούμε να το αλλάξετε."
406
+
407
+ #: lib/wfu_constants.php:91
408
+ msgid ""
409
+ "Cannot edit the shortcode because the page has been modified. Please reload "
410
+ "the page."
411
+ msgstr ""
412
+ "Δεν είναι δυνατή η επεξεργασία του shortcode διότι η σελίδα τροποποιήθηκε. "
413
+ "Παρακαλούμε ξαναφορτώστε τη σελίδα."
414
+
415
+ #: lib/wfu_constants.php:92
416
+ msgid ""
417
+ "ERROR: Captcha not supported! You have an old PHP version. Upgrade your PHP "
418
+ "or use RecaptchaV2 (no account)."
419
+ msgstr ""
420
+ "ΣΦΑΛΜΑ: Δεν υποστηρίζεται το captcha. Έχετε παλαιά έκδοση της PHP. "
421
+ "Αναβαθμίστε την PHP ή χρησιμοποιήστε την επιλογή RecaptchaV2 (no account)."
422
+
423
+ #: lib/wfu_constants.php:93
424
+ msgid "ERROR: No site key. Please contact administrator!"
425
+ msgstr ""
426
+ "ΣΦΑΛΜΑ: Δεν υπάρχει κλειδί site. Παρακαλούμε επικοινωνήστε με το διαχειριστή."
427
+
428
+ #: lib/wfu_constants.php:94
429
+ msgid ""
430
+ "ERROR: No site key defined! Please go to the plugin settings in Dashboard to "
431
+ "define Google Recaptcha keys."
432
+ msgstr ""
433
+ "ΣΦΑΛΜΑ: Δεν ορίστηκε κλειδί site! Παρακαλούμε πηγαίνεται στις επιλογές του "
434
+ "plugin στο Dashboard για να ορίσετε κλειδιά του Google Recaptcha."
435
+
436
+ #: lib/wfu_constants.php:95
437
+ msgid "Bad captcha image!"
438
+ msgstr "Μη έγκυρη εικόνα captcha!"
439
+
440
+ #: lib/wfu_constants.php:96
441
+ msgid "No input!"
442
+ msgstr "Κενό!"
443
+
444
+ #: lib/wfu_constants.php:97
445
+ msgid "Captcha not completed!"
446
+ msgstr "Το captcha δε συμπληρώθηκε!"
447
+
448
+ #: lib/wfu_constants.php:98
449
+ msgid "Wrong captcha!"
450
+ msgstr "Λάθος captcha!"
451
+
452
+ #: lib/wfu_constants.php:99
453
+ msgid "Error refreshing captcha!"
454
+ msgstr "Σφάλμα ανανέωσης του captcha!"
455
+
456
+ #: lib/wfu_constants.php:100
457
+ msgid "Unknown captcha error!"
458
+ msgstr "Άγνωστο σφάλμα captcha!"
459
+
460
+ #: lib/wfu_constants.php:101
461
+ msgid "Captcha not supported by your browser!"
462
+ msgstr "Το captcha δεν υποστηρίζεται από το browser σας!"
463
+
464
+ #: lib/wfu_constants.php:102
465
+ msgid "the secret parameter is missing"
466
+ msgstr "η μυστική παράμετρος λείπει"
467
+
468
+ #: lib/wfu_constants.php:103
469
+ msgid "the secret parameter is invalid or malformed"
470
+ msgstr "η μυστική παράμετρος είναι μη έγκυρη ή δεν ορίστηκε σωστά"
471
+
472
+ #: lib/wfu_constants.php:104
473
+ msgid "the response parameter is missing"
474
+ msgstr "η παράμετρος απάντησης λείπει"
475
+
476
+ #: lib/wfu_constants.php:105
477
+ msgid "the response parameter is invalid or malformed"
478
+ msgstr "η παράμετρος απάντησης είναι μη έγκυρη ή δεν ορίστηκε σωστά"
479
+
480
+ #: lib/wfu_constants.php:106
481
+ msgid "Please do not use drag drop due to an internal problem."
482
+ msgstr ""
483
+ "Παρακαλούμε μη χρησιμοποιείτε το drag drop λόγω εσωτερικού προβλήματος."
484
+
485
+ #: lib/wfu_constants.php:107
486
+ #, php-format
487
+ msgid "Error during chunked upload. Unique ID empty in chunk %d"
488
+ msgstr ""
489
+ "Σφάλμα κατά τη διάρκεια τμηματικής αποστολής. Το μοναδικό ID είναι κενό στο "
490
+ "τμήμα %d"
491
+
492
+ #: lib/wfu_constants.php:108
493
+ msgid "Chunked upload is not allowed!"
494
+ msgstr "Δεν επιτρέπεται τμηματική αποστολή!"
495
+
496
+ #: lib/wfu_constants.php:109
497
+ msgid "Chunked upload aborted due to error in previous chunk!"
498
+ msgstr "Η τμηματική αποστολή ματαιώθηκε λόγω σφάλματος στο προηγούμενο τμήμα!"
499
+
500
+ #: lib/wfu_constants.php:110
501
+ msgid "Chunked upload failed, final file could not be created!"
502
+ msgstr ""
503
+ "Η τμηματική αποστολή ματαιώθηκε, το τελικό αρχείο δεν μπόρεσε να "
504
+ "δημιουργηθεί!"
505
+
506
+ #: lib/wfu_constants.php:111
507
+ #, php-format
508
+ msgid "Could not write file chuck to destination on chunk %d"
509
+ msgstr "Δεν ήταν δυνατή η εγγραφή τμήματος αρχείου στον προορισμό στο τμήμα %d"
510
+
511
+ #: lib/wfu_constants.php:112
512
+ #, php-format
513
+ msgid "Could not enlarge destination file on chunk %d"
514
+ msgstr "Δεν ήταν δυνατή η μεγέθυνση του αρχείου προορισμού στο τμήμα %d"
515
+
516
+ #: lib/wfu_constants.php:113
517
+ #, php-format
518
+ msgid "Could not open file handles on chunk %d"
519
+ msgstr "Δεν ήταν δυνατό το άνοιγμα χειριστών αρχείου στο τμήμα %d"
520
+
521
+ #: lib/wfu_constants.php:114
522
+ msgid "You are not allowed to delete this file!"
523
+ msgstr "Δεν επιτρέπεται η διαγραφή αυτού του αρχείου!"
524
+
525
+ #: lib/wfu_constants.php:116
526
+ msgid "Upload skipped! File already exists."
527
+ msgstr "Η αποστολή παραβλέφθηκε! Το αρχείο υπάρχει ήδη."
528
+
529
+ #: lib/wfu_constants.php:117
530
+ msgid "No files have been selected!"
531
+ msgstr "Δεν επιλέχθηκαν αρχεία!"
532
+
533
+ #: lib/wfu_constants.php:118
534
+ msgid "WPFilebase Plugin not updated because there were no files uploaded."
535
+ msgstr "Το plugin WPFilebase δεν ενημερώθηκε διότι δεν απεστάλη κανένα αρχείο."
536
+
537
+ #: lib/wfu_constants.php:119
538
+ msgid "Notification email was not sent because there were no files uploaded."
539
+ msgstr ""
540
+ "Δεν πραγματοποιήθηκε ειδοποίηση με email διότι δεν απεστάλη κανένα αρχείο."
541
+
542
+ #: lib/wfu_constants.php:120
543
+ msgid ""
544
+ "Notification email was not sent because no recipients were defined. Please "
545
+ "check notifyrecipients attribute in the shortcode."
546
+ msgstr ""
547
+ "Δεν πραγματοποιήθηκε ειδοποίηση με email διότι δεν ορίστηκαν παραλήπτες. "
548
+ "Παρακαλούμε ελέγξτε την ιδιότητα notifyrecipients στο shortcode."
549
+
550
+ #: lib/wfu_constants.php:121
551
+ msgid ""
552
+ "Notification email was not sent due to an error. Please check "
553
+ "notifyrecipients, notifysubject and notifymessage attributes for errors."
554
+ msgstr ""
555
+ "Δεν πραγματοποιήθηκε ειδοποίηση με email λόγω σφάλματος. Παρακαλούμε ελέγξτε "
556
+ "τις ιδιότητες notifyrecipients, notifysubject και notifymessage για σφάλματα."
557
+
558
+ #: lib/wfu_constants.php:122
559
+ msgid ""
560
+ "Redirection not executed because redirection link is empty. Please check "
561
+ "redirectlink attribute."
562
+ msgstr ""
563
+ "Δεν πραγματοποιήθηκε αναδρομολόγηση διότι ο σύνδεσμος αναδρομολόγησης είναι "
564
+ "κενός. Παρακαλούμε ελέγξτε την ιδιότητα redirectlink."
565
+
566
+ #: lib/wfu_constants.php:123
567
+ msgid ""
568
+ "Redirection not executed because not all files were successfully uploaded."
569
+ msgstr ""
570
+ "Δεν πραγματοποιήθηκε αναδρομολόγηση διότι δεν αποεστάλησαν όλα τα αρχεία "
571
+ "επιτυχώς."
572
+
573
+ #: lib/wfu_constants.php:125
574
+ msgid ""
575
+ "Failed to add the shortcode to the page/post. Please try again. If the "
576
+ "message persists, contact administrator."
577
+ msgstr ""
578
+ "Δεν κατέστη δυνατή η προσθήκη του shortcode στη σελίδα / άρθρο. Παρακαλώ "
579
+ "προσπάθησε ξανά. Αν το μήνυμα συνεχίζει, επικοινωνήστε με το διαχειριστή."
580
+
581
+ #: lib/wfu_constants.php:126
582
+ msgid ""
583
+ "Failed to edit the shortcode because the contents of the page changed. Try "
584
+ "again to edit the shortcode."
585
+ msgstr ""
586
+ "Δεν ήταν δυνατή η επεξεργασία του shortcode διότι τα περιεχόμενα της σελίδας "
587
+ "άλλαξαν. Παρακαλούμε δοκιμάστε ξανά να επεξεργαστείτε το shortcode."
588
+
589
+ #: lib/wfu_constants.php:127
590
+ msgid ""
591
+ "Failed to delete the shortcode because the contents of the page changed. Try "
592
+ "again to delete it."
593
+ msgstr ""
594
+ "Δεν ήταν δυνατή η διαγραφή του shortcode διότι τα περιεχόμενα της σελίδας "
595
+ "άλλαξαν. Παρακαλούμε δοκιμάστε ξανά να διαγράψετε το shortcode."
596
+
597
+ #: lib/wfu_constants.php:128
598
+ msgid ""
599
+ "The page containing the shortcode has been modified and it is no longer "
600
+ "valid. Please go back to reload the shortcode."
601
+ msgstr ""
602
+ "Η σελίδα που περιέχει το shortcode τροποποιήθηκε και δεν είναι πλέον σε "
603
+ "ισχύ. Παρακαλούμε πηγαίνετε πίσω και ξαναφορτώστε το shortcode."
604
+
605
+ #: lib/wfu_constants.php:129
606
+ msgid ""
607
+ "Failed to update the shortcode because the contents of the page changed. Go "
608
+ "back to reload the shortcode."
609
+ msgstr ""
610
+ "Δεν ήταν δυνατή η ενημέρωση του shortcode διότι τα περιεχόμενα της σελίδας "
611
+ "άλλαξαν. Πηγαίνετε πίσω και ξαναφορτώστε το shortcode."
612
+
613
+ #: lib/wfu_constants.php:130
614
+ msgid ""
615
+ "Failed to update the shortcode. Please try again. If the problem persists, "
616
+ "go back and reload the shortcode."
617
+ msgstr ""
618
+ "Δεν ήταν δυνατή η ενημέρωση του shortcode. Παρακαλούμε ξαναδοκιμάστε. Αν το "
619
+ "πρόβλημα παραμείνει, πηγαίνετε πίσω και ξαναφορτώστε το shortcode."
620
+
621
+ #: lib/wfu_constants.php:132
622
+ msgid "This is a test message"
623
+ msgstr "Αυτό είναι ένα μήνυμα ελέγχου"
624
+
625
+ #: lib/wfu_constants.php:133
626
+ msgid "This is a test administrator message"
627
+ msgstr "Αυτό είναι ένα μήνυμα διαχειριστή ελέγχου"
628
+
629
+ #: lib/wfu_constants.php:134
630
+ msgid "File testfile 1 under test"
631
+ msgstr "Αρχείο testfile 1 υπό έλεγχο"
632
+
633
+ #: lib/wfu_constants.php:135
634
+ msgid "File testfile 1 message"
635
+ msgstr "Μήνυμα αρχείου testfile 1"
636
+
637
+ #: lib/wfu_constants.php:136
638
+ msgid "File testfile 1 administrator message"
639
+ msgstr "Μήνυμα διαχειριστή αρχείου testfile 1"
640
+
641
+ #: lib/wfu_constants.php:137
642
+ msgid "File testfile 2 under test"
643
+ msgstr "Αρχείο testfile 2 υπό έλεγχο"
644
+
645
+ #: lib/wfu_constants.php:138
646
+ msgid "File testfile 2 message"
647
+ msgstr "Μήνυμα αρχείου testfile 2"
648
+
649
+ #: lib/wfu_constants.php:139
650
+ msgid "File testfile 2 administrator message"
651
+ msgstr "Μήνυμα διαχειριστή αρχείου testfile 2"
652
+
653
+ #: lib/wfu_constants.php:141
654
+ msgid ""
655
+ "Insert variable %userid% inside text. It will be replaced by the id of the "
656
+ "current user."
657
+ msgstr ""
658
+ "Εισάγετε τη μεταβλητή %userid% στο κείμενο. Θα αντικατασταθεί από το id του "
659
+ "τρέχοντος χρήστη."
660
+
661
+ #: lib/wfu_constants.php:142
662
+ msgid ""
663
+ "Insert variable %username% inside text. It will be replaced by the username "
664
+ "of the current user."
665
+ msgstr ""
666
+ "Εισάγετε τη μεταβλητή %username% στο κείμενο. Θα αντικατασταθεί από το όνομα "
667
+ "του τρέχοντος χρήστη."
668
+
669
+ #: lib/wfu_constants.php:143
670
+ msgid ""
671
+ "Insert variable %useremail% inside text. It will be replaced by the email of "
672
+ "the current user."
673
+ msgstr ""
674
+ "Εισάγετε τη μεταβλητή %useremail% στο κείμενο. Θα αντικατασταθεί από το "
675
+ "email του τρέχοντος χρήστη."
676
+
677
+ #: lib/wfu_constants.php:144
678
+ msgid ""
679
+ "Insert variable %filename% inside text. It will be replaced by the filename "
680
+ "of the uploaded file."
681
+ msgstr ""
682
+ "Εισάγετε τη μεταβλητή %filename% στο κείμενο. Θα αντικατασταθεί από το όνομα "
683
+ "του αποστελλομένου αρχείου."
684
+
685
+ #: lib/wfu_constants.php:145
686
+ msgid ""
687
+ "Insert variable %filepath% inside text. It will be replaced by the full "
688
+ "filepath of the uploaded file."
689
+ msgstr ""
690
+ "Εισάγετε τη μεταβλητή %filepath% στο κείμενο. Θα αντικατασταθεί από την "
691
+ "πλήρη διαδρομή του αποστελλομένου αρχείου."
692
+
693
+ #: lib/wfu_constants.php:146
694
+ msgid ""
695
+ "Insert variable %blogid% inside text. It will be replaced by the blog id of "
696
+ "the website."
697
+ msgstr ""
698
+ "Εισάγετε τη μεταβλητή %blogid% στο κείμενο. Θα αντικατασταθεί από το blog id "
699
+ "της ιστοσελίδας."
700
+
701
+ #: lib/wfu_constants.php:147
702
+ msgid ""
703
+ "Insert variable %pageid% inside text. It will be replaced by the id of the "
704
+ "current page."
705
+ msgstr ""
706
+ "Εισάγετε τη μεταβλητή %pageid% στο κείμενο. Θα αντικατασταθεί από το id της "
707
+ "τρέχουσας σελίδας."
708
+
709
+ #: lib/wfu_constants.php:148
710
+ msgid ""
711
+ "Insert variable %pagetitle% inside text. It will be replaced by the title of "
712
+ "the current page."
713
+ msgstr ""
714
+ "Εισάγετε τη μεταβλητή %pagetitle% στο κείμενο. Θα αντικατασταθεί από τον "
715
+ "τίτλο της τρέχουσας σελίδας."
716
+
717
+ #: lib/wfu_constants.php:149
718
+ msgid ""
719
+ "Insert variable %userdataXXX% inside text. Select the user field from the "
720
+ "drop-down list. It will be replaced by the value that the user entered in "
721
+ "this field."
722
+ msgstr ""
723
+ "Εισάγετε τη μεταβλητή %userdataXXX% στο κείμενο. Επιλέξτε το πεδίο χρήστη "
724
+ "από την εμφανιζόμενη dropdown λίστα. Θα αντικατασταθεί από την τιμή που "
725
+ "εισήγαγε ο χρήστης σε αυτό το πεδίο."
726
+
727
+ #: lib/wfu_constants.php:150
728
+ msgid "Insert variable %n% inside text to denote a line change."
729
+ msgstr ""
730
+ "Εισάγετε τη μεταβλητή %n% στο κείμενο για να υποδείξετε αλλαγή γραμμής."
731
+
732
+ #: lib/wfu_constants.php:152
733
+ msgid "Test Mode"
734
+ msgstr "Κατάσταση Ελέγχου"
735
+
736
+ #: lib/wfu_constants.php:153
737
+ msgid "select dir..."
738
+ msgstr "επιλογή καταλόγου..."
739
+
740
+ #: lib/wfu_constants.php:154
741
+ msgid "type dir"
742
+ msgstr "εισάγετε κατάλογο"
743
+
744
+ #: lib/wfu_constants.php:155
745
+ msgid "Upload path: %filepath%"
746
+ msgstr "Διαδρομή προορισμού: %filepath%"
747
+
748
+ #: lib/wfu_constants.php:156
749
+ msgid "Failed upload path: %filepath%"
750
+ msgstr "Εσφαλμένη διαδρομή προορισμού: %filepath%"
751
+
752
+ #: lib/wfu_constants.php:157
753
+ msgid " (required)"
754
+ msgstr " (απαραίτητο)"
755
+
756
+ #: lib/wfu_constants.php:158
757
+ msgid "Files are being uploaded. Are you sure you want to exit the page?"
758
+ msgstr ""
759
+ "Υπάρχουν αρχεία που αποστέλλονται. Σίγουρα θέλετε να φύγετε από τη σελίδα;"
760
+
761
+ #: lib/wfu_constants.php:159
762
+ msgid "checking captcha..."
763
+ msgstr "έλεγχος captcha..."
764
+
765
+ #: lib/wfu_constants.php:160
766
+ msgid "refreshing..."
767
+ msgstr "ανανέωση..."
768
+
769
+ #: lib/wfu_constants.php:161
770
+ msgid "correct captcha"
771
+ msgstr "σωστό captcha"
772
+
773
+ #: lib/wfu_constants.php:162
774
+ msgid "click to continue the upload"
775
+ msgstr "πατήστε click για να συνεχίσει η αποστολή"
776
+
777
+ #: lib/wfu_constants.php:163
778
+ msgid "Are you sure you want to delete this file?"
779
+ msgstr "Είστε βέβαιοι ότι θέλετε να διαγράψετε αυτό το αρχείο;"
780
+
781
+ #: lib/wfu_constants.php:164
782
+ msgid "Upload in progress"
783
+ msgstr "Αποστολή σε εξέλιξη"
784
+
785
+ #: lib/wfu_constants.php:165
786
+ msgid "Upload in progress with warnings!"
787
+ msgstr "Αποστολή σε εξέλιξη με προειδοποιήσεις!"
788
+
789
+ #: lib/wfu_constants.php:166
790
+ msgid "Upload in progress but some files already failed!"
791
+ msgstr "Αποστολή σε εξέλιξη αλλά κάποια αρχεία ήδη απέτυχαν!"
792
+
793
+ #: lib/wfu_constants.php:167
794
+ msgid "Upload in progress but no files uploaded so far!"
795
+ msgstr "Αποστολή σε εξέλιξη αλλά δεν απεστάλη κανένα αρχείο μέχρι τώρα!"
796
+
797
+ #: lib/wfu_constants.php:168
798
+ msgid "All files uploaded successfully"
799
+ msgstr "Όλα τα αρχεία απεστάλησαν επιτυχώς"
800
+
801
+ #: lib/wfu_constants.php:169
802
+ msgid "All files uploaded successfully but there are warnings!"
803
+ msgstr "Όλα τα αρχεία απεστάλησαν επιτυχώς αλλά υπάρχουν προειδοποιήσεις!"
804
+
805
+ #: lib/wfu_constants.php:170
806
+ msgid "File uploaded successfully but there are warnings!"
807
+ msgstr "Το αρχείο απεστάλη επιτυχώς αλλά υπάρχουν προειδοποιήσεις!"
808
+
809
+ #: lib/wfu_constants.php:171
810
+ msgid "Some files failed to upload!"
811
+ msgstr "Μερικά αρχεία απέτυχαν να αποσταλούν!"
812
+
813
+ #: lib/wfu_constants.php:172
814
+ msgid "All files failed to upload"
815
+ msgstr "Όλα τα αρχεία απέτυχαν να αποσταλούν"
816
+
817
+ #: lib/wfu_constants.php:173
818
+ msgid "File failed to upload"
819
+ msgstr "Το αρχείο απέτυχε να αποσταλεί"
820
+
821
+ #: lib/wfu_constants.php:174
822
+ msgid "There are no files to upload!"
823
+ msgstr "Δεν υπάρχουν αρχεία για αποστολή!"
824
+
825
+ #: lib/wfu_constants.php:175
826
+ msgid "Test upload message"
827
+ msgstr "Μήνυμα αποστολής ελέγχου"
828
+
829
+ #: lib/wfu_constants.php:176
830
+ msgid "JSON parse warning!"
831
+ msgstr "Προειδοποίηση μετατροπής JSON!"
832
+
833
+ #: lib/wfu_constants.php:177
834
+ msgid "please wait while redirecting..."
835
+ msgstr "παρακαλούμε περιμένετε ενώ γίνεται αναδρομολόγηση..."
836
+
837
+ #: lib/wfu_constants.php:178
838
+ msgid "Open visual shortcode editor in new window"
839
+ msgstr "Ανοίξτε τη γραφική επεξεργασία του shortcode σε νέο παράθυρο"
840
+
841
+ #: lib/wfu_constants.php:179
842
+ msgid "loading visual editor"
843
+ msgstr "φόρτωση του γραφικού επεξεργαστή"
844
+
845
+ #: lib/wfu_constants.php:180
846
+ msgid "Clear file list?"
847
+ msgstr "Να γίνει καθαρισμός της λίστας αρχείων;"
848
+
849
+ #: lib/wfu_constants.php:181
850
+ msgid "DROP HERE"
851
+ msgstr "ΑΦΗΣΤΕ ΕΔΩ"
852
+
853
+ #: lib/wfu_constants.php:183
854
+ msgid "Wordpress File Upload Form"
855
+ msgstr "Φόρμα του Wordpress File Upload"
856
+
857
+ #: lib/wfu_constants.php:184
858
+ msgid "Wordpress File Upload plugin uploader for sidebars"
859
+ msgstr "Αποστολή αρχείων με το Wordpress File Upload plugin για sidebars"
860
+
861
+ #: lib/wfu_constants.php:185
862
+ msgid "Upload Files"
863
+ msgstr "Αποστολή αρχείων"
864
+
865
+ #~ msgid "New title"
866
+ #~ msgstr "Νέος τίτλος"
languages/wp-file-upload-fr_FR.mo ADDED
Binary file
languages/{wordpress-file-upload-fr_FR.po → wp-file-upload-fr_FR.po} RENAMED
@@ -1,772 +1,868 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Wordpress File Upload\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-09-29 11:09+0200\n"
6
- "PO-Revision-Date: 2015-09-29 11:09+0200\n"
7
- "Last-Translator: nickboss <nickboss@iptanus.com>\n"
8
- "Language-Team: \n"
9
- "Language: fr_FR\n"
10
- "MIME-Version: 1.0\n"
11
- "Content-Type: text/plain; charset=UTF-8\n"
12
- "Content-Transfer-Encoding: 8bit\n"
13
- "X-Poedit-KeywordsList: __;gettext;gettext_noop\n"
14
- "X-Poedit-Basepath: ../\n"
15
- "X-Generator: Poedit 1.7.5\n"
16
- "X-Poedit-SearchPath-0: .\n"
17
- "X-Poedit-SearchPathExcluded-0: vendor\n"
18
-
19
- #: lib/wfu_constants.php:7
20
- msgid "Upload files"
21
- msgstr "Envoyer des fichiers"
22
-
23
- #: lib/wfu_constants.php:8
24
- msgid "Select File"
25
- msgstr "Sélectionnez un fichier"
26
-
27
- #: lib/wfu_constants.php:9
28
- msgid "Upload File"
29
- msgstr "Envoyer de fichier"
30
-
31
- #: lib/wfu_constants.php:28
32
- msgid "File Upload Notification"
33
- msgstr "Notification d'envoi de fichier"
34
-
35
- #: lib/wfu_constants.php:29
36
- msgid ""
37
- "Dear Recipient,%n%%n% This is an automatic delivery message to notify you "
38
- "that a new file has been uploaded.%n%%n%Best Regards"
39
- msgstr ""
40
- "Cher Destinataire,%n%%n% Ceci est un message envoyé automatiquement pour "
41
- "vous prevenir qu'un nouveau fichier a été uploadé. %n%%n%Cordialement"
42
-
43
- #: lib/wfu_constants.php:35
44
- #, php-format
45
- msgid "File %filename% uploaded successfully"
46
- msgstr "Le fichier %filename% a été envoyé avec succès"
47
-
48
- #: lib/wfu_constants.php:36
49
- #, php-format
50
- msgid "File %filename% uploaded successfully but with warnings"
51
- msgstr ""
52
- "Le fichier %filename% a été envoyé avec succès, mais avec des avertissements"
53
-
54
- #: lib/wfu_constants.php:37
55
- msgid "File %filename% not uploaded"
56
- msgstr "Le fichier %filename% n'a pas été envoyé"
57
-
58
- #: lib/wfu_constants.php:38
59
- msgid "File %filename% is being uploaded"
60
- msgstr "Le fichier %filename% est en cours d'envoi"
61
-
62
- #: lib/wfu_constants.php:56
63
- msgid "Your message"
64
- msgstr "Votre message"
65
-
66
- #: lib/wfu_constants.php:61
67
- msgid ""
68
- "Error. Could not resolve ftp target filedir. Check the domain in 'ftpinfo' "
69
- "attribute."
70
- msgstr ""
71
- "Erreur. Impossible d'atteindre le repertoire ftp de destination. Vérifier le "
72
- "domaine dans l'attribut 'ftpinfo'."
73
-
74
- #: lib/wfu_constants.php:62
75
- msgid "Error. Invalid ftp information. Check 'ftpinfo' attribute."
76
- msgstr ""
77
- "Erreur. Les informations de ftp sont invalides. Vérifier le domaine dans "
78
- "l'attribut 'ftpinfo'."
79
-
80
- #: lib/wfu_constants.php:63
81
- msgid ""
82
- "Error. Could not extract ftp information from 'ftpinfo' attribute. Check its "
83
- "syntax."
84
- msgstr ""
85
- "Erreur. Impossible d'obtenir les informations dans l'attribut 'ftpinfo'. "
86
- "Vérifez sa syntax."
87
-
88
- #: lib/wfu_constants.php:64
89
- msgid ""
90
- "Error. Could not resolve ftp target filename. Check the domain in 'ftpinfo' "
91
- "attribute."
92
- msgstr ""
93
- "Erreur. Impossible de résoudre le nom de fichier de destination ftp. "
94
- "Vérifiez le domaine dans l'attribut 'ftpinfo'."
95
-
96
- #: lib/wfu_constants.php:65
97
- msgid ""
98
- "Error. The upload size limit of PHP directive upload_max_filesize is "
99
- "preventing the upload of big files.\n"
100
- "PHP directive upload_max_filesize limit is: "
101
- msgstr ""
102
- "Erreur. La directive PHP de taille limite d'envoi de fichier "
103
- "upload_max_filesize, empêche l'envoi de gros fichier.\n"
104
- "La limite de la directive PHP upload_max_filesize est de :"
105
-
106
- #: lib/wfu_constants.php:66
107
- msgid ""
108
- "The upload time limit of PHP directive max_input_time is preventing the "
109
- "upload of big files.\n"
110
- "PHP directive max_input_time limit is: "
111
- msgstr ""
112
- "La limite de temps d'envoi de la directive PHP max_input_time, empêche "
113
- "l'envoi de gros fichier.\n"
114
- "La limite de la directive PHP max_input_time est de :"
115
-
116
- #: lib/wfu_constants.php:67
117
- msgid ""
118
- "Error. Permission denied to write to target folder.\n"
119
- "Check and correct read/write permissions of target folder."
120
- msgstr ""
121
- "Erreur. La premission d'écrire dans le repertoire de destination.\n"
122
- "Vérifiez et corrigez les permission en lecture/ecriture du repertoire de "
123
- "destination."
124
-
125
- #: lib/wfu_constants.php:68
126
- msgid "Targer folder doesn't exist."
127
- msgstr "Le répertoire de destination n'existe pas."
128
-
129
- #: lib/wfu_constants.php:69
130
- msgid "Upload failed! Missing a temporary folder."
131
- msgstr "Envoi impossible! Il manque un répertoire temporaire."
132
-
133
- #: lib/wfu_constants.php:70
134
- msgid "Upload failed! Permission denied to write to target folder."
135
- msgstr ""
136
- "Envoi impossible! Permission refusée dans le répertoire de destination."
137
-
138
- #: lib/wfu_constants.php:71
139
- msgid "File not allowed."
140
- msgstr "Type de fichier non autorisé."
141
-
142
- #: lib/wfu_constants.php:72
143
- msgid "The uploaded file exceeds the file size limit."
144
- msgstr "La taille du fichier est supérieure à la taille limite."
145
-
146
- #: lib/wfu_constants.php:73
147
- msgid "The uploaded file exceeds 2GB and is not supported by this server."
148
- msgstr ""
149
- "Le fichier téléchargé excède 2 Go et ne sont pas pris en charge par ce "
150
- "serveur."
151
-
152
- #: lib/wfu_constants.php:74
153
- msgid ""
154
- "Upload failed! The uploaded file exceeds the file size limit of the server. "
155
- "Please contact the administrator."
156
- msgstr ""
157
- "Envoi impossible! La taille du fichier excède la taille limite du serveur. "
158
- "Merci de contacter l'administrateur."
159
-
160
- #: lib/wfu_constants.php:75
161
- msgid ""
162
- "Upload failed! The duration of the upload exceeded the time limit of the "
163
- "server. Please contact the administrator."
164
- msgstr ""
165
- "Envoi impossible! La durée maximum d'envoi sur le serveur excède la durée "
166
- "limite du serveur. Merci de contacter l'administrateur."
167
-
168
- #: lib/wfu_constants.php:76
169
- msgid ""
170
- "Upload failed! The uploaded file exceeds the MAX_FILE_SIZE directive that "
171
- "was specified in the HTML form."
172
- msgstr ""
173
- "Envoi impossible! La taille du fichier excède la directive MAX_FILE_SIZE "
174
- "spécifiée dans le formulaire HTML."
175
-
176
- #: lib/wfu_constants.php:77
177
- msgid "Upload failed! The uploaded file was only partially uploaded."
178
- msgstr "Envoi impossible! Le fichier à été partiellement envoyé."
179
-
180
- #: lib/wfu_constants.php:78
181
- msgid "Upload failed! No file was uploaded."
182
- msgstr "Envoi impossible! Le fichier n'a pas été envoyé."
183
-
184
- #: lib/wfu_constants.php:79
185
- msgid "Upload failed! Failed to write file to disk."
186
- msgstr "Envoi impossible! Impossible d'écrire sur le fichier sur le disque."
187
-
188
- #: lib/wfu_constants.php:80
189
- msgid ""
190
- "Upload failed! Error occured while moving temporary file. Please contact "
191
- "administrator."
192
- msgstr ""
193
- "Envoi impossible! Une erreur est survenue lors du déplacement du fichier "
194
- "temporaire. merci de contacter l'administrateur."
195
-
196
- #: lib/wfu_constants.php:81
197
- msgid ""
198
- "Upload failed! A PHP extension stopped the file upload. PHP does not provide "
199
- "a way to ascertain which extension caused the file upload to stop; examining "
200
- "the list of loaded extensions with phpinfo() may help."
201
- msgstr ""
202
- "Envoi impossible! Une extension PHP a arrété l'envoi du fichier. PHP ne peut "
203
- "pas fournir avec certitude quelle extension est en cause; examiner la liste "
204
- "des extensions chargées avec phpinfo() peut être nécessaire."
205
-
206
- #: lib/wfu_constants.php:82
207
- msgid "Upload failed! Error occured while attemting to upload the file."
208
- msgstr ""
209
- "Envoi impossible! Une erreur est survenue pendant la tentative d'envoi du "
210
- "fichier."
211
-
212
- #: lib/wfu_constants.php:83
213
- msgid "Upload failed!"
214
- msgstr "Envoi impossible!"
215
-
216
- #: lib/wfu_constants.php:84
217
- msgid "No file!"
218
- msgstr "Pas de fichier!"
219
-
220
- #: lib/wfu_constants.php:85
221
- msgid ""
222
- "Upload failed! The upload has been canceled by the user or the browser "
223
- "dropped the connection."
224
- msgstr ""
225
- "Envoi impossible! L'envoi a été annulé par l'utilisateur ou le navigateur à "
226
- "cassé la connexion."
227
-
228
- #: lib/wfu_constants.php:86
229
- msgid "Upload failed! Unknown error."
230
- msgstr "Envoi impossible! Erreur inconnue."
231
-
232
- #: lib/wfu_constants.php:87
233
- msgid "Please contact the administrator."
234
- msgstr "Merci de contacter l'administrateur."
235
-
236
- #: lib/wfu_constants.php:88
237
- msgid "No result from remote server!"
238
- msgstr "Pas de résultat du serveur distant!"
239
-
240
- #: lib/wfu_constants.php:89
241
- msgid " but with warnings"
242
- msgstr "mais avec des avertissements"
243
-
244
- #: lib/wfu_constants.php:90 lib/wfu_constants.php:92
245
- msgid "Warning: JSON parse error."
246
- msgstr "Attention: Erreur d'analyse JSON"
247
-
248
- #: lib/wfu_constants.php:91
249
- msgid ""
250
- "Upload parameters of this file, passed as JSON string to the handler, could "
251
- "not be parsed."
252
- msgstr ""
253
- "Les paramètres d'envoi de ce fichier, passés en tant que chaine JSON, ne "
254
- "peuvent pas être analysés."
255
-
256
- #: lib/wfu_constants.php:93
257
- msgid ""
258
- "UploadStates, passed as JSON string to the handler, could not be parsed."
259
- msgstr "UploadStates, passé en tant que chaine JSON, ne peut pas être analysé."
260
-
261
- #: lib/wfu_constants.php:94
262
- msgid ""
263
- "Redirection to classic form functionality occurred due to unknown error."
264
- msgstr ""
265
- "La redirection vers la fonctionalité classique des formulaire s'est produit "
266
- "à cause d'une erreur inconue."
267
-
268
- #: lib/wfu_constants.php:95
269
- msgid ""
270
- "Redirection to classic form functionality occurred because AJAX is not "
271
- "supported."
272
- msgstr ""
273
- "La redirection vers la fonctionalité classique des formulaire s'est produit "
274
- "car AJAX n'est pas supporté."
275
-
276
- #: lib/wfu_constants.php:96
277
- msgid ""
278
- "Redirection to classic form functionality occurred because HTML5 is not "
279
- "supported."
280
- msgstr ""
281
- "La redirection vers la fonctionalité classique des formulaire s'est produit "
282
- "car HTML5 n'est pas supporté."
283
-
284
- #: lib/wfu_constants.php:97
285
- msgid ""
286
- "Redirection to classic form functionality occurred due to JSON parse error."
287
- msgstr ""
288
- "La redirection vers la fonctionalité classique des formulaire s'est produit "
289
- "à cause d'une erreur d'analyse JSON."
290
-
291
- #: lib/wfu_constants.php:98
292
- msgid "Please enable popup windows from the browser's settings!"
293
- msgstr ""
294
- "Veuillez activer les fenêtres contextuelles des paramètres du navigateur !"
295
-
296
- #: lib/wfu_constants.php:99
297
- msgid "cannot be empty!"
298
- msgstr "ne peut pas être vide!"
299
-
300
- #: lib/wfu_constants.php:100
301
- msgid "number not valid!"
302
- msgstr "nombre non valide!"
303
-
304
- #: lib/wfu_constants.php:101
305
- msgid "email not valid!"
306
- msgstr "email n'est pas valable"
307
-
308
- #: lib/wfu_constants.php:102
309
- msgid "emails do not match!"
310
- msgstr "emails ne correspondent pas!"
311
-
312
- #: lib/wfu_constants.php:103
313
- msgid "no base email field in group!"
314
- msgstr "aucun champ de base email en groupe!"
315
-
316
- #: lib/wfu_constants.php:104
317
- msgid "passwords do not match!"
318
- msgstr "mots de passe ne correspondent pas!"
319
-
320
- #: lib/wfu_constants.php:105
321
- msgid "no base password field in group!"
322
- msgstr "aucun champ de base de mot de passe dans le groupe!"
323
-
324
- #: lib/wfu_constants.php:106
325
- msgid "checkbox unchecked!"
326
- msgstr "case à cocher désactivée!"
327
-
328
- #: lib/wfu_constants.php:107
329
- msgid "no option selected!"
330
- msgstr "aucune option sélectionnée!"
331
-
332
- #: lib/wfu_constants.php:108
333
- msgid "no item selected!"
334
- msgstr "Aucun article sélectionné!"
335
-
336
- #: lib/wfu_constants.php:109
337
- msgid ""
338
- "There are more than one instances of the plugin in this page with the same "
339
- "id. Please change it."
340
- msgstr ""
341
- "Il ya plus d'un cas de le plugin dans cette page avec le même id. S'il vous "
342
- "plaît changer."
343
-
344
- #: lib/wfu_constants.php:110
345
- msgid ""
346
- "Cannot edit the shortcode because the page has been modified. Please reload "
347
- "the page."
348
- msgstr ""
349
- "Impossible de modifier le shortcode car la page a été modifiée. Veuillez "
350
- "recharger la page."
351
-
352
- #: lib/wfu_constants.php:113
353
- msgid "Upload skipped! File already exists."
354
- msgstr "Envoi passé! Le fichier existe déjà."
355
-
356
- #: lib/wfu_constants.php:114
357
- msgid "No files have been selected!"
358
- msgstr "Aucun fichier n'a été envoyés!"
359
-
360
- #: lib/wfu_constants.php:115
361
- msgid "WPFilebase Plugin not updated because there were no files uploaded."
362
- msgstr ""
363
- "WPFilebase Plugin n'a pas été mis à jour car il n'y a pas de fichiers à "
364
- "envoyer."
365
-
366
- #: lib/wfu_constants.php:116
367
- msgid "Notification email was not sent because there were no files uploaded."
368
- msgstr ""
369
- "Le mail de notification n'a pas été envoyé car il n'y a pas de fichiers à "
370
- "envoyer."
371
-
372
- #: lib/wfu_constants.php:117
373
- msgid ""
374
- "Notification email was not sent because no recipients were defined. Please "
375
- "check notifyrecipients attribute in the shortcode."
376
- msgstr ""
377
- "Le mail de notification n'a pas été envoyé car il n'y a pas de destinataire. "
378
- "Merci de vérifier l'attribut notifyrecipients dans le shortcode."
379
-
380
- #: lib/wfu_constants.php:118
381
- msgid ""
382
- "Notification email was not sent due to an error. Please check "
383
- "notifyrecipients, notifysubject and notifymessage attributes for errors."
384
- msgstr ""
385
- "Le mail de notification n'a pas été envoyé car il n'y a une erreur. Merci de "
386
- "vérifier les attributs notifyrecipients, notifysubject et notifymessage."
387
-
388
- #: lib/wfu_constants.php:119
389
- msgid ""
390
- "Redirection not executed because redirection link is empty. Please check "
391
- "redirectlink attribute."
392
- msgstr ""
393
- "La redirection n'a pas été effectuée car le lien de redirection est vide. "
394
- "Merci de vérifier l'attribut redirectlink."
395
-
396
- #: lib/wfu_constants.php:120
397
- msgid ""
398
- "Redirection not executed because not all files were successfully uploaded."
399
- msgstr ""
400
- "La redirection n'est pas éxécuté car tous les fichiers n'ont pas été envoyés."
401
-
402
- #: lib/wfu_constants.php:123
403
- msgid "Test Mode"
404
- msgstr "Mode de test"
405
-
406
- #: lib/wfu_constants.php:124
407
- msgid "select dir..."
408
- msgstr "sélectionnez dir"
409
-
410
- #: lib/wfu_constants.php:125
411
- msgid "type dir"
412
- msgstr "tapez dir"
413
-
414
- #: lib/wfu_constants.php:126
415
- msgid "Upload path: %filepath%"
416
- msgstr "Chemin d'Upload : %filepath%"
417
-
418
- #: lib/wfu_constants.php:127
419
- msgid "Failed upload path: %filepath%"
420
- msgstr "Mauvais répertoir d'envoi: %filepath%"
421
-
422
- #: lib/wfu_constants.php:128
423
- msgid " (required)"
424
- msgstr " (requis)"
425
-
426
- #: lib/wfu_constants.php:129
427
- msgid "Files are being uploaded. Are you sure you want to exit the page?"
428
- msgstr "Les fichiers sont envoyés. Êtes-vous sûr de vouloir quitter la page?"
429
-
430
- #: lib/wfu_constants.php:132
431
- msgid "This is a test message"
432
- msgstr "Ceci est un message de test"
433
-
434
- #: lib/wfu_constants.php:133
435
- msgid "This is a test administrator message"
436
- msgstr "Ceci est un message administrateur de test"
437
-
438
- #: lib/wfu_constants.php:134
439
- msgid "File testfile 1 under test"
440
- msgstr "File testfile 1 under test"
441
-
442
- #: lib/wfu_constants.php:135
443
- msgid "File testfile 1 message"
444
- msgstr "File testfile 1 message"
445
-
446
- #: lib/wfu_constants.php:136
447
- msgid "File testfile 1 administrator message"
448
- msgstr "Message administrateur File testfile"
449
-
450
- #: lib/wfu_constants.php:137
451
- msgid "File testfile 2 under test"
452
- msgstr "En test File testfile"
453
-
454
- #: lib/wfu_constants.php:138
455
- msgid "File testfile 2 message"
456
- msgstr "Message File testfile 2"
457
-
458
- #: lib/wfu_constants.php:139
459
- msgid "File testfile 2 administrator message"
460
- msgstr "Message administrateur File testfile 2"
461
-
462
- #: lib/wfu_constants.php:142
463
- msgid ""
464
- "Failed to add the shortcode to the page/post. Please try again. If the "
465
- "message persists, contact administrator."
466
- msgstr ""
467
- "Impossible d' ajouter le shortcode à la page / poste. S' il vous plaît "
468
- "essayer à nouveau. Si le message persiste, contactez l' administrateur."
469
-
470
- #: lib/wfu_constants.php:143
471
- msgid ""
472
- "Failed to edit the shortcode because the contents of the page changed. Try "
473
- "again to edit the shortcode."
474
- msgstr ""
475
- "Impossible de modifier le shortcode parce que le contenu de la page changé. "
476
- "Essayez à nouveau de modifier le shortcode."
477
-
478
- #: lib/wfu_constants.php:144
479
- msgid ""
480
- "Failed to delete the shortcode because the contents of the page changed. Try "
481
- "again to delete it."
482
- msgstr ""
483
- "Impossible de supprimer le shortcode parce que le contenu de la page changé. "
484
- "Essayez à nouveau de le supprimer."
485
-
486
- #: lib/wfu_constants.php:145
487
- msgid ""
488
- "The page containing the shortcode has been modified and it is no longer "
489
- "valid. Please go back to reload the shortcode."
490
- msgstr ""
491
- "La page contenant le shortcode a été modifié et il est plus valide. S'il "
492
- "vous plaît revenir à recharger le shortcode."
493
-
494
- #: lib/wfu_constants.php:146
495
- msgid ""
496
- "Failed to update the shortcode because the contents of the page changed. Go "
497
- "back to reload the shortcode."
498
- msgstr ""
499
- "Impossible de mettre à jour le shortcode parce que le contenu de la page "
500
- "changé. Retour à recharger le shortcode."
501
-
502
- #: lib/wfu_constants.php:147
503
- msgid ""
504
- "Failed to update the shortcode. Please try again. If the problem persists, "
505
- "go back and reload the shortcode."
506
- msgstr ""
507
- "Impossible de mettre à jour le shortcode. S'il vous plaît essayer à nouveau. "
508
- "Si le problème persiste, revenir en arrière et recharger le shortcode."
509
-
510
- #: lib/wfu_constants.php:150
511
- msgid ""
512
- "Insert variable %userid% inside text. It will be replaced by the id of the "
513
- "current user."
514
- msgstr ""
515
- "Insérez %userid% variable dans le texte. Il sera remplacé par l'id de "
516
- "l'utilisateur courant."
517
-
518
- #: lib/wfu_constants.php:151
519
- msgid ""
520
- "Insert variable %username% inside text. It will be replaced by the username "
521
- "of the current user."
522
- msgstr ""
523
- "Insérez la variable %username% dans le texte. Il sera remplacé par le "
524
- "username de l'utilisateur courant."
525
-
526
- #: lib/wfu_constants.php:152
527
- msgid ""
528
- "Insert variable %useremail% inside text. It will be replaced by the email of "
529
- "the current user."
530
- msgstr ""
531
- "Insérez la variable %useremail% dans le texte. Il sera remplacé par l'email "
532
- "de l'utilisateur courant."
533
-
534
- #: lib/wfu_constants.php:153
535
- msgid ""
536
- "Insert variable %filename% inside text. It will be replaced by the filename "
537
- "of the uploaded file."
538
- msgstr ""
539
- "Insérez la variable %filename% dans le texte. Il sera remplacé par le nom du "
540
- "fichier à envoyer."
541
-
542
- #: lib/wfu_constants.php:154
543
- msgid ""
544
- "Insert variable %filepath% inside text. It will be replaced by the full "
545
- "filepath of the uploaded file."
546
- msgstr ""
547
- "Insérez la variable %filepath% dans le texte. Il sera remplacé par le chemin "
548
- "complet du fichier envoyé."
549
-
550
- #: lib/wfu_constants.php:155
551
- msgid ""
552
- "Insert variable %blogid% inside text. It will be replaced by the blog id of "
553
- "the website."
554
- msgstr ""
555
- "Insérez la variable %blogid% dans le texte. Il sera remplacé par l'id du "
556
- "blog du site web."
557
-
558
- #: lib/wfu_constants.php:156
559
- msgid ""
560
- "Insert variable %pageid% inside text. It will be replaced by the id of the "
561
- "current page."
562
- msgstr ""
563
- "Insérez %pageid% variable dans le texte. Il sera remplacé par l'id de la "
564
- "page en cours."
565
-
566
- #: lib/wfu_constants.php:157
567
- msgid ""
568
- "Insert variable %pagetitle% inside text. It will be replaced by the title of "
569
- "the current page."
570
- msgstr ""
571
- "Insérez %pagetitle% variable dans le texte. Il sera remplacé par le titre de "
572
- "la page courante."
573
-
574
- #: lib/wfu_constants.php:158
575
- msgid ""
576
- "Insert variable %userdataXXX% inside text. Select the user field from the "
577
- "drop-down list. It will be replaced by the value that the user entered in "
578
- "this field."
579
- msgstr ""
580
- "Insérez la variable %userdataXXX% dans le texte. Sélectionnez le champ de "
581
- "l'utilisateur dans la liste déroulante. Il sera remplacé par la valeur que "
582
- "l'utilisateur aura entré dans ce champs."
583
-
584
- #: lib/wfu_constants.php:159
585
- msgid "Insert variable %n% inside text to denote a line change."
586
- msgstr ""
587
- "Insérez la variable %n% à l'intérieur du texte pour indiquer un changement "
588
- "de ligne."
589
-
590
- #: lib/wfu_constants.php:162
591
- msgid "Upload in progress"
592
- msgstr "Envoi en cours"
593
-
594
- #: lib/wfu_constants.php:163
595
- msgid "Upload in progress with warnings!"
596
- msgstr "Envoi en cours mais avec des avertissements!"
597
-
598
- #: lib/wfu_constants.php:164
599
- msgid "Upload in progress but some files already failed!"
600
- msgstr "Envoi en cours mais certains fichiers ont échoués!"
601
-
602
- #: lib/wfu_constants.php:165
603
- msgid "Upload in progress but no files uploaded so far!"
604
- msgstr "Envoi en cours mais aucun fichiers n'a été envoyé pour le moment!"
605
-
606
- #: lib/wfu_constants.php:166
607
- msgid "All files uploaded successfully"
608
- msgstr "Tous les fichiers ont été envoyés avec succès"
609
-
610
- #: lib/wfu_constants.php:167
611
- msgid "All files uploaded successfully but there are warnings!"
612
- msgstr ""
613
- "Tous les fichiers ont été envoyer avec succès mais avec des avertissements!"
614
-
615
- #: lib/wfu_constants.php:168
616
- msgid "File uploaded successfully but there are warnings!"
617
- msgstr "Fichiers envoyés avec succès mais certain avec un avertissement."
618
-
619
- #: lib/wfu_constants.php:169
620
- msgid "Some files failed to upload!"
621
- msgstr "Certains fichiers n'ont pas été envoyé"
622
-
623
- #: lib/wfu_constants.php:170
624
- msgid "All files failed to upload"
625
- msgstr "Impossible d'envoyer les fichiers"
626
-
627
- #: lib/wfu_constants.php:171
628
- msgid "File failed to upload"
629
- msgstr "Impossible d'envoyer le fichier"
630
-
631
- #: lib/wfu_constants.php:172
632
- msgid "There are no files to upload!"
633
- msgstr "Il n'y a pas de fichiers à envoyer"
634
-
635
- #: lib/wfu_constants.php:173
636
- msgid "Test upload message"
637
- msgstr "Message de test d'upload"
638
-
639
- #: lib/wfu_constants.php:174
640
- msgid "JSON parse warning!"
641
- msgstr "Avertisements d'analyse JSON."
642
-
643
- #: lib/wfu_constants.php:175
644
- msgid "please wait while redirecting..."
645
- msgstr "merci de patienter pendans la redirection..."
646
-
647
- #: lib/wfu_constants.php:176
648
- msgid "Open visual shortcode editor in new window"
649
- msgstr "Ouvrez l'éditeur de shortcode visuelle dans une nouvelle fenêtre"
650
-
651
- #: lib/wfu_constants.php:177
652
- msgid "loading visual editor"
653
- msgstr "chargement éditeur visuel"
654
-
655
- #: lib/wfu_widget.php:8
656
- msgid "Wordpress File Upload Form"
657
- msgstr "Wordpress File Upload Form"
658
-
659
- #: lib/wfu_widget.php:9
660
- msgid "Wordpress File Upload plugin uploader for sidebars"
661
- msgstr "Wordpress File Upload extension uploader pour colonnes"
662
-
663
- #: lib/wfu_widget.php:38 lib/wfu_widget.php:98
664
- msgid "New title"
665
- msgstr "Nouveau titre"
666
-
667
- #~ msgid "Select File/Select Files"
668
- #~ msgstr "Sélectionner un fichier/Sélectionner des fichiers"
669
-
670
- #~ msgid "Upload File/Upload Files"
671
- #~ msgstr "Envoyer le fichier/Envoyer les fichiers"
672
-
673
- #~ msgid "Please fill in the above words: "
674
- #~ msgstr "Merci de remplir dans les mots ci-dessus:"
675
-
676
- #~ msgid ""
677
- #~ "ERROR: Captcha not supported! You have an old PHP version. Upgrade your "
678
- #~ "PHP or use RecaptchaV2 (no account)."
679
- #~ msgstr ""
680
- #~ "Erreur: Captcha pas pris en charge! Vous avez une ancienne version de "
681
- #~ "PHP. Améliorez votre PHP ou utiliser RecaptchaV2 (no account)."
682
-
683
- #~ msgid "ERROR: No site key. Please contact administrator!"
684
- #~ msgstr ""
685
- #~ "Erreur: Aucune clé du site. S'il vous plaît contacter l'administrateur!"
686
-
687
- #~ msgid ""
688
- #~ "ERROR: No site key defined! Please go to the plugin settings in Dashboard "
689
- #~ "to define Google Recaptcha keys."
690
- #~ msgstr ""
691
- #~ "ERREUR : Aucun site clé définie ! S'il vous plaît aller à la "
692
- #~ "configuration du plugin dans le Tableau de bord pour définir des clés de "
693
- #~ "Google Recaptcha."
694
-
695
- #~ msgid "Bad captcha image!"
696
- #~ msgstr "Mauvaise image de captcha!"
697
-
698
- #~ msgid "No input!"
699
- #~ msgstr "Aucune entrée!"
700
-
701
- #~ msgid "Captcha not completed!"
702
- #~ msgstr "Captcha pas terminée!"
703
-
704
- #~ msgid "Wrong captcha!"
705
- #~ msgstr "Mauvaise captcha!"
706
-
707
- #~ msgid "Error refreshing captcha!"
708
- #~ msgstr "Erreur rafraîchissant captcha!"
709
-
710
- #~ msgid "Unknown captcha error!"
711
- #~ msgstr "Captcha erreur inconnue!"
712
-
713
- #~ msgid "Captcha not supported by your browser!"
714
- #~ msgstr "Captcha n'a pas supporté par votre navigateur!"
715
-
716
- #~ msgid "the secret parameter is missing"
717
- #~ msgstr "le paramètre secret est manquant"
718
-
719
- #~ msgid "the secret parameter is invalid or malformed"
720
- #~ msgstr "le paramètre secret est invalide ou malformé"
721
-
722
- #~ msgid "the response parameter is missing"
723
- #~ msgstr "le paramètre de réponse est manquant"
724
-
725
- #~ msgid "the response parameter is invalid or malformed"
726
- #~ msgstr "le paramètre de réponse est invalide ou malformé"
727
-
728
- #~ msgid "Please do not use drag drop due to an internal problem."
729
- #~ msgstr "Ne pas utiliser un glisser-déposer à cause d'un problème interne."
730
-
731
- #~ msgid "Error during chunked upload. Unique ID empty in chunk %d"
732
- #~ msgstr ""
733
- #~ "Erreur pendant l'envoi de ficher en blocs. Unique ID vide en bloc %d"
734
-
735
- #~ msgid "Chunked upload is not allowed!"
736
- #~ msgstr "Envoi des fichers en blocs n'est pas autorisé!"
737
-
738
- #~ msgid "Chunked upload aborted due to error in previous chunk!"
739
- #~ msgstr ""
740
- #~ "Envoi de ficher en blocs interrompu suite à une erreur dans bloc "
741
- #~ "précédent!"
742
-
743
- #~ msgid "Chunked upload failed, final file could not be created!"
744
- #~ msgstr ""
745
- #~ "Envoi de ficher en blocs échoué, fichier final ne pouvait être créé!"
746
-
747
- #~ msgid "Could not write file chuck to destination on chunk %d"
748
- #~ msgstr "Impossible d'écrire le bloc de fichier a destination sur bloc %d"
749
-
750
- #~ msgid "Could not enlarge destination file on chunk %d"
751
- #~ msgstr "Impossible agrandir fichier de destination sur bloc %d"
752
-
753
- #~ msgid "Could not open file handles on chunk %d"
754
- #~ msgstr "Impossible d'ouvrir le fichier handles sur bloc %d"
755
-
756
- #~ msgid "checking captcha..."
757
- #~ msgstr "vérifier captcha..."
758
-
759
- #~ msgid "refreshing..."
760
- #~ msgstr "rafraîchissant..."
761
-
762
- #~ msgid "correct captcha"
763
- #~ msgstr "exact captcha"
764
-
765
- #~ msgid "click to continue the upload"
766
- #~ msgstr "cliquer pour continuer l'envoi"
767
-
768
- #~ msgid "Clear file list?"
769
- #~ msgstr "Effacer la liste des fichiers?"
770
-
771
- #~ msgid "DROP HERE"
772
- #~ msgstr "DEPOSER ICI"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Wordpress File Upload\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-11-01 20:44+0200\n"
6
+ "PO-Revision-Date: 2015-11-01 20:44+0200\n"
7
+ "Last-Translator: nickboss <nickboss@iptanus.com>\n"
8
+ "Language-Team: \n"
9
+ "Language: fr_FR\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Poedit-KeywordsList: __;gettext;gettext_noop\n"
14
+ "X-Poedit-Basepath: ../\n"
15
+ "X-Generator: Poedit 1.7.5\n"
16
+ "X-Poedit-SearchPath-0: .\n"
17
+ "X-Poedit-SearchPathExcluded-0: vendor\n"
18
+ "X-Poedit-SearchPathExcluded-1: minified\n"
19
+ "X-Poedit-SearchPathExcluded-2: unminified\n"
20
+
21
+ #: lib/wfu_constants.php:7
22
+ msgid "Upload files"
23
+ msgstr "Envoyer des fichiers"
24
+
25
+ #: lib/wfu_constants.php:10
26
+ msgid "Select File/Select Files"
27
+ msgstr "Sélectionner un fichier/Sélectionner des fichiers"
28
+
29
+ #: lib/wfu_constants.php:11
30
+ msgid "Upload File/Upload Files"
31
+ msgstr "Envoyer le fichier/Envoyer les fichiers"
32
+
33
+ #: lib/wfu_constants.php:15
34
+ msgid "Select File"
35
+ msgstr "Sélectionnez un fichier"
36
+
37
+ #: lib/wfu_constants.php:16
38
+ msgid "Upload File"
39
+ msgstr "Envoyer de fichier"
40
+
41
+ #: lib/wfu_constants.php:19
42
+ msgid "File Upload Notification"
43
+ msgstr "Notification d'envoi de fichier"
44
+
45
+ #: lib/wfu_constants.php:20
46
+ msgid ""
47
+ "Dear Recipient,%n%%n% This is an automatic delivery message to notify you "
48
+ "that a new file has been uploaded.%n%%n%Best Regards"
49
+ msgstr ""
50
+ "Cher Destinataire,%n%%n% Ceci est un message envoyé automatiquement pour "
51
+ "vous prevenir qu'un nouveau fichier a été uploadé. %n%%n%Cordialement"
52
+
53
+ #: lib/wfu_constants.php:21
54
+ #, php-format
55
+ msgid "File %filename% uploaded successfully"
56
+ msgstr "Le fichier %filename% a été envoyé avec succès"
57
+
58
+ #: lib/wfu_constants.php:22
59
+ #, php-format
60
+ msgid "File %filename% uploaded successfully but with warnings"
61
+ msgstr ""
62
+ "Le fichier %filename% a été envoyé avec succès, mais avec des avertissements"
63
+
64
+ #: lib/wfu_constants.php:23
65
+ msgid "File %filename% not uploaded"
66
+ msgstr "Le fichier %filename% n'a pas été envoyé"
67
+
68
+ #: lib/wfu_constants.php:24
69
+ msgid "File %filename% is being uploaded"
70
+ msgstr "Le fichier %filename% est en cours d'envoi"
71
+
72
+ #: lib/wfu_constants.php:25
73
+ msgid "Your message"
74
+ msgstr "Votre message"
75
+
76
+ #: lib/wfu_constants.php:26
77
+ msgid "Please fill in the above words: "
78
+ msgstr "Merci de remplir dans les mots ci-dessus:"
79
+
80
+ #: lib/wfu_constants.php:28
81
+ msgid "File"
82
+ msgstr "Fichier"
83
+
84
+ #: lib/wfu_constants.php:29
85
+ msgid "Date"
86
+ msgstr "Date"
87
+
88
+ #: lib/wfu_constants.php:30
89
+ msgid "Size"
90
+ msgstr "Taille"
91
+
92
+ #: lib/wfu_constants.php:31
93
+ msgid "User"
94
+ msgstr "Utilisateur"
95
+
96
+ #: lib/wfu_constants.php:32
97
+ msgid "Page"
98
+ msgstr "Page"
99
+
100
+ #: lib/wfu_constants.php:33
101
+ msgid "User Fields"
102
+ msgstr "Utilisateur Champs"
103
+
104
+ #: lib/wfu_constants.php:34
105
+ msgid "Download"
106
+ msgstr "Télécharger"
107
+
108
+ #: lib/wfu_constants.php:35
109
+ msgid "Download this file"
110
+ msgstr "Télécharger ce fichier"
111
+
112
+ #: lib/wfu_constants.php:36
113
+ msgid "Delete"
114
+ msgstr "Supprimer"
115
+
116
+ #: lib/wfu_constants.php:37
117
+ msgid "Delete this file"
118
+ msgstr "Supprimer ce fichier"
119
+
120
+ #: lib/wfu_constants.php:38
121
+ msgid "Sort list based on this column"
122
+ msgstr "Trier la liste basée sur cette colonne"
123
+
124
+ #: lib/wfu_constants.php:39
125
+ msgid "guest"
126
+ msgstr "visiteur"
127
+
128
+ #: lib/wfu_constants.php:40
129
+ msgid "unknown"
130
+ msgstr "inconnu"
131
+
132
+ #: lib/wfu_constants.php:42
133
+ msgid ""
134
+ "Error. Could not resolve ftp target filedir. Check the domain in 'ftpinfo' "
135
+ "attribute."
136
+ msgstr ""
137
+ "Erreur. Impossible d'atteindre le repertoire ftp de destination. Vérifier le "
138
+ "domaine dans l'attribut 'ftpinfo'."
139
+
140
+ #: lib/wfu_constants.php:43
141
+ msgid "Error. Invalid ftp information. Check 'ftpinfo' attribute."
142
+ msgstr ""
143
+ "Erreur. Les informations de ftp sont invalides. Vérifier le domaine dans "
144
+ "l'attribut 'ftpinfo'."
145
+
146
+ #: lib/wfu_constants.php:44
147
+ msgid ""
148
+ "Error. Could not extract ftp information from 'ftpinfo' attribute. Check its "
149
+ "syntax."
150
+ msgstr ""
151
+ "Erreur. Impossible d'obtenir les informations dans l'attribut 'ftpinfo'. "
152
+ "Vérifez sa syntax."
153
+
154
+ #: lib/wfu_constants.php:45
155
+ msgid ""
156
+ "Error. Could not resolve ftp target filename. Check the domain in 'ftpinfo' "
157
+ "attribute."
158
+ msgstr ""
159
+ "Erreur. Impossible de résoudre le nom de fichier de destination ftp. "
160
+ "Vérifiez le domaine dans l'attribut 'ftpinfo'."
161
+
162
+ #: lib/wfu_constants.php:46
163
+ msgid ""
164
+ "Error. The upload size limit of PHP directive upload_max_filesize is "
165
+ "preventing the upload of big files.\n"
166
+ "PHP directive upload_max_filesize limit is: "
167
+ msgstr ""
168
+ "Erreur. La directive PHP de taille limite d'envoi de fichier "
169
+ "upload_max_filesize, empêche l'envoi de gros fichier.\n"
170
+ "La limite de la directive PHP upload_max_filesize est de :"
171
+
172
+ #: lib/wfu_constants.php:47
173
+ msgid ""
174
+ "The upload time limit of PHP directive max_input_time is preventing the "
175
+ "upload of big files.\n"
176
+ "PHP directive max_input_time limit is: "
177
+ msgstr ""
178
+ "La limite de temps d'envoi de la directive PHP max_input_time, empêche "
179
+ "l'envoi de gros fichier.\n"
180
+ "La limite de la directive PHP max_input_time est de :"
181
+
182
+ #: lib/wfu_constants.php:48
183
+ msgid ""
184
+ "Error. Permission denied to write to target folder.\n"
185
+ "Check and correct read/write permissions of target folder."
186
+ msgstr ""
187
+ "Erreur. La premission d'écrire dans le repertoire de destination.\n"
188
+ "Vérifiez et corrigez les permission en lecture/ecriture du repertoire de "
189
+ "destination."
190
+
191
+ #: lib/wfu_constants.php:49
192
+ msgid "Targer folder doesn't exist."
193
+ msgstr "Le répertoire de destination n'existe pas."
194
+
195
+ #: lib/wfu_constants.php:50
196
+ msgid "Upload failed! Missing a temporary folder."
197
+ msgstr "Envoi impossible! Il manque un répertoire temporaire."
198
+
199
+ #: lib/wfu_constants.php:51
200
+ msgid "Upload failed! Permission denied to write to target folder."
201
+ msgstr ""
202
+ "Envoi impossible! Permission refusée dans le répertoire de destination."
203
+
204
+ #: lib/wfu_constants.php:52
205
+ msgid "File not allowed."
206
+ msgstr "Type de fichier non autorisé."
207
+
208
+ #: lib/wfu_constants.php:53
209
+ msgid "The uploaded file exceeds the file size limit."
210
+ msgstr "La taille du fichier est supérieure à la taille limite."
211
+
212
+ #: lib/wfu_constants.php:54
213
+ msgid "The uploaded file exceeds 2GB and is not supported by this server."
214
+ msgstr ""
215
+ "Le fichier téléchargé excède 2 Go et ne sont pas pris en charge par ce "
216
+ "serveur."
217
+
218
+ #: lib/wfu_constants.php:55
219
+ msgid ""
220
+ "Upload failed! The uploaded file exceeds the file size limit of the server. "
221
+ "Please contact the administrator."
222
+ msgstr ""
223
+ "Envoi impossible! La taille du fichier excède la taille limite du serveur. "
224
+ "Merci de contacter l'administrateur."
225
+
226
+ #: lib/wfu_constants.php:56
227
+ msgid ""
228
+ "Upload failed! The duration of the upload exceeded the time limit of the "
229
+ "server. Please contact the administrator."
230
+ msgstr ""
231
+ "Envoi impossible! La durée maximum d'envoi sur le serveur excède la durée "
232
+ "limite du serveur. Merci de contacter l'administrateur."
233
+
234
+ #: lib/wfu_constants.php:57
235
+ msgid ""
236
+ "Upload failed! The uploaded file exceeds the MAX_FILE_SIZE directive that "
237
+ "was specified in the HTML form."
238
+ msgstr ""
239
+ "Envoi impossible! La taille du fichier excède la directive MAX_FILE_SIZE "
240
+ "spécifiée dans le formulaire HTML."
241
+
242
+ #: lib/wfu_constants.php:58
243
+ msgid "Upload failed! The uploaded file was only partially uploaded."
244
+ msgstr "Envoi impossible! Le fichier à été partiellement envoyé."
245
+
246
+ #: lib/wfu_constants.php:59
247
+ msgid "Upload failed! No file was uploaded."
248
+ msgstr "Envoi impossible! Le fichier n'a pas été envoyé."
249
+
250
+ #: lib/wfu_constants.php:60
251
+ msgid "Upload failed! Failed to write file to disk."
252
+ msgstr "Envoi impossible! Impossible d'écrire sur le fichier sur le disque."
253
+
254
+ #: lib/wfu_constants.php:61
255
+ msgid ""
256
+ "Upload failed! Error occured while moving temporary file. Please contact "
257
+ "administrator."
258
+ msgstr ""
259
+ "Envoi impossible! Une erreur est survenue lors du déplacement du fichier "
260
+ "temporaire. merci de contacter l'administrateur."
261
+
262
+ #: lib/wfu_constants.php:62
263
+ msgid ""
264
+ "Upload failed! A PHP extension stopped the file upload. PHP does not provide "
265
+ "a way to ascertain which extension caused the file upload to stop; examining "
266
+ "the list of loaded extensions with phpinfo() may help."
267
+ msgstr ""
268
+ "Envoi impossible! Une extension PHP a arrété l'envoi du fichier. PHP ne peut "
269
+ "pas fournir avec certitude quelle extension est en cause; examiner la liste "
270
+ "des extensions chargées avec phpinfo() peut être nécessaire."
271
+
272
+ #: lib/wfu_constants.php:63
273
+ msgid "Upload failed! Error occured while attemting to upload the file."
274
+ msgstr ""
275
+ "Envoi impossible! Une erreur est survenue pendant la tentative d'envoi du "
276
+ "fichier."
277
+
278
+ #: lib/wfu_constants.php:64
279
+ msgid "Upload failed!"
280
+ msgstr "Envoi impossible!"
281
+
282
+ #: lib/wfu_constants.php:65
283
+ msgid "No file!"
284
+ msgstr "Pas de fichier!"
285
+
286
+ #: lib/wfu_constants.php:66
287
+ msgid ""
288
+ "Upload failed! The upload has been canceled by the user or the browser "
289
+ "dropped the connection."
290
+ msgstr ""
291
+ "Envoi impossible! L'envoi a été annulé par l'utilisateur ou le navigateur à "
292
+ "cassé la connexion."
293
+
294
+ #: lib/wfu_constants.php:67
295
+ msgid "Upload failed! Unknown error."
296
+ msgstr "Envoi impossible! Erreur inconnue."
297
+
298
+ #: lib/wfu_constants.php:68
299
+ msgid "Please contact the administrator."
300
+ msgstr "Merci de contacter l'administrateur."
301
+
302
+ #: lib/wfu_constants.php:69
303
+ msgid "No result from remote server!"
304
+ msgstr "Pas de résultat du serveur distant!"
305
+
306
+ #: lib/wfu_constants.php:70
307
+ msgid " but with warnings"
308
+ msgstr "mais avec des avertissements"
309
+
310
+ #: lib/wfu_constants.php:71 lib/wfu_constants.php:73
311
+ msgid "Warning: JSON parse error."
312
+ msgstr "Attention: Erreur d'analyse JSON"
313
+
314
+ #: lib/wfu_constants.php:72
315
+ msgid ""
316
+ "Upload parameters of this file, passed as JSON string to the handler, could "
317
+ "not be parsed."
318
+ msgstr ""
319
+ "Les paramètres d'envoi de ce fichier, passés en tant que chaine JSON, ne "
320
+ "peuvent pas être analysés."
321
+
322
+ #: lib/wfu_constants.php:74
323
+ msgid ""
324
+ "UploadStates, passed as JSON string to the handler, could not be parsed."
325
+ msgstr "UploadStates, passé en tant que chaine JSON, ne peut pas être analysé."
326
+
327
+ #: lib/wfu_constants.php:75
328
+ msgid ""
329
+ "Redirection to classic form functionality occurred due to unknown error."
330
+ msgstr ""
331
+ "La redirection vers la fonctionalité classique des formulaire s'est produit "
332
+ cause d'une erreur inconue."
333
+
334
+ #: lib/wfu_constants.php:76
335
+ msgid ""
336
+ "Redirection to classic form functionality occurred because AJAX is not "
337
+ "supported."
338
+ msgstr ""
339
+ "La redirection vers la fonctionalité classique des formulaire s'est produit "
340
+ "car AJAX n'est pas supporté."
341
+
342
+ #: lib/wfu_constants.php:77
343
+ msgid ""
344
+ "Redirection to classic form functionality occurred because HTML5 is not "
345
+ "supported."
346
+ msgstr ""
347
+ "La redirection vers la fonctionalité classique des formulaire s'est produit "
348
+ "car HTML5 n'est pas supporté."
349
+
350
+ #: lib/wfu_constants.php:78
351
+ msgid ""
352
+ "Redirection to classic form functionality occurred due to JSON parse error."
353
+ msgstr ""
354
+ "La redirection vers la fonctionalité classique des formulaire s'est produit "
355
+ "à cause d'une erreur d'analyse JSON."
356
+
357
+ #: lib/wfu_constants.php:79
358
+ msgid "Please enable popup windows from the browser's settings!"
359
+ msgstr ""
360
+ "Veuillez activer les fenêtres contextuelles des paramètres du navigateur !"
361
+
362
+ #: lib/wfu_constants.php:80
363
+ msgid "cannot be empty!"
364
+ msgstr "ne peut pas être vide!"
365
+
366
+ #: lib/wfu_constants.php:81
367
+ msgid "number not valid!"
368
+ msgstr "nombre non valide!"
369
+
370
+ #: lib/wfu_constants.php:82
371
+ msgid "email not valid!"
372
+ msgstr "email n'est pas valable"
373
+
374
+ #: lib/wfu_constants.php:83
375
+ msgid "emails do not match!"
376
+ msgstr "emails ne correspondent pas!"
377
+
378
+ #: lib/wfu_constants.php:84
379
+ msgid "no base email field in group!"
380
+ msgstr "aucun champ de base email en groupe!"
381
+
382
+ #: lib/wfu_constants.php:85
383
+ msgid "passwords do not match!"
384
+ msgstr "mots de passe ne correspondent pas!"
385
+
386
+ #: lib/wfu_constants.php:86
387
+ msgid "no base password field in group!"
388
+ msgstr "aucun champ de base de mot de passe dans le groupe!"
389
+
390
+ #: lib/wfu_constants.php:87
391
+ msgid "checkbox unchecked!"
392
+ msgstr "case à cocher désactivée!"
393
+
394
+ #: lib/wfu_constants.php:88
395
+ msgid "no option selected!"
396
+ msgstr "aucune option sélectionnée!"
397
+
398
+ #: lib/wfu_constants.php:89
399
+ msgid "no item selected!"
400
+ msgstr "Aucun article sélectionné!"
401
+
402
+ #: lib/wfu_constants.php:90
403
+ msgid ""
404
+ "There are more than one instances of the plugin in this page with the same "
405
+ "id. Please change it."
406
+ msgstr ""
407
+ "Il ya plus d'un cas de le plugin dans cette page avec le même id. S'il vous "
408
+ "plaît changer."
409
+
410
+ #: lib/wfu_constants.php:91
411
+ msgid ""
412
+ "Cannot edit the shortcode because the page has been modified. Please reload "
413
+ "the page."
414
+ msgstr ""
415
+ "Impossible de modifier le shortcode car la page a été modifiée. Veuillez "
416
+ "recharger la page."
417
+
418
+ #: lib/wfu_constants.php:92
419
+ msgid ""
420
+ "ERROR: Captcha not supported! You have an old PHP version. Upgrade your PHP "
421
+ "or use RecaptchaV2 (no account)."
422
+ msgstr ""
423
+ "Erreur: Captcha pas pris en charge! Vous avez une ancienne version de PHP. "
424
+ "Améliorez votre PHP ou utiliser RecaptchaV2 (no account)."
425
+
426
+ #: lib/wfu_constants.php:93
427
+ msgid "ERROR: No site key. Please contact administrator!"
428
+ msgstr ""
429
+ "Erreur: Aucune clé du site. S'il vous plaît contacter l'administrateur!"
430
+
431
+ #: lib/wfu_constants.php:94
432
+ msgid ""
433
+ "ERROR: No site key defined! Please go to the plugin settings in Dashboard to "
434
+ "define Google Recaptcha keys."
435
+ msgstr ""
436
+ "ERREUR : Aucun site clé définie ! S'il vous plaît aller à la configuration "
437
+ "du plugin dans le Tableau de bord pour définir des clés de Google Recaptcha."
438
+
439
+ #: lib/wfu_constants.php:95
440
+ msgid "Bad captcha image!"
441
+ msgstr "Mauvaise image de captcha!"
442
+
443
+ #: lib/wfu_constants.php:96
444
+ msgid "No input!"
445
+ msgstr "Aucune entrée!"
446
+
447
+ #: lib/wfu_constants.php:97
448
+ msgid "Captcha not completed!"
449
+ msgstr "Captcha pas terminée!"
450
+
451
+ #: lib/wfu_constants.php:98
452
+ msgid "Wrong captcha!"
453
+ msgstr "Mauvaise captcha!"
454
+
455
+ #: lib/wfu_constants.php:99
456
+ msgid "Error refreshing captcha!"
457
+ msgstr "Erreur rafraîchissant captcha!"
458
+
459
+ #: lib/wfu_constants.php:100
460
+ msgid "Unknown captcha error!"
461
+ msgstr "Captcha erreur inconnue!"
462
+
463
+ #: lib/wfu_constants.php:101
464
+ msgid "Captcha not supported by your browser!"
465
+ msgstr "Captcha n'a pas supporté par votre navigateur!"
466
+
467
+ #: lib/wfu_constants.php:102
468
+ msgid "the secret parameter is missing"
469
+ msgstr "le paramètre secret est manquant"
470
+
471
+ #: lib/wfu_constants.php:103
472
+ msgid "the secret parameter is invalid or malformed"
473
+ msgstr "le paramètre secret est invalide ou malformé"
474
+
475
+ #: lib/wfu_constants.php:104
476
+ msgid "the response parameter is missing"
477
+ msgstr "le paramètre de réponse est manquant"
478
+
479
+ #: lib/wfu_constants.php:105
480
+ msgid "the response parameter is invalid or malformed"
481
+ msgstr "le paramètre de réponse est invalide ou malformé"
482
+
483
+ #: lib/wfu_constants.php:106
484
+ msgid "Please do not use drag drop due to an internal problem."
485
+ msgstr "Ne pas utiliser un glisser-déposer à cause d'un problème interne."
486
+
487
+ #: lib/wfu_constants.php:107
488
+ #, php-format
489
+ msgid "Error during chunked upload. Unique ID empty in chunk %d"
490
+ msgstr "Erreur pendant l'envoi de ficher en blocs. Unique ID vide en bloc %d"
491
+
492
+ #: lib/wfu_constants.php:108
493
+ msgid "Chunked upload is not allowed!"
494
+ msgstr "Envoi des fichers en blocs n'est pas autorisé!"
495
+
496
+ #: lib/wfu_constants.php:109
497
+ msgid "Chunked upload aborted due to error in previous chunk!"
498
+ msgstr ""
499
+ "Envoi de ficher en blocs interrompu suite à une erreur dans bloc précédent!"
500
+
501
+ #: lib/wfu_constants.php:110
502
+ msgid "Chunked upload failed, final file could not be created!"
503
+ msgstr "Envoi de ficher en blocs échoué, fichier final ne pouvait être créé!"
504
+
505
+ #: lib/wfu_constants.php:111
506
+ #, php-format
507
+ msgid "Could not write file chuck to destination on chunk %d"
508
+ msgstr "Impossible d'écrire le bloc de fichier a destination sur bloc %d"
509
+
510
+ #: lib/wfu_constants.php:112
511
+ #, php-format
512
+ msgid "Could not enlarge destination file on chunk %d"
513
+ msgstr "Impossible agrandir fichier de destination sur bloc %d"
514
+
515
+ #: lib/wfu_constants.php:113
516
+ #, php-format
517
+ msgid "Could not open file handles on chunk %d"
518
+ msgstr "Impossible d'ouvrir le fichier handles sur bloc %d"
519
+
520
+ #: lib/wfu_constants.php:114
521
+ msgid "You are not allowed to delete this file!"
522
+ msgstr "Vous n' êtes pas autorisé à supprimer ce fichier!"
523
+
524
+ #: lib/wfu_constants.php:116
525
+ msgid "Upload skipped! File already exists."
526
+ msgstr "Envoi passé! Le fichier existe déjà."
527
+
528
+ #: lib/wfu_constants.php:117
529
+ msgid "No files have been selected!"
530
+ msgstr "Aucun fichier n'a été envoyés!"
531
+
532
+ #: lib/wfu_constants.php:118
533
+ msgid "WPFilebase Plugin not updated because there were no files uploaded."
534
+ msgstr ""
535
+ "WPFilebase Plugin n'a pas été mis à jour car il n'y a pas de fichiers à "
536
+ "envoyer."
537
+
538
+ #: lib/wfu_constants.php:119
539
+ msgid "Notification email was not sent because there were no files uploaded."
540
+ msgstr ""
541
+ "Le mail de notification n'a pas été envoyé car il n'y a pas de fichiers à "
542
+ "envoyer."
543
+
544
+ #: lib/wfu_constants.php:120
545
+ msgid ""
546
+ "Notification email was not sent because no recipients were defined. Please "
547
+ "check notifyrecipients attribute in the shortcode."
548
+ msgstr ""
549
+ "Le mail de notification n'a pas été envoyé car il n'y a pas de destinataire. "
550
+ "Merci de vérifier l'attribut notifyrecipients dans le shortcode."
551
+
552
+ #: lib/wfu_constants.php:121
553
+ msgid ""
554
+ "Notification email was not sent due to an error. Please check "
555
+ "notifyrecipients, notifysubject and notifymessage attributes for errors."
556
+ msgstr ""
557
+ "Le mail de notification n'a pas été envoyé car il n'y a une erreur. Merci de "
558
+ "vérifier les attributs notifyrecipients, notifysubject et notifymessage."
559
+
560
+ #: lib/wfu_constants.php:122
561
+ msgid ""
562
+ "Redirection not executed because redirection link is empty. Please check "
563
+ "redirectlink attribute."
564
+ msgstr ""
565
+ "La redirection n'a pas été effectuée car le lien de redirection est vide. "
566
+ "Merci de vérifier l'attribut redirectlink."
567
+
568
+ #: lib/wfu_constants.php:123
569
+ msgid ""
570
+ "Redirection not executed because not all files were successfully uploaded."
571
+ msgstr ""
572
+ "La redirection n'est pas éxécuté car tous les fichiers n'ont pas été envoyés."
573
+
574
+ #: lib/wfu_constants.php:125
575
+ msgid ""
576
+ "Failed to add the shortcode to the page/post. Please try again. If the "
577
+ "message persists, contact administrator."
578
+ msgstr ""
579
+ "Impossible d' ajouter le shortcode à la page / poste. S' il vous plaît "
580
+ "essayer à nouveau. Si le message persiste, contactez l' administrateur."
581
+
582
+ #: lib/wfu_constants.php:126
583
+ msgid ""
584
+ "Failed to edit the shortcode because the contents of the page changed. Try "
585
+ "again to edit the shortcode."
586
+ msgstr ""
587
+ "Impossible de modifier le shortcode parce que le contenu de la page changé. "
588
+ "Essayez à nouveau de modifier le shortcode."
589
+
590
+ #: lib/wfu_constants.php:127
591
+ msgid ""
592
+ "Failed to delete the shortcode because the contents of the page changed. Try "
593
+ "again to delete it."
594
+ msgstr ""
595
+ "Impossible de supprimer le shortcode parce que le contenu de la page changé. "
596
+ "Essayez à nouveau de le supprimer."
597
+
598
+ #: lib/wfu_constants.php:128
599
+ msgid ""
600
+ "The page containing the shortcode has been modified and it is no longer "
601
+ "valid. Please go back to reload the shortcode."
602
+ msgstr ""
603
+ "La page contenant le shortcode a été modifié et il est plus valide. S'il "
604
+ "vous plaît revenir à recharger le shortcode."
605
+
606
+ #: lib/wfu_constants.php:129
607
+ msgid ""
608
+ "Failed to update the shortcode because the contents of the page changed. Go "
609
+ "back to reload the shortcode."
610
+ msgstr ""
611
+ "Impossible de mettre à jour le shortcode parce que le contenu de la page "
612
+ "changé. Retour à recharger le shortcode."
613
+
614
+ #: lib/wfu_constants.php:130
615
+ msgid ""
616
+ "Failed to update the shortcode. Please try again. If the problem persists, "
617
+ "go back and reload the shortcode."
618
+ msgstr ""
619
+ "Impossible de mettre à jour le shortcode. S'il vous plaît essayer à nouveau. "
620
+ "Si le problème persiste, revenir en arrière et recharger le shortcode."
621
+
622
+ #: lib/wfu_constants.php:132
623
+ msgid "This is a test message"
624
+ msgstr "Ceci est un message de test"
625
+
626
+ #: lib/wfu_constants.php:133
627
+ msgid "This is a test administrator message"
628
+ msgstr "Ceci est un message administrateur de test"
629
+
630
+ #: lib/wfu_constants.php:134
631
+ msgid "File testfile 1 under test"
632
+ msgstr "File testfile 1 under test"
633
+
634
+ #: lib/wfu_constants.php:135
635
+ msgid "File testfile 1 message"
636
+ msgstr "File testfile 1 message"
637
+
638
+ #: lib/wfu_constants.php:136
639
+ msgid "File testfile 1 administrator message"
640
+ msgstr "Message administrateur File testfile"
641
+
642
+ #: lib/wfu_constants.php:137
643
+ msgid "File testfile 2 under test"
644
+ msgstr "En test File testfile"
645
+
646
+ #: lib/wfu_constants.php:138
647
+ msgid "File testfile 2 message"
648
+ msgstr "Message File testfile 2"
649
+
650
+ #: lib/wfu_constants.php:139
651
+ msgid "File testfile 2 administrator message"
652
+ msgstr "Message administrateur File testfile 2"
653
+
654
+ #: lib/wfu_constants.php:141
655
+ msgid ""
656
+ "Insert variable %userid% inside text. It will be replaced by the id of the "
657
+ "current user."
658
+ msgstr ""
659
+ "Insérez %userid% variable dans le texte. Il sera remplacé par l'id de "
660
+ "l'utilisateur courant."
661
+
662
+ #: lib/wfu_constants.php:142
663
+ msgid ""
664
+ "Insert variable %username% inside text. It will be replaced by the username "
665
+ "of the current user."
666
+ msgstr ""
667
+ "Insérez la variable %username% dans le texte. Il sera remplacé par le "
668
+ "username de l'utilisateur courant."
669
+
670
+ #: lib/wfu_constants.php:143
671
+ msgid ""
672
+ "Insert variable %useremail% inside text. It will be replaced by the email of "
673
+ "the current user."
674
+ msgstr ""
675
+ "Insérez la variable %useremail% dans le texte. Il sera remplacé par l'email "
676
+ "de l'utilisateur courant."
677
+
678
+ #: lib/wfu_constants.php:144
679
+ msgid ""
680
+ "Insert variable %filename% inside text. It will be replaced by the filename "
681
+ "of the uploaded file."
682
+ msgstr ""
683
+ "Insérez la variable %filename% dans le texte. Il sera remplacé par le nom du "
684
+ "fichier à envoyer."
685
+
686
+ #: lib/wfu_constants.php:145
687
+ msgid ""
688
+ "Insert variable %filepath% inside text. It will be replaced by the full "
689
+ "filepath of the uploaded file."
690
+ msgstr ""
691
+ "Insérez la variable %filepath% dans le texte. Il sera remplacé par le chemin "
692
+ "complet du fichier envoyé."
693
+
694
+ #: lib/wfu_constants.php:146
695
+ msgid ""
696
+ "Insert variable %blogid% inside text. It will be replaced by the blog id of "
697
+ "the website."
698
+ msgstr ""
699
+ "Insérez la variable %blogid% dans le texte. Il sera remplacé par l'id du "
700
+ "blog du site web."
701
+
702
+ #: lib/wfu_constants.php:147
703
+ msgid ""
704
+ "Insert variable %pageid% inside text. It will be replaced by the id of the "
705
+ "current page."
706
+ msgstr ""
707
+ "Insérez %pageid% variable dans le texte. Il sera remplacé par l'id de la "
708
+ "page en cours."
709
+
710
+ #: lib/wfu_constants.php:148
711
+ msgid ""
712
+ "Insert variable %pagetitle% inside text. It will be replaced by the title of "
713
+ "the current page."
714
+ msgstr ""
715
+ "Insérez %pagetitle% variable dans le texte. Il sera remplacé par le titre de "
716
+ "la page courante."
717
+
718
+ #: lib/wfu_constants.php:149
719
+ msgid ""
720
+ "Insert variable %userdataXXX% inside text. Select the user field from the "
721
+ "drop-down list. It will be replaced by the value that the user entered in "
722
+ "this field."
723
+ msgstr ""
724
+ "Insérez la variable %userdataXXX% dans le texte. Sélectionnez le champ de "
725
+ "l'utilisateur dans la liste déroulante. Il sera remplacé par la valeur que "
726
+ "l'utilisateur aura entré dans ce champs."
727
+
728
+ #: lib/wfu_constants.php:150
729
+ msgid "Insert variable %n% inside text to denote a line change."
730
+ msgstr ""
731
+ "Insérez la variable %n% à l'intérieur du texte pour indiquer un changement "
732
+ "de ligne."
733
+
734
+ #: lib/wfu_constants.php:152
735
+ msgid "Test Mode"
736
+ msgstr "Mode de test"
737
+
738
+ #: lib/wfu_constants.php:153
739
+ msgid "select dir..."
740
+ msgstr "sélectionnez dir"
741
+
742
+ #: lib/wfu_constants.php:154
743
+ msgid "type dir"
744
+ msgstr "tapez dir"
745
+
746
+ #: lib/wfu_constants.php:155
747
+ msgid "Upload path: %filepath%"
748
+ msgstr "Chemin d'Upload : %filepath%"
749
+
750
+ #: lib/wfu_constants.php:156
751
+ msgid "Failed upload path: %filepath%"
752
+ msgstr "Mauvais répertoir d'envoi: %filepath%"
753
+
754
+ #: lib/wfu_constants.php:157
755
+ msgid " (required)"
756
+ msgstr " (requis)"
757
+
758
+ #: lib/wfu_constants.php:158
759
+ msgid "Files are being uploaded. Are you sure you want to exit the page?"
760
+ msgstr "Les fichiers sont envoyés. Êtes-vous sûr de vouloir quitter la page?"
761
+
762
+ #: lib/wfu_constants.php:159
763
+ msgid "checking captcha..."
764
+ msgstr "vérifier captcha..."
765
+
766
+ #: lib/wfu_constants.php:160
767
+ msgid "refreshing..."
768
+ msgstr "rafraîchissant..."
769
+
770
+ #: lib/wfu_constants.php:161
771
+ msgid "correct captcha"
772
+ msgstr "exact captcha"
773
+
774
+ #: lib/wfu_constants.php:162
775
+ msgid "click to continue the upload"
776
+ msgstr "cliquer pour continuer l'envoi"
777
+
778
+ #: lib/wfu_constants.php:163
779
+ msgid "Are you sure you want to delete this file?"
780
+ msgstr "Êtes-vous sûr de vouloir supprimer ce fichier?"
781
+
782
+ #: lib/wfu_constants.php:164
783
+ msgid "Upload in progress"
784
+ msgstr "Envoi en cours"
785
+
786
+ #: lib/wfu_constants.php:165
787
+ msgid "Upload in progress with warnings!"
788
+ msgstr "Envoi en cours mais avec des avertissements!"
789
+
790
+ #: lib/wfu_constants.php:166
791
+ msgid "Upload in progress but some files already failed!"
792
+ msgstr "Envoi en cours mais certains fichiers ont échoués!"
793
+
794
+ #: lib/wfu_constants.php:167
795
+ msgid "Upload in progress but no files uploaded so far!"
796
+ msgstr "Envoi en cours mais aucun fichiers n'a été envoyé pour le moment!"
797
+
798
+ #: lib/wfu_constants.php:168
799
+ msgid "All files uploaded successfully"
800
+ msgstr "Tous les fichiers ont été envoyés avec succès"
801
+
802
+ #: lib/wfu_constants.php:169
803
+ msgid "All files uploaded successfully but there are warnings!"
804
+ msgstr ""
805
+ "Tous les fichiers ont été envoyer avec succès mais avec des avertissements!"
806
+
807
+ #: lib/wfu_constants.php:170
808
+ msgid "File uploaded successfully but there are warnings!"
809
+ msgstr "Fichiers envoyés avec succès mais certain avec un avertissement."
810
+
811
+ #: lib/wfu_constants.php:171
812
+ msgid "Some files failed to upload!"
813
+ msgstr "Certains fichiers n'ont pas été envoyé"
814
+
815
+ #: lib/wfu_constants.php:172
816
+ msgid "All files failed to upload"
817
+ msgstr "Impossible d'envoyer les fichiers"
818
+
819
+ #: lib/wfu_constants.php:173
820
+ msgid "File failed to upload"
821
+ msgstr "Impossible d'envoyer le fichier"
822
+
823
+ #: lib/wfu_constants.php:174
824
+ msgid "There are no files to upload!"
825
+ msgstr "Il n'y a pas de fichiers à envoyer"
826
+
827
+ #: lib/wfu_constants.php:175
828
+ msgid "Test upload message"
829
+ msgstr "Message de test d'upload"
830
+
831
+ #: lib/wfu_constants.php:176
832
+ msgid "JSON parse warning!"
833
+ msgstr "Avertisements d'analyse JSON."
834
+
835
+ #: lib/wfu_constants.php:177
836
+ msgid "please wait while redirecting..."
837
+ msgstr "merci de patienter pendans la redirection..."
838
+
839
+ #: lib/wfu_constants.php:178
840
+ msgid "Open visual shortcode editor in new window"
841
+ msgstr "Ouvrez l'éditeur de shortcode visuelle dans une nouvelle fenêtre"
842
+
843
+ #: lib/wfu_constants.php:179
844
+ msgid "loading visual editor"
845
+ msgstr "chargement éditeur visuel"
846
+
847
+ #: lib/wfu_constants.php:180
848
+ msgid "Clear file list?"
849
+ msgstr "Effacer la liste des fichiers?"
850
+
851
+ #: lib/wfu_constants.php:181
852
+ msgid "DROP HERE"
853
+ msgstr "DEPOSER ICI"
854
+
855
+ #: lib/wfu_constants.php:183
856
+ msgid "Wordpress File Upload Form"
857
+ msgstr "Wordpress File Upload Form"
858
+
859
+ #: lib/wfu_constants.php:184
860
+ msgid "Wordpress File Upload plugin uploader for sidebars"
861
+ msgstr "Wordpress File Upload extension uploader pour colonnes"
862
+
863
+ #: lib/wfu_constants.php:185
864
+ msgid "Upload Files"
865
+ msgstr "Envoyer des fichiers"
866
+
867
+ #~ msgid "New title"
868
+ #~ msgstr "Nouveau titre"
languages/wp-file-upload-pl_PL.mo ADDED
Binary file
languages/wp-file-upload-pl_PL.po ADDED
@@ -0,0 +1,847 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Wordpress File Upload\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-11-01 20:49+0200\n"
6
+ "PO-Revision-Date: 2015-11-01 20:52+0200\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: Iptanus Team <info@iptanus.com>\n"
9
+ "Language: pl_PL\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Poedit-KeywordsList: __;gettext;gettext_noop\n"
14
+ "X-Poedit-Basepath: ../\n"
15
+ "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
16
+ "|| n%100>=20) ? 1 : 2);\n"
17
+ "X-Generator: Poedit 1.7.5\n"
18
+ "X-Poedit-SearchPath-0: .\n"
19
+ "X-Poedit-SearchPathExcluded-0: vendor\n"
20
+ "X-Poedit-SearchPathExcluded-1: minified\n"
21
+ "X-Poedit-SearchPathExcluded-2: unminified\n"
22
+
23
+ #: lib/wfu_constants.php:7
24
+ msgid "Upload files"
25
+ msgstr "Prześlij pliki"
26
+
27
+ #: lib/wfu_constants.php:10
28
+ msgid "Select File/Select Files"
29
+ msgstr "Wybierz plik/Wybierz Pliki"
30
+
31
+ #: lib/wfu_constants.php:11
32
+ msgid "Upload File/Upload Files"
33
+ msgstr "Prześlij plik/Prześlij pliki"
34
+
35
+ #: lib/wfu_constants.php:15
36
+ msgid "Select File"
37
+ msgstr "Wybierz plik"
38
+
39
+ #: lib/wfu_constants.php:16
40
+ msgid "Upload File"
41
+ msgstr "Prześlij plik"
42
+
43
+ #: lib/wfu_constants.php:19
44
+ msgid "File Upload Notification"
45
+ msgstr "Powiadomienie o Wysyłaniu plików"
46
+
47
+ #: lib/wfu_constants.php:20
48
+ msgid ""
49
+ "Dear Recipient,%n%%n% This is an automatic delivery message to notify you "
50
+ "that a new file has been uploaded.%n%%n%Best Regards"
51
+ msgstr ""
52
+ "Szanowni użytkownicy, %n %% n % to jest wiadomość automatyczna. Nowy plik "
53
+ "został wysłany.%n%%n%Best Pozdrawiamy"
54
+
55
+ #: lib/wfu_constants.php:21
56
+ #, php-format
57
+ msgid "File %filename% uploaded successfully"
58
+ msgstr "WYSŁANO!!! DZIĘKUJEMY SERDECZNIE I ŻYCZYMY MIŁEGO DNIA."
59
+
60
+ #: lib/wfu_constants.php:22
61
+ #, php-format
62
+ msgid "File %filename% uploaded successfully but with warnings"
63
+ msgstr "WYSŁANO!!! DZIĘKUJEMY SERDECZNIE I ŻYCZYMY MIŁEGO DNIA."
64
+
65
+ #: lib/wfu_constants.php:23
66
+ msgid "File %filename% not uploaded"
67
+ msgstr "Plik % NIE WYSŁANY"
68
+
69
+ #: lib/wfu_constants.php:24
70
+ msgid "File %filename% is being uploaded"
71
+ msgstr ""
72
+
73
+ #: lib/wfu_constants.php:25
74
+ msgid "Your message"
75
+ msgstr "Treść wiadomości"
76
+
77
+ #: lib/wfu_constants.php:26
78
+ msgid "Please fill in the above words: "
79
+ msgstr ""
80
+
81
+ #: lib/wfu_constants.php:28
82
+ msgid "File"
83
+ msgstr "Plik"
84
+
85
+ #: lib/wfu_constants.php:29
86
+ msgid "Date"
87
+ msgstr "Data"
88
+
89
+ #: lib/wfu_constants.php:30
90
+ msgid "Size"
91
+ msgstr "Rozmiar"
92
+
93
+ #: lib/wfu_constants.php:31
94
+ msgid "User"
95
+ msgstr "Użytkownik"
96
+
97
+ #: lib/wfu_constants.php:32
98
+ msgid "Page"
99
+ msgstr "Strona"
100
+
101
+ #: lib/wfu_constants.php:33
102
+ msgid "User Fields"
103
+ msgstr ""
104
+
105
+ #: lib/wfu_constants.php:34
106
+ msgid "Download"
107
+ msgstr ""
108
+
109
+ #: lib/wfu_constants.php:35
110
+ msgid "Download this file"
111
+ msgstr ""
112
+
113
+ #: lib/wfu_constants.php:36
114
+ msgid "Delete"
115
+ msgstr ""
116
+
117
+ #: lib/wfu_constants.php:37
118
+ msgid "Delete this file"
119
+ msgstr ""
120
+
121
+ #: lib/wfu_constants.php:38
122
+ msgid "Sort list based on this column"
123
+ msgstr ""
124
+
125
+ #: lib/wfu_constants.php:39
126
+ msgid "guest"
127
+ msgstr ""
128
+
129
+ #: lib/wfu_constants.php:40
130
+ msgid "unknown"
131
+ msgstr ""
132
+
133
+ #: lib/wfu_constants.php:42
134
+ msgid ""
135
+ "Error. Could not resolve ftp target filedir. Check the domain in 'ftpinfo' "
136
+ "attribute."
137
+ msgstr ""
138
+ "Błąd. Nie można rozpoznać ftp cel filedir. Sprawdzanie domeny atrybutu "
139
+ "'ftpinfo'."
140
+
141
+ #: lib/wfu_constants.php:43
142
+ msgid "Error. Invalid ftp information. Check 'ftpinfo' attribute."
143
+ msgstr "Błąd. Informacje nieprawidłowe ftp. Sprawdź atrybut \"ftpinfo\"."
144
+
145
+ #: lib/wfu_constants.php:44
146
+ msgid ""
147
+ "Error. Could not extract ftp information from 'ftpinfo' attribute. Check its "
148
+ "syntax."
149
+ msgstr ""
150
+ "Błąd. Nie można wyodrębnić informacje ftp z atrybutu 'ftpinfo'. Sprawdzanie "
151
+ "składni."
152
+
153
+ #: lib/wfu_constants.php:45
154
+ msgid ""
155
+ "Error. Could not resolve ftp target filename. Check the domain in 'ftpinfo' "
156
+ "attribute."
157
+ msgstr ""
158
+ "Błąd. Nie można rozpoznać ftp pliku miejsce docelowe. Sprawdzanie domeny "
159
+ "atrybutu 'ftpinfo'."
160
+
161
+ #: lib/wfu_constants.php:46
162
+ msgid ""
163
+ "Error. The upload size limit of PHP directive upload_max_filesize is "
164
+ "preventing the upload of big files.\n"
165
+ "PHP directive upload_max_filesize limit is: "
166
+ msgstr ""
167
+ "Błąd. Limit rozmiaru przesłać PHP dyrektywy upload_max_filesize uniemożliwia "
168
+ "przesyłanie dużych plików.\n"
169
+ "PHP dyrektywy upload_max_filesize wynosi:"
170
+
171
+ #: lib/wfu_constants.php:47
172
+ msgid ""
173
+ "The upload time limit of PHP directive max_input_time is preventing the "
174
+ "upload of big files.\n"
175
+ "PHP directive max_input_time limit is: "
176
+ msgstr ""
177
+ "Termin przekazywania PHP max_input_time dyrektywy jest zapobieganie "
178
+ "przesyłanie dużych plików.\n"
179
+ "Limit PHP max_input_time dyrektywy jest:"
180
+
181
+ #: lib/wfu_constants.php:48
182
+ msgid ""
183
+ "Error. Permission denied to write to target folder.\n"
184
+ "Check and correct read/write permissions of target folder."
185
+ msgstr ""
186
+
187
+ #: lib/wfu_constants.php:49
188
+ msgid "Targer folder doesn't exist."
189
+ msgstr "Targer folder nie istnieje."
190
+
191
+ #: lib/wfu_constants.php:50
192
+ msgid "Upload failed! Missing a temporary folder."
193
+ msgstr "Brak folderu tymczasowego"
194
+
195
+ #: lib/wfu_constants.php:51
196
+ msgid "Upload failed! Permission denied to write to target folder."
197
+ msgstr "Nie udało się utworzyć folderu"
198
+
199
+ #: lib/wfu_constants.php:52
200
+ msgid "File not allowed."
201
+ msgstr "Rozszerzenie pliku nie jest dozwolone."
202
+
203
+ #: lib/wfu_constants.php:53
204
+ msgid "The uploaded file exceeds the file size limit."
205
+ msgstr "Przesłany plik przekracza limit rozmiaru pliku."
206
+
207
+ #: lib/wfu_constants.php:54
208
+ msgid "The uploaded file exceeds 2GB and is not supported by this server."
209
+ msgstr "Przesłany plik przekracza 2GB i nie jest obsługiwana przez ten serwer."
210
+
211
+ #: lib/wfu_constants.php:55
212
+ msgid ""
213
+ "Upload failed! The uploaded file exceeds the file size limit of the server. "
214
+ "Please contact the administrator."
215
+ msgstr ""
216
+ "Wysyłanie nie powiodło się! Przesłany plik przekracza limit rozmiaru pliku z "
217
+ "serwera. Proszę skontaktuj się z administratorem."
218
+
219
+ #: lib/wfu_constants.php:56
220
+ msgid ""
221
+ "Upload failed! The duration of the upload exceeded the time limit of the "
222
+ "server. Please contact the administrator."
223
+ msgstr ""
224
+ "Wysyłanie nie powiodło się! Czas trwania upload przekroczony limit czasu "
225
+ "serwera. Proszę skontaktuj się z administratorem."
226
+
227
+ #: lib/wfu_constants.php:57
228
+ msgid ""
229
+ "Upload failed! The uploaded file exceeds the MAX_FILE_SIZE directive that "
230
+ "was specified in the HTML form."
231
+ msgstr ""
232
+ "Wysyłanie nie powiodło się! Przesłany plik przekracza dyrektywy "
233
+ "MAX_FILE_SIZE, który został określony w formularzu HTML."
234
+
235
+ #: lib/wfu_constants.php:58
236
+ msgid "Upload failed! The uploaded file was only partially uploaded."
237
+ msgstr ""
238
+ "Wysyłanie nie powiodło się! Przesłany plik został tylko częściowo przesłane."
239
+
240
+ #: lib/wfu_constants.php:59
241
+ msgid "Upload failed! No file was uploaded."
242
+ msgstr "Wysyłanie nie powiodło się! Plik nie został przesłany."
243
+
244
+ #: lib/wfu_constants.php:60
245
+ msgid "Upload failed! Failed to write file to disk."
246
+ msgstr "Wysyłanie nie powiodło się! Nie udało się zapisać plik na dysk."
247
+
248
+ #: lib/wfu_constants.php:61
249
+ msgid ""
250
+ "Upload failed! Error occured while moving temporary file. Please contact "
251
+ "administrator."
252
+ msgstr "Wystąpił nieznany błąd. Skontaktuj się z administratorem serwisu."
253
+
254
+ #: lib/wfu_constants.php:62
255
+ msgid ""
256
+ "Upload failed! A PHP extension stopped the file upload. PHP does not provide "
257
+ "a way to ascertain which extension caused the file upload to stop; examining "
258
+ "the list of loaded extensions with phpinfo() may help."
259
+ msgstr ""
260
+
261
+ #: lib/wfu_constants.php:63
262
+ msgid "Upload failed! Error occured while attemting to upload the file."
263
+ msgstr ""
264
+ "Wysyłanie nie powiodło się! Wystąpił błąd podczas attemting wgrać plik."
265
+
266
+ #: lib/wfu_constants.php:64
267
+ msgid "Upload failed!"
268
+ msgstr "BŁĄD PRZESYŁANIA!!!"
269
+
270
+ #: lib/wfu_constants.php:65
271
+ msgid "No file!"
272
+ msgstr "Brak pliku"
273
+
274
+ #: lib/wfu_constants.php:66
275
+ msgid ""
276
+ "Upload failed! The upload has been canceled by the user or the browser "
277
+ "dropped the connection."
278
+ msgstr ""
279
+ "Wysyłanie nie powiodło się! Wysyłanie zostało anulowane przez użytkownika "
280
+ "lub utracone połączenie."
281
+
282
+ #: lib/wfu_constants.php:67
283
+ msgid "Upload failed! Unknown error."
284
+ msgstr "Wysyłanie nie powiodło się! Nieznany błąd."
285
+
286
+ #: lib/wfu_constants.php:68
287
+ msgid "Please contact the administrator."
288
+ msgstr "Proszę skontaktuj się z administratorem."
289
+
290
+ #: lib/wfu_constants.php:69
291
+ msgid "No result from remote server!"
292
+ msgstr "Nie wynik z serwera zdalnego!"
293
+
294
+ #: lib/wfu_constants.php:70
295
+ msgid " but with warnings"
296
+ msgstr "Ostrzeżenia"
297
+
298
+ #: lib/wfu_constants.php:71 lib/wfu_constants.php:73
299
+ msgid "Warning: JSON parse error."
300
+ msgstr "\"Błąd analizowania\""
301
+
302
+ #: lib/wfu_constants.php:72
303
+ msgid ""
304
+ "Upload parameters of this file, passed as JSON string to the handler, could "
305
+ "not be parsed."
306
+ msgstr ""
307
+ "Przekazywania parametrów tego pliku, przekazywana jako ciąg JSON do obsługi, "
308
+ "nie można przeanalizować."
309
+
310
+ #: lib/wfu_constants.php:74
311
+ msgid ""
312
+ "UploadStates, passed as JSON string to the handler, could not be parsed."
313
+ msgstr ""
314
+ "UploadStates, przekazywana jako ciąg JSON do obsługi, nie można "
315
+ "przeanalizować."
316
+
317
+ #: lib/wfu_constants.php:75
318
+ msgid ""
319
+ "Redirection to classic form functionality occurred due to unknown error."
320
+ msgstr ""
321
+ "Przekierowanie do klasycznej postaci funkcji wystąpił z powodu nieznanego "
322
+ "błędu."
323
+
324
+ #: lib/wfu_constants.php:76
325
+ msgid ""
326
+ "Redirection to classic form functionality occurred because AJAX is not "
327
+ "supported."
328
+ msgstr ""
329
+
330
+ #: lib/wfu_constants.php:77
331
+ msgid ""
332
+ "Redirection to classic form functionality occurred because HTML5 is not "
333
+ "supported."
334
+ msgstr ""
335
+ "Przekierowanie do klasycznej postaci funkcji wystąpił, ponieważ HTML5 jest "
336
+ "nieobsługiwana."
337
+
338
+ #: lib/wfu_constants.php:78
339
+ msgid ""
340
+ "Redirection to classic form functionality occurred due to JSON parse error."
341
+ msgstr ""
342
+ "Przekierowanie do klasycznej postaci funkcji wystąpił ze względu na błąd "
343
+ "analizy JSON."
344
+
345
+ #: lib/wfu_constants.php:79
346
+ msgid "Please enable popup windows from the browser's settings!"
347
+ msgstr "Proszę włączyć wyskakujące okienka z ustawień przeglądarki!"
348
+
349
+ #: lib/wfu_constants.php:80
350
+ msgid "cannot be empty!"
351
+ msgstr "Pole nie może być puste!"
352
+
353
+ #: lib/wfu_constants.php:81
354
+ msgid "number not valid!"
355
+ msgstr "Błędny numer!"
356
+
357
+ #: lib/wfu_constants.php:82
358
+ msgid "email not valid!"
359
+ msgstr "Niepoprawny e-mail!"
360
+
361
+ #: lib/wfu_constants.php:83
362
+ msgid "emails do not match!"
363
+ msgstr "e-maile nie pasują!"
364
+
365
+ #: lib/wfu_constants.php:84
366
+ msgid "no base email field in group!"
367
+ msgstr ""
368
+
369
+ #: lib/wfu_constants.php:85
370
+ msgid "passwords do not match!"
371
+ msgstr "Hasła nie są identyczne"
372
+
373
+ #: lib/wfu_constants.php:86
374
+ msgid "no base password field in group!"
375
+ msgstr ""
376
+
377
+ #: lib/wfu_constants.php:87
378
+ msgid "checkbox unchecked!"
379
+ msgstr "niezaznaczone pole wyboru!"
380
+
381
+ #: lib/wfu_constants.php:88
382
+ msgid "no option selected!"
383
+ msgstr "Nie wybrano żadnej opcji"
384
+
385
+ #: lib/wfu_constants.php:89
386
+ msgid "no item selected!"
387
+ msgstr "Nie wybrano żadnego elementu."
388
+
389
+ #: lib/wfu_constants.php:90
390
+ msgid ""
391
+ "There are more than one instances of the plugin in this page with the same "
392
+ "id. Please change it."
393
+ msgstr ""
394
+ "Tu są więcej niż jednego wystąpienia o plugin na tej stronie o tym samym "
395
+ "identyfikatorze. Zmień go."
396
+
397
+ #: lib/wfu_constants.php:91
398
+ msgid ""
399
+ "Cannot edit the shortcode because the page has been modified. Please reload "
400
+ "the page."
401
+ msgstr ""
402
+ "Nie można edytować shortkode, ponieważ strona została zmodyfikowana. Proszę "
403
+ "odświeżyć stronę."
404
+
405
+ #: lib/wfu_constants.php:92
406
+ msgid ""
407
+ "ERROR: Captcha not supported! You have an old PHP version. Upgrade your PHP "
408
+ "or use RecaptchaV2 (no account)."
409
+ msgstr ""
410
+
411
+ #: lib/wfu_constants.php:93
412
+ msgid "ERROR: No site key. Please contact administrator!"
413
+ msgstr ""
414
+
415
+ #: lib/wfu_constants.php:94
416
+ msgid ""
417
+ "ERROR: No site key defined! Please go to the plugin settings in Dashboard to "
418
+ "define Google Recaptcha keys."
419
+ msgstr ""
420
+
421
+ #: lib/wfu_constants.php:95
422
+ msgid "Bad captcha image!"
423
+ msgstr ""
424
+
425
+ #: lib/wfu_constants.php:96
426
+ msgid "No input!"
427
+ msgstr ""
428
+
429
+ #: lib/wfu_constants.php:97
430
+ msgid "Captcha not completed!"
431
+ msgstr ""
432
+
433
+ #: lib/wfu_constants.php:98
434
+ msgid "Wrong captcha!"
435
+ msgstr ""
436
+
437
+ #: lib/wfu_constants.php:99
438
+ msgid "Error refreshing captcha!"
439
+ msgstr ""
440
+
441
+ #: lib/wfu_constants.php:100
442
+ msgid "Unknown captcha error!"
443
+ msgstr ""
444
+
445
+ #: lib/wfu_constants.php:101
446
+ msgid "Captcha not supported by your browser!"
447
+ msgstr ""
448
+
449
+ #: lib/wfu_constants.php:102
450
+ msgid "the secret parameter is missing"
451
+ msgstr ""
452
+
453
+ #: lib/wfu_constants.php:103
454
+ msgid "the secret parameter is invalid or malformed"
455
+ msgstr ""
456
+
457
+ #: lib/wfu_constants.php:104
458
+ msgid "the response parameter is missing"
459
+ msgstr ""
460
+
461
+ #: lib/wfu_constants.php:105
462
+ msgid "the response parameter is invalid or malformed"
463
+ msgstr ""
464
+
465
+ #: lib/wfu_constants.php:106
466
+ msgid "Please do not use drag drop due to an internal problem."
467
+ msgstr ""
468
+
469
+ #: lib/wfu_constants.php:107
470
+ #, php-format
471
+ msgid "Error during chunked upload. Unique ID empty in chunk %d"
472
+ msgstr ""
473
+
474
+ #: lib/wfu_constants.php:108
475
+ msgid "Chunked upload is not allowed!"
476
+ msgstr ""
477
+
478
+ #: lib/wfu_constants.php:109
479
+ msgid "Chunked upload aborted due to error in previous chunk!"
480
+ msgstr ""
481
+
482
+ #: lib/wfu_constants.php:110
483
+ msgid "Chunked upload failed, final file could not be created!"
484
+ msgstr ""
485
+
486
+ #: lib/wfu_constants.php:111
487
+ #, php-format
488
+ msgid "Could not write file chuck to destination on chunk %d"
489
+ msgstr ""
490
+
491
+ #: lib/wfu_constants.php:112
492
+ #, php-format
493
+ msgid "Could not enlarge destination file on chunk %d"
494
+ msgstr ""
495
+
496
+ #: lib/wfu_constants.php:113
497
+ #, php-format
498
+ msgid "Could not open file handles on chunk %d"
499
+ msgstr ""
500
+
501
+ #: lib/wfu_constants.php:114
502
+ msgid "You are not allowed to delete this file!"
503
+ msgstr ""
504
+
505
+ #: lib/wfu_constants.php:116
506
+ msgid "Upload skipped! File already exists."
507
+ msgstr "Przepraszamy, ten plik już istnieje!"
508
+
509
+ #: lib/wfu_constants.php:117
510
+ msgid "No files have been selected!"
511
+ msgstr "Nie wybrano żadnych plików"
512
+
513
+ #: lib/wfu_constants.php:118
514
+ msgid "WPFilebase Plugin not updated because there were no files uploaded."
515
+ msgstr ""
516
+ "WPFilebase Plugin nie aktualizowane, ponieważ nie było tam plików przesłane."
517
+
518
+ #: lib/wfu_constants.php:119
519
+ msgid "Notification email was not sent because there were no files uploaded."
520
+ msgstr ""
521
+ "Powiadomienia e-mail nie została wysłana, ponieważ nie zostały przesłane "
522
+ "pliki."
523
+
524
+ #: lib/wfu_constants.php:120
525
+ msgid ""
526
+ "Notification email was not sent because no recipients were defined. Please "
527
+ "check notifyrecipients attribute in the shortcode."
528
+ msgstr ""
529
+ "Powiadomienia e-mail nie zostały wysłane, ponieważ nie ma odbiorców "
530
+ "zdefiniowanych. Sprawdź atrybut notifyrecipients w kodzie."
531
+
532
+ #: lib/wfu_constants.php:121
533
+ msgid ""
534
+ "Notification email was not sent due to an error. Please check "
535
+ "notifyrecipients, notifysubject and notifymessage attributes for errors."
536
+ msgstr ""
537
+ "Powiadomienia e-mail nie został wysłany z powodu błędu. Proszę sprawdzić "
538
+ "notifyrecipients, notifysubject i notifymessage atrybuty dla błędów."
539
+
540
+ #: lib/wfu_constants.php:122
541
+ msgid ""
542
+ "Redirection not executed because redirection link is empty. Please check "
543
+ "redirectlink attribute."
544
+ msgstr ""
545
+ "Przekierowania nie wykonany, ponieważ link przekierowania jest pusty. "
546
+ "Sprawdź atrybut redirectlink."
547
+
548
+ #: lib/wfu_constants.php:123
549
+ msgid ""
550
+ "Redirection not executed because not all files were successfully uploaded."
551
+ msgstr ""
552
+ "Przekierowania nie wykonany, ponieważ nie wszystkie pliki zostały pomyślnie "
553
+ "załadowane."
554
+
555
+ #: lib/wfu_constants.php:125
556
+ msgid ""
557
+ "Failed to add the shortcode to the page/post. Please try again. If the "
558
+ "message persists, contact administrator."
559
+ msgstr ""
560
+ "Nie można dodać shortcode do strony/post. Proszę spróbować ponownie. Jeśli "
561
+ "komunikat będzie się powtarzał, skontaktuj się z administratorem."
562
+
563
+ #: lib/wfu_constants.php:126
564
+ msgid ""
565
+ "Failed to edit the shortcode because the contents of the page changed. Try "
566
+ "again to edit the shortcode."
567
+ msgstr ""
568
+ "Nie można edytować shortcode, bo zmieniła się zawartość strony. Spróbuj "
569
+ "ponownie."
570
+
571
+ #: lib/wfu_constants.php:127
572
+ msgid ""
573
+ "Failed to delete the shortcode because the contents of the page changed. Try "
574
+ "again to delete it."
575
+ msgstr ""
576
+ "Nie można usunąć shortcode, bo zmieniła się zawartość strony. Spróbuj "
577
+ "ponownie."
578
+
579
+ #: lib/wfu_constants.php:128
580
+ msgid ""
581
+ "The page containing the shortcode has been modified and it is no longer "
582
+ "valid. Please go back to reload the shortcode."
583
+ msgstr ""
584
+ "Strona zawierająca shortcode został zmodyfikowana. Proszę wrócić i "
585
+ "przeładować shortcode."
586
+
587
+ #: lib/wfu_constants.php:129
588
+ msgid ""
589
+ "Failed to update the shortcode because the contents of the page changed. Go "
590
+ "back to reload the shortcode."
591
+ msgstr ""
592
+ "Strona zawierająca shortcode został zmodyfikowana. Proszę wrócić i "
593
+ "przeładować shortcode."
594
+
595
+ #: lib/wfu_constants.php:130
596
+ msgid ""
597
+ "Failed to update the shortcode. Please try again. If the problem persists, "
598
+ "go back and reload the shortcode."
599
+ msgstr ""
600
+ "Nie można zaktualizować shortcode. Proszę spróbować ponownie. Jeśli problem "
601
+ "nie ustąpi, wrócić i ponownie załadować shortcode."
602
+
603
+ #: lib/wfu_constants.php:132
604
+ msgid "This is a test message"
605
+ msgstr "To jest wiadomość testowa"
606
+
607
+ #: lib/wfu_constants.php:133
608
+ msgid "This is a test administrator message"
609
+ msgstr "To jest wiadomość testowa administratora"
610
+
611
+ #: lib/wfu_constants.php:134
612
+ msgid "File testfile 1 under test"
613
+ msgstr ""
614
+
615
+ #: lib/wfu_constants.php:135
616
+ msgid "File testfile 1 message"
617
+ msgstr ""
618
+
619
+ #: lib/wfu_constants.php:136
620
+ msgid "File testfile 1 administrator message"
621
+ msgstr ""
622
+
623
+ #: lib/wfu_constants.php:137
624
+ msgid "File testfile 2 under test"
625
+ msgstr ""
626
+
627
+ #: lib/wfu_constants.php:138
628
+ msgid "File testfile 2 message"
629
+ msgstr ""
630
+
631
+ #: lib/wfu_constants.php:139
632
+ msgid "File testfile 2 administrator message"
633
+ msgstr ""
634
+
635
+ #: lib/wfu_constants.php:141
636
+ msgid ""
637
+ "Insert variable %userid% inside text. It will be replaced by the id of the "
638
+ "current user."
639
+ msgstr ""
640
+ "Wstaw zmienną % userid % wewnątrz tekstu. Zostanie on zastąpiony przez "
641
+ "identyfikator bieżącego użytkownika."
642
+
643
+ #: lib/wfu_constants.php:142
644
+ msgid ""
645
+ "Insert variable %username% inside text. It will be replaced by the username "
646
+ "of the current user."
647
+ msgstr ""
648
+ "Wstaw zmiennej % username % wewnątrz tekstu. To będzie brzmienie nazwy "
649
+ "użytkownika bieżącego użytkownika."
650
+
651
+ #: lib/wfu_constants.php:143
652
+ msgid ""
653
+ "Insert variable %useremail% inside text. It will be replaced by the email of "
654
+ "the current user."
655
+ msgstr ""
656
+ "Wstaw zmiennej % useremail % wewnątrz tekstu. To zostanie zastąpiony przez e-"
657
+ "mail bieżącego użytkownika."
658
+
659
+ #: lib/wfu_constants.php:144
660
+ msgid ""
661
+ "Insert variable %filename% inside text. It will be replaced by the filename "
662
+ "of the uploaded file."
663
+ msgstr ""
664
+ "Wstaw nazwę zmiennej % wewnątrz tekstu. To zostanie zastąpiony przez nazwę "
665
+ "pliku przesłane."
666
+
667
+ #: lib/wfu_constants.php:145
668
+ msgid ""
669
+ "Insert variable %filepath% inside text. It will be replaced by the full "
670
+ "filepath of the uploaded file."
671
+ msgstr ""
672
+ "Wstaw zmienną % filepath wewnątrz tekstu. To zostanie zastąpiony przez pełną "
673
+ "filepath przesyłanego pliku."
674
+
675
+ #: lib/wfu_constants.php:146
676
+ msgid ""
677
+ "Insert variable %blogid% inside text. It will be replaced by the blog id of "
678
+ "the website."
679
+ msgstr ""
680
+ "Wstaw zmiennej % blogid % wewnątrz tekstu. To zostanie zastąpiony przez "
681
+ "identyfikator blog strony internetowej."
682
+
683
+ #: lib/wfu_constants.php:147
684
+ msgid ""
685
+ "Insert variable %pageid% inside text. It will be replaced by the id of the "
686
+ "current page."
687
+ msgstr ""
688
+
689
+ #: lib/wfu_constants.php:148
690
+ msgid ""
691
+ "Insert variable %pagetitle% inside text. It will be replaced by the title of "
692
+ "the current page."
693
+ msgstr ""
694
+ "Wstaw zmienną % pagetitle wewnątrz tekstu. To będzie brzmienie tytułu "
695
+ "bieżącej strony."
696
+
697
+ #: lib/wfu_constants.php:149
698
+ msgid ""
699
+ "Insert variable %userdataXXX% inside text. Select the user field from the "
700
+ "drop-down list. It will be replaced by the value that the user entered in "
701
+ "this field."
702
+ msgstr ""
703
+ "Wstaw zmiennej % userdataXXX % wewnątrz tekstu. Wybierz pole użytkownika z "
704
+ "listy rozwijanej. To zostaną zastąpione przez wartości, które użytkownik "
705
+ "wpisuje w tej dziedzinie."
706
+
707
+ #: lib/wfu_constants.php:150
708
+ msgid "Insert variable %n% inside text to denote a line change."
709
+ msgstr "Wstaw zmienną %n % wewnątrz tekstu do oznaczenia linii zmiany."
710
+
711
+ #: lib/wfu_constants.php:152
712
+ msgid "Test Mode"
713
+ msgstr "Tryb testowy"
714
+
715
+ #: lib/wfu_constants.php:153
716
+ msgid "select dir..."
717
+ msgstr "Wybierz dir..."
718
+
719
+ #: lib/wfu_constants.php:154
720
+ msgid "type dir"
721
+ msgstr "Typ dir"
722
+
723
+ #: lib/wfu_constants.php:155
724
+ msgid "Upload path: %filepath%"
725
+ msgstr "Wgraj %filepath%"
726
+
727
+ #: lib/wfu_constants.php:156
728
+ msgid "Failed upload path: %filepath%"
729
+ msgstr "Nieudane przesyłanie: %filepath%"
730
+
731
+ #: lib/wfu_constants.php:157
732
+ msgid " (required)"
733
+ msgstr "*"
734
+
735
+ #: lib/wfu_constants.php:158
736
+ msgid "Files are being uploaded. Are you sure you want to exit the page?"
737
+ msgstr "Obecnie wysyłane są pliki. Czy na pewno chcesz zamknąć stronę?"
738
+
739
+ #: lib/wfu_constants.php:159
740
+ msgid "checking captcha..."
741
+ msgstr ""
742
+
743
+ #: lib/wfu_constants.php:160
744
+ msgid "refreshing..."
745
+ msgstr ""
746
+
747
+ #: lib/wfu_constants.php:161
748
+ msgid "correct captcha"
749
+ msgstr ""
750
+
751
+ #: lib/wfu_constants.php:162
752
+ msgid "click to continue the upload"
753
+ msgstr ""
754
+
755
+ #: lib/wfu_constants.php:163
756
+ msgid "Are you sure you want to delete this file?"
757
+ msgstr ""
758
+
759
+ #: lib/wfu_constants.php:164
760
+ msgid "Upload in progress"
761
+ msgstr "Trwa przesyłanie Plików. Prosimy cierpliwie czekać."
762
+
763
+ #: lib/wfu_constants.php:165
764
+ msgid "Upload in progress with warnings!"
765
+ msgstr "Trwa przesyłanie Plików. Prosimy cierpliwie czekać."
766
+
767
+ #: lib/wfu_constants.php:166
768
+ msgid "Upload in progress but some files already failed!"
769
+ msgstr "Przesyłanie w toku, ale niektóre pliki zostały anulowane!"
770
+
771
+ #: lib/wfu_constants.php:167
772
+ msgid "Upload in progress but no files uploaded so far!"
773
+ msgstr "Przesyłanie w toku, ale jeszcze nie przesłano żadnego pliku!"
774
+
775
+ #: lib/wfu_constants.php:168
776
+ msgid "All files uploaded successfully"
777
+ msgstr "Przesyłanie plików zakończyło się powodzeniem"
778
+
779
+ #: lib/wfu_constants.php:169
780
+ msgid "All files uploaded successfully but there are warnings!"
781
+ msgstr "Przesyłanie plików zakończyło się powodzeniem"
782
+
783
+ #: lib/wfu_constants.php:170
784
+ msgid "File uploaded successfully but there are warnings!"
785
+ msgstr "Plik został pomyślnie przesłany, ale z ostrzeżeniem!"
786
+
787
+ #: lib/wfu_constants.php:171
788
+ msgid "Some files failed to upload!"
789
+ msgstr "Niektóre pliki zostały anulowane!"
790
+
791
+ #: lib/wfu_constants.php:172
792
+ msgid "All files failed to upload"
793
+ msgstr "Wszystkie pliki zostały anulowane"
794
+
795
+ #: lib/wfu_constants.php:173
796
+ msgid "File failed to upload"
797
+ msgstr "Nie udało się przesłać pliku"
798
+
799
+ #: lib/wfu_constants.php:174
800
+ msgid "There are no files to upload!"
801
+ msgstr "Brak plików do wysłania"
802
+
803
+ #: lib/wfu_constants.php:175
804
+ msgid "Test upload message"
805
+ msgstr "To jest wiadomość testowa"
806
+
807
+ #: lib/wfu_constants.php:176
808
+ msgid "JSON parse warning!"
809
+ msgstr "JSON analizować ostrzeżenie!"
810
+
811
+ #: lib/wfu_constants.php:177
812
+ msgid "please wait while redirecting..."
813
+ msgstr "Proszę czekać, za chwilę zostaniesz przekierowany..."
814
+
815
+ #: lib/wfu_constants.php:178
816
+ msgid "Open visual shortcode editor in new window"
817
+ msgstr "Otwórz edytor w nowym oknie"
818
+
819
+ #: lib/wfu_constants.php:179
820
+ msgid "loading visual editor"
821
+ msgstr "Ładowanie wizualnego edytora"
822
+
823
+ #: lib/wfu_constants.php:180
824
+ msgid "Clear file list?"
825
+ msgstr ""
826
+
827
+ #: lib/wfu_constants.php:181
828
+ msgid "DROP HERE"
829
+ msgstr ""
830
+
831
+ #: lib/wfu_constants.php:183
832
+ msgid "Wordpress File Upload Form"
833
+ msgstr "Formularz przesyłania plików WPFU"
834
+
835
+ #: lib/wfu_constants.php:184
836
+ msgid "Wordpress File Upload plugin uploader for sidebars"
837
+ msgstr ""
838
+
839
+ #: lib/wfu_constants.php:185
840
+ msgid "Upload Files"
841
+ msgstr ""
842
+
843
+ #~ msgid "Plik %filename% jest w trakcie wysyłania"
844
+ #~ msgstr "Plik % jest w trakcie wysyłania"
845
+
846
+ #~ msgid "New title"
847
+ #~ msgstr "Nowy tytuł"
languages/wp-file-upload-sr_RS.mo ADDED
Binary file
languages/{wordpress-file-upload-sr_RS.po → wp-file-upload-sr_RS.po} RENAMED
@@ -1,756 +1,862 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Wordpress File Upload\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-09-29 11:09+0200\n"
6
- "PO-Revision-Date: 2015-09-29 11:09+0200\n"
7
- "Last-Translator: Borisa Djuraskovic <borisad@webhostinghub.com>\n"
8
- "Language-Team: Iptanus Team <info@iptanus.com>\n"
9
- "Language: sr\n"
10
- "MIME-Version: 1.0\n"
11
- "Content-Type: text/plain; charset=UTF-8\n"
12
- "Content-Transfer-Encoding: 8bit\n"
13
- "X-Poedit-KeywordsList: __;gettext;gettext_noop\n"
14
- "X-Poedit-Basepath: ../\n"
15
- "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
16
- "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
17
- "X-Generator: Poedit 1.7.5\n"
18
- "X-Poedit-SearchPath-0: .\n"
19
- "X-Poedit-SearchPathExcluded-0: vendor\n"
20
-
21
- #: lib/wfu_constants.php:7
22
- msgid "Upload files"
23
- msgstr "Otpremi datoteke"
24
-
25
- #: lib/wfu_constants.php:8
26
- msgid "Select File"
27
- msgstr "Odaberi datoteku"
28
-
29
- #: lib/wfu_constants.php:9
30
- msgid "Upload File"
31
- msgstr "Otpremi datoteku"
32
-
33
- #: lib/wfu_constants.php:28
34
- msgid "File Upload Notification"
35
- msgstr "Obaveštenje o otpremanju datoteke"
36
-
37
- #: lib/wfu_constants.php:29
38
- msgid ""
39
- "Dear Recipient,%n%%n% This is an automatic delivery message to notify you "
40
- "that a new file has been uploaded.%n%%n%Best Regards"
41
- msgstr ""
42
- "Dragi primaoče, %n%%n%, ovo je automatski generisana poruka koja vas "
43
- "obaveštava da je datoteka otpremljena.%n%%n%Srdačan pozdrav"
44
-
45
- #: lib/wfu_constants.php:35
46
- #, php-format
47
- msgid "File %filename% uploaded successfully"
48
- msgstr "Datoteka %filename% uspešno otpremljena"
49
-
50
- #: lib/wfu_constants.php:36
51
- #, php-format
52
- msgid "File %filename% uploaded successfully but with warnings"
53
- msgstr "Datoteka %filename% uspešno otpremljena, ali sa upozorenjima"
54
-
55
- #: lib/wfu_constants.php:37
56
- msgid "File %filename% not uploaded"
57
- msgstr "Datoteka %nazivdatoteke% nije otpremljena"
58
-
59
- #: lib/wfu_constants.php:38
60
- msgid "File %filename% is being uploaded"
61
- msgstr "Datoteka %nazivdatoteke% upravo se otprema"
62
-
63
- #: lib/wfu_constants.php:56
64
- msgid "Your message"
65
- msgstr "Vaša poruka"
66
-
67
- #: lib/wfu_constants.php:61
68
- msgid ""
69
- "Error. Could not resolve ftp target filedir. Check the domain in 'ftpinfo' "
70
- "attribute."
71
- msgstr ""
72
- "Greška. Ciljni direktorijum datoteke nije mogao biti razrešen. Proverite "
73
- "domen u 'ftpinfo' atributu."
74
-
75
- #: lib/wfu_constants.php:62
76
- msgid "Error. Invalid ftp information. Check 'ftpinfo' attribute."
77
- msgstr "Greška. Nevažeći ftp podaci. Proverite 'ftpinfo' atribut."
78
-
79
- #: lib/wfu_constants.php:63
80
- msgid ""
81
- "Error. Could not extract ftp information from 'ftpinfo' attribute. Check its "
82
- "syntax."
83
- msgstr ""
84
- "Greška. Neuspelo izvlačenje ftp podataka iz 'ftpinfo' atributa. Proverite "
85
- "njegovu sintaksu. "
86
-
87
- #: lib/wfu_constants.php:64
88
- msgid ""
89
- "Error. Could not resolve ftp target filename. Check the domain in 'ftpinfo' "
90
- "attribute."
91
- msgstr ""
92
- "Greška. Ftp naziv ciljne datoteke nije mogao biti razrešen. Proverite domen "
93
- "u 'ftpinfo' atributu."
94
-
95
- #: lib/wfu_constants.php:65
96
- msgid ""
97
- "Error. The upload size limit of PHP directive upload_max_filesize is "
98
- "preventing the upload of big files.\n"
99
- "PHP directive upload_max_filesize limit is: "
100
- msgstr ""
101
- "Greška. Ograničenje veličine PHP-a za otpremanje, otpremi_max_veličinu "
102
- "datoteke, sprečava otpremanje velikih datoteka. \n"
103
- "PHP direktiva ograničenja otpremi_max_veličinu datoteke je:"
104
-
105
- #: lib/wfu_constants.php:66
106
- msgid ""
107
- "The upload time limit of PHP directive max_input_time is preventing the "
108
- "upload of big files.\n"
109
- "PHP directive max_input_time limit is: "
110
- msgstr ""
111
- "Vremensko ograničenje za otpremanje PHP direktive, max_vreme_unosa sprečava "
112
- "otpremanje velikih datoteka. \n"
113
- "PHP direktiva ograničenja max_vreme_unosa je:"
114
-
115
- #: lib/wfu_constants.php:67
116
- msgid ""
117
- "Error. Permission denied to write to target folder.\n"
118
- "Check and correct read/write permissions of target folder."
119
- msgstr ""
120
- "Greška. Odbijena je dozvola za pisanje u ciljnoj fascikli. Proverite i "
121
- "ispravite dozvole za čitanje/pisanje u ciljnoj fascikli. "
122
-
123
- #: lib/wfu_constants.php:68
124
- msgid "Targer folder doesn't exist."
125
- msgstr "Ciljna fascikla ne postoji."
126
-
127
- #: lib/wfu_constants.php:69
128
- msgid "Upload failed! Missing a temporary folder."
129
- msgstr "Otpremanje neuspešno! Nedostaje privremena fascikla. "
130
-
131
- #: lib/wfu_constants.php:70
132
- msgid "Upload failed! Permission denied to write to target folder."
133
- msgstr "Otpremanje neuspešno! Odbijena dozvola za pisanje u ciljnoj fascikli."
134
-
135
- #: lib/wfu_constants.php:71
136
- msgid "File not allowed."
137
- msgstr "Datoteka nije dozvoljena."
138
-
139
- #: lib/wfu_constants.php:72
140
- msgid "The uploaded file exceeds the file size limit."
141
- msgstr ""
142
- "Veličina otpremljene datoteke prevazilazi ograničenje veličine datoteke."
143
-
144
- #: lib/wfu_constants.php:73
145
- msgid "The uploaded file exceeds 2GB and is not supported by this server."
146
- msgstr "Otpremljena datoteka je veća od 2GB i nije podržana ovim serverom."
147
-
148
- #: lib/wfu_constants.php:74
149
- msgid ""
150
- "Upload failed! The uploaded file exceeds the file size limit of the server. "
151
- "Please contact the administrator."
152
- msgstr ""
153
- "Otpremanje neuspešno! Otpremljena datoteka prevazilazi ograničenje servera "
154
- "za veličinu datoteke. Obratite se administratoru."
155
-
156
- #: lib/wfu_constants.php:75
157
- msgid ""
158
- "Upload failed! The duration of the upload exceeded the time limit of the "
159
- "server. Please contact the administrator."
160
- msgstr ""
161
- "Otpremanje neuspešno! Trajanje otpremanja prevazišlo je vremensko "
162
- "ograničenje servera. Obratite se administratoru."
163
-
164
- #: lib/wfu_constants.php:76
165
- msgid ""
166
- "Upload failed! The uploaded file exceeds the MAX_FILE_SIZE directive that "
167
- "was specified in the HTML form."
168
- msgstr ""
169
- "Otpremanje neuspešno! Otpremljena datoteka prevazilazi direktivu "
170
- "MAX_VELIČINA_DATOTEKE koja je navedena u HTML obrascu."
171
-
172
- #: lib/wfu_constants.php:77
173
- msgid "Upload failed! The uploaded file was only partially uploaded."
174
- msgstr "Otpremanje neuspešno! Datoteka je samo delimično otpremljena."
175
-
176
- #: lib/wfu_constants.php:78
177
- msgid "Upload failed! No file was uploaded."
178
- msgstr "Otpremanje neuspešno! Nijedna datoteka nije otpremljena."
179
-
180
- #: lib/wfu_constants.php:79
181
- msgid "Upload failed! Failed to write file to disk."
182
- msgstr "Otpremanje neuspešno! Datoteka nije zapisana na disk."
183
-
184
- #: lib/wfu_constants.php:80
185
- msgid ""
186
- "Upload failed! Error occured while moving temporary file. Please contact "
187
- "administrator."
188
- msgstr ""
189
- "Otpremanje neuspešno! Došlo je do greške prilikom pomeranja privremene "
190
- "datoteke. Obratite se administratoru."
191
-
192
- #: lib/wfu_constants.php:81
193
- msgid ""
194
- "Upload failed! A PHP extension stopped the file upload. PHP does not provide "
195
- "a way to ascertain which extension caused the file upload to stop; examining "
196
- "the list of loaded extensions with phpinfo() may help."
197
- msgstr ""
198
- "Otpremanje neuspešno! PHP ekstenzija zaustavila je otpremanje datoteke. PHP "
199
- "ne obezbeđuje način da se utvrdi koja je ekstenzija zaustavila otpremanje. "
200
- "Možda će pomoći ako pregledate spisak otpremljenih ekstenzija uz phpinfo(). "
201
-
202
- #: lib/wfu_constants.php:82
203
- msgid "Upload failed! Error occured while attemting to upload the file."
204
- msgstr ""
205
- "Otpremanje neuspešno! Došlo je do greške prilikom pokušaja da se otpremi "
206
- "datoteka."
207
-
208
- #: lib/wfu_constants.php:83
209
- msgid "Upload failed!"
210
- msgstr "Otpremanje neuspešno! "
211
-
212
- #: lib/wfu_constants.php:84
213
- msgid "No file!"
214
- msgstr "Nema datoteke!"
215
-
216
- #: lib/wfu_constants.php:85
217
- msgid ""
218
- "Upload failed! The upload has been canceled by the user or the browser "
219
- "dropped the connection."
220
- msgstr ""
221
- "Otpremanje neuspešno! Korisnik je otkazao otpremanje ili je pretraživač "
222
- "izgubio internet vezu."
223
-
224
- #: lib/wfu_constants.php:86
225
- msgid "Upload failed! Unknown error."
226
- msgstr "Otpremanje neuspešno! Nepoznata greška."
227
-
228
- #: lib/wfu_constants.php:87
229
- msgid "Please contact the administrator."
230
- msgstr "Obratite se administratoru."
231
-
232
- #: lib/wfu_constants.php:88
233
- msgid "No result from remote server!"
234
- msgstr "Nema rezultata sa udaljenog servera!"
235
-
236
- #: lib/wfu_constants.php:89
237
- msgid " but with warnings"
238
- msgstr "ali sa upozorenjima"
239
-
240
- #: lib/wfu_constants.php:90 lib/wfu_constants.php:92
241
- msgid "Warning: JSON parse error."
242
- msgstr "Upozorenje: Greška prilikom JSON parsiranja."
243
-
244
- #: lib/wfu_constants.php:91
245
- msgid ""
246
- "Upload parameters of this file, passed as JSON string to the handler, could "
247
- "not be parsed."
248
- msgstr ""
249
- "Otpremljeni parametri ove datoteke, poslate na obradu kao JSON niz, nisu "
250
- "mogle biti parsirane. "
251
-
252
- #: lib/wfu_constants.php:93
253
- msgid ""
254
- "UploadStates, passed as JSON string to the handler, could not be parsed."
255
- msgstr ""
256
- "UploadStates, poslate na obradu kao JSON niz, nisu mogle biti parsirane. "
257
-
258
- #: lib/wfu_constants.php:94
259
- msgid ""
260
- "Redirection to classic form functionality occurred due to unknown error."
261
- msgstr ""
262
- "Zbog nepoznate greške došlo je do preusmeravanja na funkcionalnost klasičnog "
263
- "obrasca."
264
-
265
- #: lib/wfu_constants.php:95
266
- msgid ""
267
- "Redirection to classic form functionality occurred because AJAX is not "
268
- "supported."
269
- msgstr ""
270
- "Do preusmeravanja na funkcionalnost klasičnog obrasca došlo je zato što nije "
271
- "podržan AJAX."
272
-
273
- #: lib/wfu_constants.php:96
274
- msgid ""
275
- "Redirection to classic form functionality occurred because HTML5 is not "
276
- "supported."
277
- msgstr ""
278
- "Do preusmeravanja na funkcionalnost klasičnog obrasca došlo je zato što nije "
279
- "podržan HTML5."
280
-
281
- #: lib/wfu_constants.php:97
282
- msgid ""
283
- "Redirection to classic form functionality occurred due to JSON parse error."
284
- msgstr ""
285
- "Do preusmeravanja na funkcionalnost klasičnog obrasca došlo je zbog JSON "
286
- "greške prilikom parsiranja."
287
-
288
- #: lib/wfu_constants.php:98
289
- msgid "Please enable popup windows from the browser's settings!"
290
- msgstr ""
291
-
292
- #: lib/wfu_constants.php:99
293
- msgid "cannot be empty!"
294
- msgstr "ne može biti prazno!"
295
-
296
- #: lib/wfu_constants.php:100
297
- msgid "number not valid!"
298
- msgstr ""
299
-
300
- #: lib/wfu_constants.php:101
301
- msgid "email not valid!"
302
- msgstr ""
303
-
304
- #: lib/wfu_constants.php:102
305
- msgid "emails do not match!"
306
- msgstr ""
307
-
308
- #: lib/wfu_constants.php:103
309
- msgid "no base email field in group!"
310
- msgstr ""
311
-
312
- #: lib/wfu_constants.php:104
313
- msgid "passwords do not match!"
314
- msgstr ""
315
-
316
- #: lib/wfu_constants.php:105
317
- msgid "no base password field in group!"
318
- msgstr ""
319
-
320
- #: lib/wfu_constants.php:106
321
- msgid "checkbox unchecked!"
322
- msgstr ""
323
-
324
- #: lib/wfu_constants.php:107
325
- msgid "no option selected!"
326
- msgstr ""
327
-
328
- #: lib/wfu_constants.php:108
329
- msgid "no item selected!"
330
- msgstr ""
331
-
332
- #: lib/wfu_constants.php:109
333
- msgid ""
334
- "There are more than one instances of the plugin in this page with the same "
335
- "id. Please change it."
336
- msgstr ""
337
- "Na ovoj stranici ima više od jednog primera plugin-a sa istom "
338
- "identifikacijom."
339
-
340
- #: lib/wfu_constants.php:110
341
- msgid ""
342
- "Cannot edit the shortcode because the page has been modified. Please reload "
343
- "the page."
344
- msgstr ""
345
- "Shortcode ne može da se uredi zato što stranica nije modifikovana. Ponovo "
346
- "učitajte stranicu."
347
-
348
- #: lib/wfu_constants.php:113
349
- msgid "Upload skipped! File already exists."
350
- msgstr "Otpremanje preskočeno! Datoteka već postoji."
351
-
352
- #: lib/wfu_constants.php:114
353
- msgid "No files have been selected!"
354
- msgstr "Datoteke nisu odabrane!"
355
-
356
- #: lib/wfu_constants.php:115
357
- msgid "WPFilebase Plugin not updated because there were no files uploaded."
358
- msgstr ""
359
- "WPFilebase Plugin nije ažuriran zato što nije bilo otpremljenih datoteka."
360
-
361
- #: lib/wfu_constants.php:116
362
- msgid "Notification email was not sent because there were no files uploaded."
363
- msgstr "Mail obaveštenja nije poslat jer nije bilo otpremljenih datoteka."
364
-
365
- #: lib/wfu_constants.php:117
366
- msgid ""
367
- "Notification email was not sent because no recipients were defined. Please "
368
- "check notifyrecipients attribute in the shortcode."
369
- msgstr ""
370
- "Mail obaveštenja nije poslat jer nije bilo navedenih primalaca. Proverite "
371
- "notifyrecipients atribut u shortcode-u."
372
-
373
- #: lib/wfu_constants.php:118
374
- msgid ""
375
- "Notification email was not sent due to an error. Please check "
376
- "notifyrecipients, notifysubject and notifymessage attributes for errors."
377
- msgstr ""
378
- "Mail obaveštenja nije poslat zbog greške. Proverite notifyrecipients, "
379
- "notifysubject i notifymessage atribute da biste našli greške."
380
-
381
- #: lib/wfu_constants.php:119
382
- msgid ""
383
- "Redirection not executed because redirection link is empty. Please check "
384
- "redirectlink attribute."
385
- msgstr ""
386
- "Preusmeravanje nije izvršeno zato što je link za preusmeravanje prazan. "
387
- "Proverite redirectlink atribut."
388
-
389
- #: lib/wfu_constants.php:120
390
- msgid ""
391
- "Redirection not executed because not all files were successfully uploaded."
392
- msgstr ""
393
- "Preusmeravanje nije izvršeno zato što nisu sve datoteke uspešno otpremljene."
394
-
395
- #: lib/wfu_constants.php:123
396
- msgid "Test Mode"
397
- msgstr "Režim testiranja"
398
-
399
- #: lib/wfu_constants.php:124
400
- msgid "select dir..."
401
- msgstr "odaberite dir..."
402
-
403
- #: lib/wfu_constants.php:125
404
- msgid "type dir"
405
- msgstr "vrsta direktorijuma "
406
-
407
- #: lib/wfu_constants.php:126
408
- msgid "Upload path: %filepath%"
409
- msgstr "Putanja otpremanja: %filepath%"
410
-
411
- #: lib/wfu_constants.php:127
412
- msgid "Failed upload path: %filepath%"
413
- msgstr "Putanja otpremanja neuspešna: %filepath%"
414
-
415
- #: lib/wfu_constants.php:128
416
- msgid " (required)"
417
- msgstr "(obavezna)"
418
-
419
- #: lib/wfu_constants.php:129
420
- msgid "Files are being uploaded. Are you sure you want to exit the page?"
421
- msgstr "Datoteke su otpremljene. Da li sigurno želite da napustite stranicu?"
422
-
423
- #: lib/wfu_constants.php:132
424
- msgid "This is a test message"
425
- msgstr "Ovo je poruka testa"
426
-
427
- #: lib/wfu_constants.php:133
428
- msgid "This is a test administrator message"
429
- msgstr "Ovo je poruka testa administratora "
430
-
431
- #: lib/wfu_constants.php:134
432
- msgid "File testfile 1 under test"
433
- msgstr "Datoteka testfile 1 na testiranju"
434
-
435
- #: lib/wfu_constants.php:135
436
- msgid "File testfile 1 message"
437
- msgstr "Datoteka testfile 1 poruka"
438
-
439
- #: lib/wfu_constants.php:136
440
- msgid "File testfile 1 administrator message"
441
- msgstr "Datoteka testfile 1 poruka administratora"
442
-
443
- #: lib/wfu_constants.php:137
444
- msgid "File testfile 2 under test"
445
- msgstr "Datoteka testfile 2 na testiranju"
446
-
447
- #: lib/wfu_constants.php:138
448
- msgid "File testfile 2 message"
449
- msgstr "Datoteka testfile 2 poruka"
450
-
451
- #: lib/wfu_constants.php:139
452
- msgid "File testfile 2 administrator message"
453
- msgstr "Datoteka testfile 2 poruka administratora"
454
-
455
- #: lib/wfu_constants.php:142
456
- msgid ""
457
- "Failed to add the shortcode to the page/post. Please try again. If the "
458
- "message persists, contact administrator."
459
- msgstr ""
460
-
461
- #: lib/wfu_constants.php:143
462
- msgid ""
463
- "Failed to edit the shortcode because the contents of the page changed. Try "
464
- "again to edit the shortcode."
465
- msgstr ""
466
- "Neuspešno uređivanje shortcode-a zbog izmene sadržaja stranice. Pokušajte "
467
- "ponovo da uredite shortcode."
468
-
469
- #: lib/wfu_constants.php:144
470
- msgid ""
471
- "Failed to delete the shortcode because the contents of the page changed. Try "
472
- "again to delete it."
473
- msgstr ""
474
- "Neuspešno brisanje shortcode-a zbog izmene sadržaja stranice. Pokušajte "
475
- "ponovo da ga obrišete."
476
-
477
- #: lib/wfu_constants.php:145
478
- msgid ""
479
- "The page containing the shortcode has been modified and it is no longer "
480
- "valid. Please go back to reload the shortcode."
481
- msgstr ""
482
- "Stranica koja sadrži shortcode je izmenjena i više nije validna. Vratite se "
483
- "da ponovo učitate shortcode."
484
-
485
- #: lib/wfu_constants.php:146
486
- msgid ""
487
- "Failed to update the shortcode because the contents of the page changed. Go "
488
- "back to reload the shortcode."
489
- msgstr ""
490
- "Neuspešno ažuriranje shortcode-a zbog izmene sadržaja stranice. Vratite se "
491
- "da ponovo učitate shortcode."
492
-
493
- #: lib/wfu_constants.php:147
494
- msgid ""
495
- "Failed to update the shortcode. Please try again. If the problem persists, "
496
- "go back and reload the shortcode."
497
- msgstr ""
498
- "Neuspešno ažuriranje shortcode-a. Pokušajte ponovo. Ako se problem ne reši, "
499
- "vratite se i opet učitajte shortcode."
500
-
501
- #: lib/wfu_constants.php:150
502
- msgid ""
503
- "Insert variable %userid% inside text. It will be replaced by the id of the "
504
- "current user."
505
- msgstr ""
506
- "Unesite promenljivu %idkorisnika% u tekst. Biće zamenjena id-jem tekućeg "
507
- "korisnika."
508
-
509
- #: lib/wfu_constants.php:151
510
- msgid ""
511
- "Insert variable %username% inside text. It will be replaced by the username "
512
- "of the current user."
513
- msgstr ""
514
- "Unesite promenljivu %korisničko ime% u tekst. Biće zamenjena korisničkim "
515
- "imenom tekućeg korisnika."
516
-
517
- #: lib/wfu_constants.php:152
518
- msgid ""
519
- "Insert variable %useremail% inside text. It will be replaced by the email of "
520
- "the current user."
521
- msgstr ""
522
- "Unesite promenljivu %mailkorisnika% u tekst. Biće zamenjena mail-om tekućeg "
523
- "korisnika."
524
-
525
- #: lib/wfu_constants.php:153
526
- msgid ""
527
- "Insert variable %filename% inside text. It will be replaced by the filename "
528
- "of the uploaded file."
529
- msgstr ""
530
- "Unesite promenljivu %nazivdatoteke% u tekst. Biće zamenjena nazivom "
531
- "otpremljene datoteke."
532
-
533
- #: lib/wfu_constants.php:154
534
- msgid ""
535
- "Insert variable %filepath% inside text. It will be replaced by the full "
536
- "filepath of the uploaded file."
537
- msgstr ""
538
- "Unesite promenljivu %putanjadatoteke% u tekst. Biće zamenjena celom putanjom "
539
- "otpremljene datoteke."
540
-
541
- #: lib/wfu_constants.php:155
542
- msgid ""
543
- "Insert variable %blogid% inside text. It will be replaced by the blog id of "
544
- "the website."
545
- msgstr ""
546
- "Unesite promenljivu %idbloga% u tekst. Biće zamenjena id-jem bloga web site-"
547
- "a."
548
-
549
- #: lib/wfu_constants.php:156
550
- msgid ""
551
- "Insert variable %pageid% inside text. It will be replaced by the id of the "
552
- "current page."
553
- msgstr ""
554
- "Unesite promenljivu %idstranice% u tekst. Biće zamenjena id-jem tekuće "
555
- "stranice."
556
-
557
- #: lib/wfu_constants.php:157
558
- msgid ""
559
- "Insert variable %pagetitle% inside text. It will be replaced by the title of "
560
- "the current page."
561
- msgstr ""
562
- "Unesite promenljivu %naslovstranice% u tekst. Biće zamenjena naslovom tekuće "
563
- "stranice."
564
-
565
- #: lib/wfu_constants.php:158
566
- msgid ""
567
- "Insert variable %userdataXXX% inside text. Select the user field from the "
568
- "drop-down list. It will be replaced by the value that the user entered in "
569
- "this field."
570
- msgstr ""
571
- "Unesite promenljivu %korisnički podaciXXX%. Odaberite korisničko polje iz "
572
- "opadajuće liste. Biće zamenjena vrednošću koju je korisnik uneo u ovo polje."
573
-
574
- #: lib/wfu_constants.php:159
575
- msgid "Insert variable %n% inside text to denote a line change."
576
- msgstr "Unesite promenljivu %n% u tekst kako biste označili promenu reda."
577
-
578
- #: lib/wfu_constants.php:162
579
- msgid "Upload in progress"
580
- msgstr "Otpremanje u toku"
581
-
582
- #: lib/wfu_constants.php:163
583
- msgid "Upload in progress with warnings!"
584
- msgstr "Otpremanje sa upozorenjima u toku!"
585
-
586
- #: lib/wfu_constants.php:164
587
- msgid "Upload in progress but some files already failed!"
588
- msgstr "Otpremanje u toku, ali neke datoteke već nisu uspešno otpremljene!"
589
-
590
- #: lib/wfu_constants.php:165
591
- msgid "Upload in progress but no files uploaded so far!"
592
- msgstr "Otpremanje u toku, ali do sada nisu otpremljene nikakve datoteke!"
593
-
594
- #: lib/wfu_constants.php:166
595
- msgid "All files uploaded successfully"
596
- msgstr "Sve datoteke uspešno su otpremljene"
597
-
598
- #: lib/wfu_constants.php:167
599
- msgid "All files uploaded successfully but there are warnings!"
600
- msgstr "Sve datoteke uspešno su otpremljene, ali postoje upozorenja!"
601
-
602
- #: lib/wfu_constants.php:168
603
- msgid "File uploaded successfully but there are warnings!"
604
- msgstr "Datoteka je uspešno otpremljena, ali postoje upozorenja!"
605
-
606
- #: lib/wfu_constants.php:169
607
- msgid "Some files failed to upload!"
608
- msgstr "Neke datoteke nisu otpremljene!"
609
-
610
- #: lib/wfu_constants.php:170
611
- msgid "All files failed to upload"
612
- msgstr "Nijedna datoteka nije otpremljena"
613
-
614
- #: lib/wfu_constants.php:171
615
- msgid "File failed to upload"
616
- msgstr "Datoteka nije uspešno otpremljena"
617
-
618
- #: lib/wfu_constants.php:172
619
- msgid "There are no files to upload!"
620
- msgstr "Nema datoteka za otpremanje"
621
-
622
- #: lib/wfu_constants.php:173
623
- msgid "Test upload message"
624
- msgstr "Testiraj poruku za otpremanje"
625
-
626
- #: lib/wfu_constants.php:174
627
- msgid "JSON parse warning!"
628
- msgstr "Upozorenje za JSON parsiranje!"
629
-
630
- #: lib/wfu_constants.php:175
631
- msgid "please wait while redirecting..."
632
- msgstr "Molimo sačekajte preusmeravanje..."
633
-
634
- #: lib/wfu_constants.php:176
635
- msgid "Open visual shortcode editor in new window"
636
- msgstr "Otvori vizuelni shortcode uređivač u novom prozoru"
637
-
638
- #: lib/wfu_constants.php:177
639
- msgid "loading visual editor"
640
- msgstr "učitavanje vizuelnog uređivača"
641
-
642
- #: lib/wfu_widget.php:8
643
- msgid "Wordpress File Upload Form"
644
- msgstr ""
645
-
646
- #: lib/wfu_widget.php:9
647
- msgid "Wordpress File Upload plugin uploader for sidebars"
648
- msgstr ""
649
-
650
- #: lib/wfu_widget.php:38 lib/wfu_widget.php:98
651
- msgid "New title"
652
- msgstr "Нова титула"
653
-
654
- #~ msgid "Please fill in the above words: "
655
- #~ msgstr "Popunite sledećim rečima:"
656
-
657
- #~ msgid ""
658
- #~ "ERROR: Captcha not supported! You have an old PHP version. Upgrade your "
659
- #~ "PHP or use RecaptchaV2 (no account)."
660
- #~ msgstr ""
661
- #~ "GREŠKA: Captcha nije podržana! Imate staru PHP verziju. Nadogradite svoj "
662
- #~ "PHP ili koristite RecaptchaV2 (bez naloga)."
663
-
664
- #~ msgid "ERROR: No site key. Please contact administrator!"
665
- #~ msgstr "GREŠKA: Nema ključa site-a. Obratite se administratoru."
666
-
667
- #~ msgid ""
668
- #~ "ERROR: No site key defined! Please go to the plugin settings in Dashboard "
669
- #~ "to define Google Recaptcha keys."
670
- #~ msgstr ""
671
- #~ "GREŠKA: Ključ site-a nije određen. Idite na kontrolnu tablu podešavanja "
672
- #~ "plugin-a da biste odredili Google Recaptcha ključeve."
673
-
674
- #~ msgid "Bad captcha image!"
675
- #~ msgstr "Loša captcha slika!"
676
-
677
- #~ msgid "No input!"
678
- #~ msgstr "Nema unosa!"
679
-
680
- #~ msgid "Captcha not completed!"
681
- #~ msgstr "Captcha nije kompletan!"
682
-
683
- #~ msgid "Wrong captcha!"
684
- #~ msgstr "Pogrešan captcha!"
685
-
686
- #~ msgid "Error refreshing captcha!"
687
- #~ msgstr "Greška u osvežavanju captcha!"
688
-
689
- #~ msgid "Unknown captcha error!"
690
- #~ msgstr "Nepoznata captcha greška!"
691
-
692
- #~ msgid "Captcha not supported by your browser!"
693
- #~ msgstr "Vaš pretraživač ne podržava captcha!"
694
-
695
- #~ msgid "the secret parameter is missing"
696
- #~ msgstr "nedostaje tajni parametar"
697
-
698
- #~ msgid "the secret parameter is invalid or malformed"
699
- #~ msgstr "tajni parametar je nevažeći ili loše formulisan"
700
-
701
- #~ msgid "the response parameter is missing"
702
- #~ msgstr "nedostaje parametar odgovora "
703
-
704
- #~ msgid "the response parameter is invalid or malformed"
705
- #~ msgstr "parametar odgovora je nevažeći ili loše formulisan"
706
-
707
- #~ msgid "Please do not use drag drop due to an internal problem."
708
- #~ msgstr ""
709
- #~ "Molimo vas da ne koristite prevlačenje i pozicioniranje zbog internog "
710
- #~ "problema."
711
-
712
- #~ msgid "Error during chunked upload. Unique ID empty in chunk %d"
713
- #~ msgstr ""
714
- #~ "Došlo je do greške prilikom parcijalnog otpremanja. Jedinstveni ID u "
715
- #~ "jedinici memorije %d"
716
-
717
- #~ msgid "Chunked upload is not allowed!"
718
- #~ msgstr "Parcijalno otpremanje nije dozvoljeno!"
719
-
720
- #~ msgid "Chunked upload aborted due to error in previous chunk!"
721
- #~ msgstr ""
722
- #~ "Parcijalno otpremanje prekinuto je zbog greške u prethodnoj jedinici "
723
- #~ "memorije!"
724
-
725
- #~ msgid "Chunked upload failed, final file could not be created!"
726
- #~ msgstr ""
727
- #~ "Otpremanje u jedinici memorije neuspelo, konačna datoteka ne može se "
728
- #~ "kreirati!"
729
-
730
- #~ msgid "Could not write file chuck to destination on chunk %d"
731
- #~ msgstr ""
732
- #~ "Ne može se napisati jedinica memorije datoteke u jedinici memorije %d. "
733
-
734
- #~ msgid "Could not enlarge destination file on chunk %d"
735
- #~ msgstr "Ne može se uvećati odredišna datoteka u jedinici memorije %d."
736
-
737
- #~ msgid "Could not open file handles on chunk %d"
738
- #~ msgstr "Ne mogu se otvoriti opisi datoteke u jedinici memorije %d"
739
-
740
- #~ msgid "checking captcha..."
741
- #~ msgstr "captcha se proverava..."
742
-
743
- #~ msgid "refreshing..."
744
- #~ msgstr "osvežava se..."
745
-
746
- #~ msgid "correct captcha"
747
- #~ msgstr "ispravi captcha"
748
-
749
- #~ msgid "click to continue the upload"
750
- #~ msgstr "kliknite da biste nastavili otpremanje"
751
-
752
- #~ msgid "Clear file list?"
753
- #~ msgstr "Obriši listu datoteke?"
754
-
755
- #~ msgid "DROP HERE"
756
- #~ msgstr "POZICIONIRAJ OVDE"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Wordpress File Upload\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-11-01 20:45+0200\n"
6
+ "PO-Revision-Date: 2015-11-01 20:45+0200\n"
7
+ "Last-Translator: Borisa Djuraskovic <borisad@webhostinghub.com>\n"
8
+ "Language-Team: Iptanus Team <info@iptanus.com>\n"
9
+ "Language: sr\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Poedit-KeywordsList: __;gettext;gettext_noop\n"
14
+ "X-Poedit-Basepath: ../\n"
15
+ "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
16
+ "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
17
+ "X-Generator: Poedit 1.7.5\n"
18
+ "X-Poedit-SearchPath-0: .\n"
19
+ "X-Poedit-SearchPathExcluded-0: vendor\n"
20
+ "X-Poedit-SearchPathExcluded-1: minified\n"
21
+ "X-Poedit-SearchPathExcluded-2: unminified\n"
22
+
23
+ #: lib/wfu_constants.php:7
24
+ msgid "Upload files"
25
+ msgstr "Otpremi datoteke"
26
+
27
+ #: lib/wfu_constants.php:10
28
+ msgid "Select File/Select Files"
29
+ msgstr ""
30
+
31
+ #: lib/wfu_constants.php:11
32
+ msgid "Upload File/Upload Files"
33
+ msgstr ""
34
+
35
+ #: lib/wfu_constants.php:15
36
+ msgid "Select File"
37
+ msgstr "Odaberi datoteku"
38
+
39
+ #: lib/wfu_constants.php:16
40
+ msgid "Upload File"
41
+ msgstr "Otpremi datoteku"
42
+
43
+ #: lib/wfu_constants.php:19
44
+ msgid "File Upload Notification"
45
+ msgstr "Obaveštenje o otpremanju datoteke"
46
+
47
+ #: lib/wfu_constants.php:20
48
+ msgid ""
49
+ "Dear Recipient,%n%%n% This is an automatic delivery message to notify you "
50
+ "that a new file has been uploaded.%n%%n%Best Regards"
51
+ msgstr ""
52
+ "Dragi primaoče, %n%%n%, ovo je automatski generisana poruka koja vas "
53
+ "obaveštava da je datoteka otpremljena.%n%%n%Srdačan pozdrav"
54
+
55
+ #: lib/wfu_constants.php:21
56
+ #, php-format
57
+ msgid "File %filename% uploaded successfully"
58
+ msgstr "Datoteka %filename% uspešno otpremljena"
59
+
60
+ #: lib/wfu_constants.php:22
61
+ #, php-format
62
+ msgid "File %filename% uploaded successfully but with warnings"
63
+ msgstr "Datoteka %filename% uspešno otpremljena, ali sa upozorenjima"
64
+
65
+ #: lib/wfu_constants.php:23
66
+ msgid "File %filename% not uploaded"
67
+ msgstr "Datoteka %nazivdatoteke% nije otpremljena"
68
+
69
+ #: lib/wfu_constants.php:24
70
+ msgid "File %filename% is being uploaded"
71
+ msgstr "Datoteka %nazivdatoteke% upravo se otprema"
72
+
73
+ #: lib/wfu_constants.php:25
74
+ msgid "Your message"
75
+ msgstr "Vaša poruka"
76
+
77
+ #: lib/wfu_constants.php:26
78
+ msgid "Please fill in the above words: "
79
+ msgstr "Popunite sledećim rečima:"
80
+
81
+ #: lib/wfu_constants.php:28
82
+ msgid "File"
83
+ msgstr "Datoteka"
84
+
85
+ #: lib/wfu_constants.php:29
86
+ msgid "Date"
87
+ msgstr "Датум"
88
+
89
+ #: lib/wfu_constants.php:30
90
+ msgid "Size"
91
+ msgstr "Veličina"
92
+
93
+ #: lib/wfu_constants.php:31
94
+ msgid "User"
95
+ msgstr "Korisnik"
96
+
97
+ #: lib/wfu_constants.php:32
98
+ msgid "Page"
99
+ msgstr "Strana"
100
+
101
+ #: lib/wfu_constants.php:33
102
+ msgid "User Fields"
103
+ msgstr ""
104
+
105
+ #: lib/wfu_constants.php:34
106
+ msgid "Download"
107
+ msgstr "Preuzimanje"
108
+
109
+ #: lib/wfu_constants.php:35
110
+ msgid "Download this file"
111
+ msgstr "Преузми датотеку"
112
+
113
+ #: lib/wfu_constants.php:36
114
+ msgid "Delete"
115
+ msgstr "Obrišite"
116
+
117
+ #: lib/wfu_constants.php:37
118
+ msgid "Delete this file"
119
+ msgstr ""
120
+
121
+ #: lib/wfu_constants.php:38
122
+ msgid "Sort list based on this column"
123
+ msgstr ""
124
+
125
+ #: lib/wfu_constants.php:39
126
+ msgid "guest"
127
+ msgstr ""
128
+
129
+ #: lib/wfu_constants.php:40
130
+ msgid "unknown"
131
+ msgstr ""
132
+
133
+ #: lib/wfu_constants.php:42
134
+ msgid ""
135
+ "Error. Could not resolve ftp target filedir. Check the domain in 'ftpinfo' "
136
+ "attribute."
137
+ msgstr ""
138
+ "Greška. Ciljni direktorijum datoteke nije mogao biti razrešen. Proverite "
139
+ "domen u 'ftpinfo' atributu."
140
+
141
+ #: lib/wfu_constants.php:43
142
+ msgid "Error. Invalid ftp information. Check 'ftpinfo' attribute."
143
+ msgstr "Greška. Nevažeći ftp podaci. Proverite 'ftpinfo' atribut."
144
+
145
+ #: lib/wfu_constants.php:44
146
+ msgid ""
147
+ "Error. Could not extract ftp information from 'ftpinfo' attribute. Check its "
148
+ "syntax."
149
+ msgstr ""
150
+ "Greška. Neuspelo izvlačenje ftp podataka iz 'ftpinfo' atributa. Proverite "
151
+ "njegovu sintaksu. "
152
+
153
+ #: lib/wfu_constants.php:45
154
+ msgid ""
155
+ "Error. Could not resolve ftp target filename. Check the domain in 'ftpinfo' "
156
+ "attribute."
157
+ msgstr ""
158
+ "Greška. Ftp naziv ciljne datoteke nije mogao biti razrešen. Proverite domen "
159
+ "u 'ftpinfo' atributu."
160
+
161
+ #: lib/wfu_constants.php:46
162
+ msgid ""
163
+ "Error. The upload size limit of PHP directive upload_max_filesize is "
164
+ "preventing the upload of big files.\n"
165
+ "PHP directive upload_max_filesize limit is: "
166
+ msgstr ""
167
+ "Greška. Ograničenje veličine PHP-a za otpremanje, otpremi_max_veličinu "
168
+ "datoteke, sprečava otpremanje velikih datoteka. \n"
169
+ "PHP direktiva ograničenja otpremi_max_veličinu datoteke je:"
170
+
171
+ #: lib/wfu_constants.php:47
172
+ msgid ""
173
+ "The upload time limit of PHP directive max_input_time is preventing the "
174
+ "upload of big files.\n"
175
+ "PHP directive max_input_time limit is: "
176
+ msgstr ""
177
+ "Vremensko ograničenje za otpremanje PHP direktive, max_vreme_unosa sprečava "
178
+ "otpremanje velikih datoteka. \n"
179
+ "PHP direktiva ograničenja max_vreme_unosa je:"
180
+
181
+ #: lib/wfu_constants.php:48
182
+ msgid ""
183
+ "Error. Permission denied to write to target folder.\n"
184
+ "Check and correct read/write permissions of target folder."
185
+ msgstr ""
186
+ "Greška. Odbijena je dozvola za pisanje u ciljnoj fascikli. Proverite i "
187
+ "ispravite dozvole za čitanje/pisanje u ciljnoj fascikli. "
188
+
189
+ #: lib/wfu_constants.php:49
190
+ msgid "Targer folder doesn't exist."
191
+ msgstr "Ciljna fascikla ne postoji."
192
+
193
+ #: lib/wfu_constants.php:50
194
+ msgid "Upload failed! Missing a temporary folder."
195
+ msgstr "Otpremanje neuspešno! Nedostaje privremena fascikla. "
196
+
197
+ #: lib/wfu_constants.php:51
198
+ msgid "Upload failed! Permission denied to write to target folder."
199
+ msgstr "Otpremanje neuspešno! Odbijena dozvola za pisanje u ciljnoj fascikli."
200
+
201
+ #: lib/wfu_constants.php:52
202
+ msgid "File not allowed."
203
+ msgstr "Datoteka nije dozvoljena."
204
+
205
+ #: lib/wfu_constants.php:53
206
+ msgid "The uploaded file exceeds the file size limit."
207
+ msgstr ""
208
+ "Veličina otpremljene datoteke prevazilazi ograničenje veličine datoteke."
209
+
210
+ #: lib/wfu_constants.php:54
211
+ msgid "The uploaded file exceeds 2GB and is not supported by this server."
212
+ msgstr "Otpremljena datoteka je veća od 2GB i nije podržana ovim serverom."
213
+
214
+ #: lib/wfu_constants.php:55
215
+ msgid ""
216
+ "Upload failed! The uploaded file exceeds the file size limit of the server. "
217
+ "Please contact the administrator."
218
+ msgstr ""
219
+ "Otpremanje neuspešno! Otpremljena datoteka prevazilazi ograničenje servera "
220
+ "za veličinu datoteke. Obratite se administratoru."
221
+
222
+ #: lib/wfu_constants.php:56
223
+ msgid ""
224
+ "Upload failed! The duration of the upload exceeded the time limit of the "
225
+ "server. Please contact the administrator."
226
+ msgstr ""
227
+ "Otpremanje neuspešno! Trajanje otpremanja prevazišlo je vremensko "
228
+ "ograničenje servera. Obratite se administratoru."
229
+
230
+ #: lib/wfu_constants.php:57
231
+ msgid ""
232
+ "Upload failed! The uploaded file exceeds the MAX_FILE_SIZE directive that "
233
+ "was specified in the HTML form."
234
+ msgstr ""
235
+ "Otpremanje neuspešno! Otpremljena datoteka prevazilazi direktivu "
236
+ "MAX_VELIČINA_DATOTEKE koja je navedena u HTML obrascu."
237
+
238
+ #: lib/wfu_constants.php:58
239
+ msgid "Upload failed! The uploaded file was only partially uploaded."
240
+ msgstr "Otpremanje neuspešno! Datoteka je samo delimično otpremljena."
241
+
242
+ #: lib/wfu_constants.php:59
243
+ msgid "Upload failed! No file was uploaded."
244
+ msgstr "Otpremanje neuspešno! Nijedna datoteka nije otpremljena."
245
+
246
+ #: lib/wfu_constants.php:60
247
+ msgid "Upload failed! Failed to write file to disk."
248
+ msgstr "Otpremanje neuspešno! Datoteka nije zapisana na disk."
249
+
250
+ #: lib/wfu_constants.php:61
251
+ msgid ""
252
+ "Upload failed! Error occured while moving temporary file. Please contact "
253
+ "administrator."
254
+ msgstr ""
255
+ "Otpremanje neuspešno! Došlo je do greške prilikom pomeranja privremene "
256
+ "datoteke. Obratite se administratoru."
257
+
258
+ #: lib/wfu_constants.php:62
259
+ msgid ""
260
+ "Upload failed! A PHP extension stopped the file upload. PHP does not provide "
261
+ "a way to ascertain which extension caused the file upload to stop; examining "
262
+ "the list of loaded extensions with phpinfo() may help."
263
+ msgstr ""
264
+ "Otpremanje neuspešno! PHP ekstenzija zaustavila je otpremanje datoteke. PHP "
265
+ "ne obezbeđuje način da se utvrdi koja je ekstenzija zaustavila otpremanje. "
266
+ "Možda će pomoći ako pregledate spisak otpremljenih ekstenzija uz phpinfo(). "
267
+
268
+ #: lib/wfu_constants.php:63
269
+ msgid "Upload failed! Error occured while attemting to upload the file."
270
+ msgstr ""
271
+ "Otpremanje neuspešno! Došlo je do greške prilikom pokušaja da se otpremi "
272
+ "datoteka."
273
+
274
+ #: lib/wfu_constants.php:64
275
+ msgid "Upload failed!"
276
+ msgstr "Otpremanje neuspešno! "
277
+
278
+ #: lib/wfu_constants.php:65
279
+ msgid "No file!"
280
+ msgstr "Nema datoteke!"
281
+
282
+ #: lib/wfu_constants.php:66
283
+ msgid ""
284
+ "Upload failed! The upload has been canceled by the user or the browser "
285
+ "dropped the connection."
286
+ msgstr ""
287
+ "Otpremanje neuspešno! Korisnik je otkazao otpremanje ili je pretraživač "
288
+ "izgubio internet vezu."
289
+
290
+ #: lib/wfu_constants.php:67
291
+ msgid "Upload failed! Unknown error."
292
+ msgstr "Otpremanje neuspešno! Nepoznata greška."
293
+
294
+ #: lib/wfu_constants.php:68
295
+ msgid "Please contact the administrator."
296
+ msgstr "Obratite se administratoru."
297
+
298
+ #: lib/wfu_constants.php:69
299
+ msgid "No result from remote server!"
300
+ msgstr "Nema rezultata sa udaljenog servera!"
301
+
302
+ #: lib/wfu_constants.php:70
303
+ msgid " but with warnings"
304
+ msgstr "ali sa upozorenjima"
305
+
306
+ #: lib/wfu_constants.php:71 lib/wfu_constants.php:73
307
+ msgid "Warning: JSON parse error."
308
+ msgstr "Upozorenje: Greška prilikom JSON parsiranja."
309
+
310
+ #: lib/wfu_constants.php:72
311
+ msgid ""
312
+ "Upload parameters of this file, passed as JSON string to the handler, could "
313
+ "not be parsed."
314
+ msgstr ""
315
+ "Otpremljeni parametri ove datoteke, poslate na obradu kao JSON niz, nisu "
316
+ "mogle biti parsirane. "
317
+
318
+ #: lib/wfu_constants.php:74
319
+ msgid ""
320
+ "UploadStates, passed as JSON string to the handler, could not be parsed."
321
+ msgstr ""
322
+ "UploadStates, poslate na obradu kao JSON niz, nisu mogle biti parsirane. "
323
+
324
+ #: lib/wfu_constants.php:75
325
+ msgid ""
326
+ "Redirection to classic form functionality occurred due to unknown error."
327
+ msgstr ""
328
+ "Zbog nepoznate greške došlo je do preusmeravanja na funkcionalnost klasičnog "
329
+ "obrasca."
330
+
331
+ #: lib/wfu_constants.php:76
332
+ msgid ""
333
+ "Redirection to classic form functionality occurred because AJAX is not "
334
+ "supported."
335
+ msgstr ""
336
+ "Do preusmeravanja na funkcionalnost klasičnog obrasca došlo je zato što nije "
337
+ "podržan AJAX."
338
+
339
+ #: lib/wfu_constants.php:77
340
+ msgid ""
341
+ "Redirection to classic form functionality occurred because HTML5 is not "
342
+ "supported."
343
+ msgstr ""
344
+ "Do preusmeravanja na funkcionalnost klasičnog obrasca došlo je zato što nije "
345
+ "podržan HTML5."
346
+
347
+ #: lib/wfu_constants.php:78
348
+ msgid ""
349
+ "Redirection to classic form functionality occurred due to JSON parse error."
350
+ msgstr ""
351
+ "Do preusmeravanja na funkcionalnost klasičnog obrasca došlo je zbog JSON "
352
+ "greške prilikom parsiranja."
353
+
354
+ #: lib/wfu_constants.php:79
355
+ msgid "Please enable popup windows from the browser's settings!"
356
+ msgstr ""
357
+
358
+ #: lib/wfu_constants.php:80
359
+ msgid "cannot be empty!"
360
+ msgstr "ne može biti prazno!"
361
+
362
+ #: lib/wfu_constants.php:81
363
+ msgid "number not valid!"
364
+ msgstr ""
365
+
366
+ #: lib/wfu_constants.php:82
367
+ msgid "email not valid!"
368
+ msgstr ""
369
+
370
+ #: lib/wfu_constants.php:83
371
+ msgid "emails do not match!"
372
+ msgstr ""
373
+
374
+ #: lib/wfu_constants.php:84
375
+ msgid "no base email field in group!"
376
+ msgstr ""
377
+
378
+ #: lib/wfu_constants.php:85
379
+ msgid "passwords do not match!"
380
+ msgstr ""
381
+
382
+ #: lib/wfu_constants.php:86
383
+ msgid "no base password field in group!"
384
+ msgstr ""
385
+
386
+ #: lib/wfu_constants.php:87
387
+ msgid "checkbox unchecked!"
388
+ msgstr ""
389
+
390
+ #: lib/wfu_constants.php:88
391
+ msgid "no option selected!"
392
+ msgstr ""
393
+
394
+ #: lib/wfu_constants.php:89
395
+ msgid "no item selected!"
396
+ msgstr ""
397
+
398
+ #: lib/wfu_constants.php:90
399
+ msgid ""
400
+ "There are more than one instances of the plugin in this page with the same "
401
+ "id. Please change it."
402
+ msgstr ""
403
+ "Na ovoj stranici ima više od jednog primera plugin-a sa istom "
404
+ "identifikacijom."
405
+
406
+ #: lib/wfu_constants.php:91
407
+ msgid ""
408
+ "Cannot edit the shortcode because the page has been modified. Please reload "
409
+ "the page."
410
+ msgstr ""
411
+ "Shortcode ne može da se uredi zato što stranica nije modifikovana. Ponovo "
412
+ "učitajte stranicu."
413
+
414
+ #: lib/wfu_constants.php:92
415
+ msgid ""
416
+ "ERROR: Captcha not supported! You have an old PHP version. Upgrade your PHP "
417
+ "or use RecaptchaV2 (no account)."
418
+ msgstr ""
419
+ "GREŠKA: Captcha nije podržana! Imate staru PHP verziju. Nadogradite svoj PHP "
420
+ "ili koristite RecaptchaV2 (bez naloga)."
421
+
422
+ #: lib/wfu_constants.php:93
423
+ msgid "ERROR: No site key. Please contact administrator!"
424
+ msgstr "GREŠKA: Nema ključa site-a. Obratite se administratoru."
425
+
426
+ #: lib/wfu_constants.php:94
427
+ msgid ""
428
+ "ERROR: No site key defined! Please go to the plugin settings in Dashboard to "
429
+ "define Google Recaptcha keys."
430
+ msgstr ""
431
+ "GREŠKA: Ključ site-a nije određen. Idite na kontrolnu tablu podešavanja "
432
+ "plugin-a da biste odredili Google Recaptcha ključeve."
433
+
434
+ #: lib/wfu_constants.php:95
435
+ msgid "Bad captcha image!"
436
+ msgstr "Loša captcha slika!"
437
+
438
+ #: lib/wfu_constants.php:96
439
+ msgid "No input!"
440
+ msgstr "Nema unosa!"
441
+
442
+ #: lib/wfu_constants.php:97
443
+ msgid "Captcha not completed!"
444
+ msgstr "Captcha nije kompletan!"
445
+
446
+ #: lib/wfu_constants.php:98
447
+ msgid "Wrong captcha!"
448
+ msgstr "Pogrešan captcha!"
449
+
450
+ #: lib/wfu_constants.php:99
451
+ msgid "Error refreshing captcha!"
452
+ msgstr "Greška u osvežavanju captcha!"
453
+
454
+ #: lib/wfu_constants.php:100
455
+ msgid "Unknown captcha error!"
456
+ msgstr "Nepoznata captcha greška!"
457
+
458
+ #: lib/wfu_constants.php:101
459
+ msgid "Captcha not supported by your browser!"
460
+ msgstr "Vaš pretraživač ne podržava captcha!"
461
+
462
+ #: lib/wfu_constants.php:102
463
+ msgid "the secret parameter is missing"
464
+ msgstr "nedostaje tajni parametar"
465
+
466
+ #: lib/wfu_constants.php:103
467
+ msgid "the secret parameter is invalid or malformed"
468
+ msgstr "tajni parametar je nevažeći ili loše formulisan"
469
+
470
+ #: lib/wfu_constants.php:104
471
+ msgid "the response parameter is missing"
472
+ msgstr "nedostaje parametar odgovora "
473
+
474
+ #: lib/wfu_constants.php:105
475
+ msgid "the response parameter is invalid or malformed"
476
+ msgstr "parametar odgovora je nevažeći ili loše formulisan"
477
+
478
+ #: lib/wfu_constants.php:106
479
+ msgid "Please do not use drag drop due to an internal problem."
480
+ msgstr ""
481
+ "Molimo vas da ne koristite prevlačenje i pozicioniranje zbog internog "
482
+ "problema."
483
+
484
+ #: lib/wfu_constants.php:107
485
+ #, php-format
486
+ msgid "Error during chunked upload. Unique ID empty in chunk %d"
487
+ msgstr ""
488
+ "Došlo je do greške prilikom parcijalnog otpremanja. Jedinstveni ID u "
489
+ "jedinici memorije %d"
490
+
491
+ #: lib/wfu_constants.php:108
492
+ msgid "Chunked upload is not allowed!"
493
+ msgstr "Parcijalno otpremanje nije dozvoljeno!"
494
+
495
+ #: lib/wfu_constants.php:109
496
+ msgid "Chunked upload aborted due to error in previous chunk!"
497
+ msgstr ""
498
+ "Parcijalno otpremanje prekinuto je zbog greške u prethodnoj jedinici "
499
+ "memorije!"
500
+
501
+ #: lib/wfu_constants.php:110
502
+ msgid "Chunked upload failed, final file could not be created!"
503
+ msgstr ""
504
+ "Otpremanje u jedinici memorije neuspelo, konačna datoteka ne može se "
505
+ "kreirati!"
506
+
507
+ #: lib/wfu_constants.php:111
508
+ #, php-format
509
+ msgid "Could not write file chuck to destination on chunk %d"
510
+ msgstr ""
511
+ "Ne može se napisati jedinica memorije datoteke u jedinici memorije %d. "
512
+
513
+ #: lib/wfu_constants.php:112
514
+ #, php-format
515
+ msgid "Could not enlarge destination file on chunk %d"
516
+ msgstr "Ne može se uvećati odredišna datoteka u jedinici memorije %d."
517
+
518
+ #: lib/wfu_constants.php:113
519
+ #, php-format
520
+ msgid "Could not open file handles on chunk %d"
521
+ msgstr "Ne mogu se otvoriti opisi datoteke u jedinici memorije %d"
522
+
523
+ #: lib/wfu_constants.php:114
524
+ msgid "You are not allowed to delete this file!"
525
+ msgstr ""
526
+
527
+ #: lib/wfu_constants.php:116
528
+ msgid "Upload skipped! File already exists."
529
+ msgstr "Otpremanje preskočeno! Datoteka već postoji."
530
+
531
+ #: lib/wfu_constants.php:117
532
+ msgid "No files have been selected!"
533
+ msgstr "Datoteke nisu odabrane!"
534
+
535
+ #: lib/wfu_constants.php:118
536
+ msgid "WPFilebase Plugin not updated because there were no files uploaded."
537
+ msgstr ""
538
+ "WPFilebase Plugin nije ažuriran zato što nije bilo otpremljenih datoteka."
539
+
540
+ #: lib/wfu_constants.php:119
541
+ msgid "Notification email was not sent because there were no files uploaded."
542
+ msgstr "Mail obaveštenja nije poslat jer nije bilo otpremljenih datoteka."
543
+
544
+ #: lib/wfu_constants.php:120
545
+ msgid ""
546
+ "Notification email was not sent because no recipients were defined. Please "
547
+ "check notifyrecipients attribute in the shortcode."
548
+ msgstr ""
549
+ "Mail obaveštenja nije poslat jer nije bilo navedenih primalaca. Proverite "
550
+ "notifyrecipients atribut u shortcode-u."
551
+
552
+ #: lib/wfu_constants.php:121
553
+ msgid ""
554
+ "Notification email was not sent due to an error. Please check "
555
+ "notifyrecipients, notifysubject and notifymessage attributes for errors."
556
+ msgstr ""
557
+ "Mail obaveštenja nije poslat zbog greške. Proverite notifyrecipients, "
558
+ "notifysubject i notifymessage atribute da biste našli greške."
559
+
560
+ #: lib/wfu_constants.php:122
561
+ msgid ""
562
+ "Redirection not executed because redirection link is empty. Please check "
563
+ "redirectlink attribute."
564
+ msgstr ""
565
+ "Preusmeravanje nije izvršeno zato što je link za preusmeravanje prazan. "
566
+ "Proverite redirectlink atribut."
567
+
568
+ #: lib/wfu_constants.php:123
569
+ msgid ""
570
+ "Redirection not executed because not all files were successfully uploaded."
571
+ msgstr ""
572
+ "Preusmeravanje nije izvršeno zato što nisu sve datoteke uspešno otpremljene."
573
+
574
+ #: lib/wfu_constants.php:125
575
+ msgid ""
576
+ "Failed to add the shortcode to the page/post. Please try again. If the "
577
+ "message persists, contact administrator."
578
+ msgstr ""
579
+
580
+ #: lib/wfu_constants.php:126
581
+ msgid ""
582
+ "Failed to edit the shortcode because the contents of the page changed. Try "
583
+ "again to edit the shortcode."
584
+ msgstr ""
585
+ "Neuspešno uređivanje shortcode-a zbog izmene sadržaja stranice. Pokušajte "
586
+ "ponovo da uredite shortcode."
587
+
588
+ #: lib/wfu_constants.php:127
589
+ msgid ""
590
+ "Failed to delete the shortcode because the contents of the page changed. Try "
591
+ "again to delete it."
592
+ msgstr ""
593
+ "Neuspešno brisanje shortcode-a zbog izmene sadržaja stranice. Pokušajte "
594
+ "ponovo da ga obrišete."
595
+
596
+ #: lib/wfu_constants.php:128
597
+ msgid ""
598
+ "The page containing the shortcode has been modified and it is no longer "
599
+ "valid. Please go back to reload the shortcode."
600
+ msgstr ""
601
+ "Stranica koja sadrži shortcode je izmenjena i više nije validna. Vratite se "
602
+ "da ponovo učitate shortcode."
603
+
604
+ #: lib/wfu_constants.php:129
605
+ msgid ""
606
+ "Failed to update the shortcode because the contents of the page changed. Go "
607
+ "back to reload the shortcode."
608
+ msgstr ""
609
+ "Neuspešno ažuriranje shortcode-a zbog izmene sadržaja stranice. Vratite se "
610
+ "da ponovo učitate shortcode."
611
+
612
+ #: lib/wfu_constants.php:130
613
+ msgid ""
614
+ "Failed to update the shortcode. Please try again. If the problem persists, "
615
+ "go back and reload the shortcode."
616
+ msgstr ""
617
+ "Neuspešno ažuriranje shortcode-a. Pokušajte ponovo. Ako se problem ne reši, "
618
+ "vratite se i opet učitajte shortcode."
619
+
620
+ #: lib/wfu_constants.php:132
621
+ msgid "This is a test message"
622
+ msgstr "Ovo je poruka testa"
623
+
624
+ #: lib/wfu_constants.php:133
625
+ msgid "This is a test administrator message"
626
+ msgstr "Ovo je poruka testa administratora "
627
+
628
+ #: lib/wfu_constants.php:134
629
+ msgid "File testfile 1 under test"
630
+ msgstr "Datoteka testfile 1 na testiranju"
631
+
632
+ #: lib/wfu_constants.php:135
633
+ msgid "File testfile 1 message"
634
+ msgstr "Datoteka testfile 1 poruka"
635
+
636
+ #: lib/wfu_constants.php:136
637
+ msgid "File testfile 1 administrator message"
638
+ msgstr "Datoteka testfile 1 poruka administratora"
639
+
640
+ #: lib/wfu_constants.php:137
641
+ msgid "File testfile 2 under test"
642
+ msgstr "Datoteka testfile 2 na testiranju"
643
+
644
+ #: lib/wfu_constants.php:138
645
+ msgid "File testfile 2 message"
646
+ msgstr "Datoteka testfile 2 poruka"
647
+
648
+ #: lib/wfu_constants.php:139
649
+ msgid "File testfile 2 administrator message"
650
+ msgstr "Datoteka testfile 2 poruka administratora"
651
+
652
+ #: lib/wfu_constants.php:141
653
+ msgid ""
654
+ "Insert variable %userid% inside text. It will be replaced by the id of the "
655
+ "current user."
656
+ msgstr ""
657
+ "Unesite promenljivu %idkorisnika% u tekst. Biće zamenjena id-jem tekućeg "
658
+ "korisnika."
659
+
660
+ #: lib/wfu_constants.php:142
661
+ msgid ""
662
+ "Insert variable %username% inside text. It will be replaced by the username "
663
+ "of the current user."
664
+ msgstr ""
665
+ "Unesite promenljivu %korisničko ime% u tekst. Biće zamenjena korisničkim "
666
+ "imenom tekućeg korisnika."
667
+
668
+ #: lib/wfu_constants.php:143
669
+ msgid ""
670
+ "Insert variable %useremail% inside text. It will be replaced by the email of "
671
+ "the current user."
672
+ msgstr ""
673
+ "Unesite promenljivu %mailkorisnika% u tekst. Biće zamenjena mail-om tekućeg "
674
+ "korisnika."
675
+
676
+ #: lib/wfu_constants.php:144
677
+ msgid ""
678
+ "Insert variable %filename% inside text. It will be replaced by the filename "
679
+ "of the uploaded file."
680
+ msgstr ""
681
+ "Unesite promenljivu %nazivdatoteke% u tekst. Biće zamenjena nazivom "
682
+ "otpremljene datoteke."
683
+
684
+ #: lib/wfu_constants.php:145
685
+ msgid ""
686
+ "Insert variable %filepath% inside text. It will be replaced by the full "
687
+ "filepath of the uploaded file."
688
+ msgstr ""
689
+ "Unesite promenljivu %putanjadatoteke% u tekst. Biće zamenjena celom putanjom "
690
+ "otpremljene datoteke."
691
+
692
+ #: lib/wfu_constants.php:146
693
+ msgid ""
694
+ "Insert variable %blogid% inside text. It will be replaced by the blog id of "
695
+ "the website."
696
+ msgstr ""
697
+ "Unesite promenljivu %idbloga% u tekst. Biće zamenjena id-jem bloga web site-"
698
+ "a."
699
+
700
+ #: lib/wfu_constants.php:147
701
+ msgid ""
702
+ "Insert variable %pageid% inside text. It will be replaced by the id of the "
703
+ "current page."
704
+ msgstr ""
705
+ "Unesite promenljivu %idstranice% u tekst. Biće zamenjena id-jem tekuće "
706
+ "stranice."
707
+
708
+ #: lib/wfu_constants.php:148
709
+ msgid ""
710
+ "Insert variable %pagetitle% inside text. It will be replaced by the title of "
711
+ "the current page."
712
+ msgstr ""
713
+ "Unesite promenljivu %naslovstranice% u tekst. Biće zamenjena naslovom tekuće "
714
+ "stranice."
715
+
716
+ #: lib/wfu_constants.php:149
717
+ msgid ""
718
+ "Insert variable %userdataXXX% inside text. Select the user field from the "
719
+ "drop-down list. It will be replaced by the value that the user entered in "
720
+ "this field."
721
+ msgstr ""
722
+ "Unesite promenljivu %korisnički podaciXXX%. Odaberite korisničko polje iz "
723
+ "opadajuće liste. Biće zamenjena vrednošću koju je korisnik uneo u ovo polje."
724
+
725
+ #: lib/wfu_constants.php:150
726
+ msgid "Insert variable %n% inside text to denote a line change."
727
+ msgstr "Unesite promenljivu %n% u tekst kako biste označili promenu reda."
728
+
729
+ #: lib/wfu_constants.php:152
730
+ msgid "Test Mode"
731
+ msgstr "Režim testiranja"
732
+
733
+ #: lib/wfu_constants.php:153
734
+ msgid "select dir..."
735
+ msgstr "odaberite dir..."
736
+
737
+ #: lib/wfu_constants.php:154
738
+ msgid "type dir"
739
+ msgstr "vrsta direktorijuma "
740
+
741
+ #: lib/wfu_constants.php:155
742
+ msgid "Upload path: %filepath%"
743
+ msgstr "Putanja otpremanja: %filepath%"
744
+
745
+ #: lib/wfu_constants.php:156
746
+ msgid "Failed upload path: %filepath%"
747
+ msgstr "Putanja otpremanja neuspešna: %filepath%"
748
+
749
+ #: lib/wfu_constants.php:157
750
+ msgid " (required)"
751
+ msgstr "(obavezna)"
752
+
753
+ #: lib/wfu_constants.php:158
754
+ msgid "Files are being uploaded. Are you sure you want to exit the page?"
755
+ msgstr "Datoteke su otpremljene. Da li sigurno želite da napustite stranicu?"
756
+
757
+ #: lib/wfu_constants.php:159
758
+ msgid "checking captcha..."
759
+ msgstr "captcha se proverava..."
760
+
761
+ #: lib/wfu_constants.php:160
762
+ msgid "refreshing..."
763
+ msgstr "osvežava se..."
764
+
765
+ #: lib/wfu_constants.php:161
766
+ msgid "correct captcha"
767
+ msgstr "ispravi captcha"
768
+
769
+ #: lib/wfu_constants.php:162
770
+ msgid "click to continue the upload"
771
+ msgstr "kliknite da biste nastavili otpremanje"
772
+
773
+ #: lib/wfu_constants.php:163
774
+ msgid "Are you sure you want to delete this file?"
775
+ msgstr ""
776
+
777
+ #: lib/wfu_constants.php:164
778
+ msgid "Upload in progress"
779
+ msgstr "Otpremanje u toku"
780
+
781
+ #: lib/wfu_constants.php:165
782
+ msgid "Upload in progress with warnings!"
783
+ msgstr "Otpremanje sa upozorenjima u toku!"
784
+
785
+ #: lib/wfu_constants.php:166
786
+ msgid "Upload in progress but some files already failed!"
787
+ msgstr "Otpremanje u toku, ali neke datoteke već nisu uspešno otpremljene!"
788
+
789
+ #: lib/wfu_constants.php:167
790
+ msgid "Upload in progress but no files uploaded so far!"
791
+ msgstr "Otpremanje u toku, ali do sada nisu otpremljene nikakve datoteke!"
792
+
793
+ #: lib/wfu_constants.php:168
794
+ msgid "All files uploaded successfully"
795
+ msgstr "Sve datoteke uspešno su otpremljene"
796
+
797
+ #: lib/wfu_constants.php:169
798
+ msgid "All files uploaded successfully but there are warnings!"
799
+ msgstr "Sve datoteke uspešno su otpremljene, ali postoje upozorenja!"
800
+
801
+ #: lib/wfu_constants.php:170
802
+ msgid "File uploaded successfully but there are warnings!"
803
+ msgstr "Datoteka je uspešno otpremljena, ali postoje upozorenja!"
804
+
805
+ #: lib/wfu_constants.php:171
806
+ msgid "Some files failed to upload!"
807
+ msgstr "Neke datoteke nisu otpremljene!"
808
+
809
+ #: lib/wfu_constants.php:172
810
+ msgid "All files failed to upload"
811
+ msgstr "Nijedna datoteka nije otpremljena"
812
+
813
+ #: lib/wfu_constants.php:173
814
+ msgid "File failed to upload"
815
+ msgstr "Datoteka nije uspešno otpremljena"
816
+
817
+ #: lib/wfu_constants.php:174
818
+ msgid "There are no files to upload!"
819
+ msgstr "Nema datoteka za otpremanje"
820
+
821
+ #: lib/wfu_constants.php:175
822
+ msgid "Test upload message"
823
+ msgstr "Testiraj poruku za otpremanje"
824
+
825
+ #: lib/wfu_constants.php:176
826
+ msgid "JSON parse warning!"
827
+ msgstr "Upozorenje za JSON parsiranje!"
828
+
829
+ #: lib/wfu_constants.php:177
830
+ msgid "please wait while redirecting..."
831
+ msgstr "Molimo sačekajte preusmeravanje..."
832
+
833
+ #: lib/wfu_constants.php:178
834
+ msgid "Open visual shortcode editor in new window"
835
+ msgstr "Otvori vizuelni shortcode uređivač u novom prozoru"
836
+
837
+ #: lib/wfu_constants.php:179
838
+ msgid "loading visual editor"
839
+ msgstr "učitavanje vizuelnog uređivača"
840
+
841
+ #: lib/wfu_constants.php:180
842
+ msgid "Clear file list?"
843
+ msgstr "Obriši listu datoteke?"
844
+
845
+ #: lib/wfu_constants.php:181
846
+ msgid "DROP HERE"
847
+ msgstr "POZICIONIRAJ OVDE"
848
+
849
+ #: lib/wfu_constants.php:183
850
+ msgid "Wordpress File Upload Form"
851
+ msgstr ""
852
+
853
+ #: lib/wfu_constants.php:184
854
+ msgid "Wordpress File Upload plugin uploader for sidebars"
855
+ msgstr ""
856
+
857
+ #: lib/wfu_constants.php:185
858
+ msgid "Upload Files"
859
+ msgstr ""
860
+
861
+ #~ msgid "New title"
862
+ #~ msgstr "Нова титула"
languages/{wordpress-file-upload.pot → wp-file-upload.pot} RENAMED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Wordpress File Upload\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-09-29 11:08+0200\n"
6
- "PO-Revision-Date: 2015-09-29 11:08+0200\n"
7
  "Last-Translator: nickboss <info@iptanus.com>\n"
8
  "Language-Team: Iptanus Team <info@iptanus.com>\n"
9
  "Language: en\n"
@@ -15,352 +15,527 @@ msgstr ""
15
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
  "X-Generator: Poedit 1.7.5\n"
17
  "X-Poedit-SearchPath-0: .\n"
 
 
 
18
 
19
  #: lib/wfu_constants.php:7
20
  msgid "Upload files"
21
  msgstr ""
22
 
23
- #: lib/wfu_constants.php:8
 
 
 
 
 
 
 
 
24
  msgid "Select File"
25
  msgstr ""
26
 
27
- #: lib/wfu_constants.php:9
28
  msgid "Upload File"
29
  msgstr ""
30
 
31
- #: lib/wfu_constants.php:28
32
  msgid "File Upload Notification"
33
  msgstr ""
34
 
35
- #: lib/wfu_constants.php:29
36
  msgid ""
37
  "Dear Recipient,%n%%n% This is an automatic delivery message to notify you "
38
  "that a new file has been uploaded.%n%%n%Best Regards"
39
  msgstr ""
40
 
41
- #: lib/wfu_constants.php:35
42
  #, php-format
43
  msgid "File %filename% uploaded successfully"
44
  msgstr ""
45
 
46
- #: lib/wfu_constants.php:36
47
  #, php-format
48
  msgid "File %filename% uploaded successfully but with warnings"
49
  msgstr ""
50
 
51
- #: lib/wfu_constants.php:37
52
  msgid "File %filename% not uploaded"
53
  msgstr ""
54
 
55
- #: lib/wfu_constants.php:38
56
  msgid "File %filename% is being uploaded"
57
  msgstr ""
58
 
59
- #: lib/wfu_constants.php:56
60
  msgid "Your message"
61
  msgstr ""
62
 
63
- #: lib/wfu_constants.php:61
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
  msgid ""
65
  "Error. Could not resolve ftp target filedir. Check the domain in 'ftpinfo' "
66
  "attribute."
67
  msgstr ""
68
 
69
- #: lib/wfu_constants.php:62
70
  msgid "Error. Invalid ftp information. Check 'ftpinfo' attribute."
71
  msgstr ""
72
 
73
- #: lib/wfu_constants.php:63
74
  msgid ""
75
  "Error. Could not extract ftp information from 'ftpinfo' attribute. Check its "
76
  "syntax."
77
  msgstr ""
78
 
79
- #: lib/wfu_constants.php:64
80
  msgid ""
81
  "Error. Could not resolve ftp target filename. Check the domain in 'ftpinfo' "
82
  "attribute."
83
  msgstr ""
84
 
85
- #: lib/wfu_constants.php:65
86
  msgid ""
87
  "Error. The upload size limit of PHP directive upload_max_filesize is "
88
  "preventing the upload of big files.\n"
89
  "PHP directive upload_max_filesize limit is: "
90
  msgstr ""
91
 
92
- #: lib/wfu_constants.php:66
93
  msgid ""
94
  "The upload time limit of PHP directive max_input_time is preventing the "
95
  "upload of big files.\n"
96
  "PHP directive max_input_time limit is: "
97
  msgstr ""
98
 
99
- #: lib/wfu_constants.php:67
100
  msgid ""
101
  "Error. Permission denied to write to target folder.\n"
102
  "Check and correct read/write permissions of target folder."
103
  msgstr ""
104
 
105
- #: lib/wfu_constants.php:68
106
  msgid "Targer folder doesn't exist."
107
  msgstr ""
108
 
109
- #: lib/wfu_constants.php:69
110
  msgid "Upload failed! Missing a temporary folder."
111
  msgstr ""
112
 
113
- #: lib/wfu_constants.php:70
114
  msgid "Upload failed! Permission denied to write to target folder."
115
  msgstr ""
116
 
117
- #: lib/wfu_constants.php:71
118
  msgid "File not allowed."
119
  msgstr ""
120
 
121
- #: lib/wfu_constants.php:72
122
  msgid "The uploaded file exceeds the file size limit."
123
  msgstr ""
124
 
125
- #: lib/wfu_constants.php:73
126
  msgid "The uploaded file exceeds 2GB and is not supported by this server."
127
  msgstr ""
128
 
129
- #: lib/wfu_constants.php:74
130
  msgid ""
131
  "Upload failed! The uploaded file exceeds the file size limit of the server. "
132
  "Please contact the administrator."
133
  msgstr ""
134
 
135
- #: lib/wfu_constants.php:75
136
  msgid ""
137
  "Upload failed! The duration of the upload exceeded the time limit of the "
138
  "server. Please contact the administrator."
139
  msgstr ""
140
 
141
- #: lib/wfu_constants.php:76
142
  msgid ""
143
  "Upload failed! The uploaded file exceeds the MAX_FILE_SIZE directive that "
144
  "was specified in the HTML form."
145
  msgstr ""
146
 
147
- #: lib/wfu_constants.php:77
148
  msgid "Upload failed! The uploaded file was only partially uploaded."
149
  msgstr ""
150
 
151
- #: lib/wfu_constants.php:78
152
  msgid "Upload failed! No file was uploaded."
153
  msgstr ""
154
 
155
- #: lib/wfu_constants.php:79
156
  msgid "Upload failed! Failed to write file to disk."
157
  msgstr ""
158
 
159
- #: lib/wfu_constants.php:80
160
  msgid ""
161
  "Upload failed! Error occured while moving temporary file. Please contact "
162
  "administrator."
163
  msgstr ""
164
 
165
- #: lib/wfu_constants.php:81
166
  msgid ""
167
  "Upload failed! A PHP extension stopped the file upload. PHP does not provide "
168
  "a way to ascertain which extension caused the file upload to stop; examining "
169
  "the list of loaded extensions with phpinfo() may help."
170
  msgstr ""
171
 
172
- #: lib/wfu_constants.php:82
173
  msgid "Upload failed! Error occured while attemting to upload the file."
174
  msgstr ""
175
 
176
- #: lib/wfu_constants.php:83
177
  msgid "Upload failed!"
178
  msgstr ""
179
 
180
- #: lib/wfu_constants.php:84
181
  msgid "No file!"
182
  msgstr ""
183
 
184
- #: lib/wfu_constants.php:85
185
  msgid ""
186
  "Upload failed! The upload has been canceled by the user or the browser "
187
  "dropped the connection."
188
  msgstr ""
189
 
190
- #: lib/wfu_constants.php:86
191
  msgid "Upload failed! Unknown error."
192
  msgstr ""
193
 
194
- #: lib/wfu_constants.php:87
195
  msgid "Please contact the administrator."
196
  msgstr ""
197
 
198
- #: lib/wfu_constants.php:88
199
  msgid "No result from remote server!"
200
  msgstr ""
201
 
202
- #: lib/wfu_constants.php:89
203
  msgid " but with warnings"
204
  msgstr ""
205
 
206
- #: lib/wfu_constants.php:90 lib/wfu_constants.php:92
207
  msgid "Warning: JSON parse error."
208
  msgstr ""
209
 
210
- #: lib/wfu_constants.php:91
211
  msgid ""
212
  "Upload parameters of this file, passed as JSON string to the handler, could "
213
  "not be parsed."
214
  msgstr ""
215
 
216
- #: lib/wfu_constants.php:93
217
  msgid ""
218
  "UploadStates, passed as JSON string to the handler, could not be parsed."
219
  msgstr ""
220
 
221
- #: lib/wfu_constants.php:94
222
  msgid ""
223
  "Redirection to classic form functionality occurred due to unknown error."
224
  msgstr ""
225
 
226
- #: lib/wfu_constants.php:95
227
  msgid ""
228
  "Redirection to classic form functionality occurred because AJAX is not "
229
  "supported."
230
  msgstr ""
231
 
232
- #: lib/wfu_constants.php:96
233
  msgid ""
234
  "Redirection to classic form functionality occurred because HTML5 is not "
235
  "supported."
236
  msgstr ""
237
 
238
- #: lib/wfu_constants.php:97
239
  msgid ""
240
  "Redirection to classic form functionality occurred due to JSON parse error."
241
  msgstr ""
242
 
243
- #: lib/wfu_constants.php:98
244
  msgid "Please enable popup windows from the browser's settings!"
245
  msgstr ""
246
 
247
- #: lib/wfu_constants.php:99
248
  msgid "cannot be empty!"
249
  msgstr ""
250
 
251
- #: lib/wfu_constants.php:100
252
  msgid "number not valid!"
253
  msgstr ""
254
 
255
- #: lib/wfu_constants.php:101
256
  msgid "email not valid!"
257
  msgstr ""
258
 
259
- #: lib/wfu_constants.php:102
260
  msgid "emails do not match!"
261
  msgstr ""
262
 
263
- #: lib/wfu_constants.php:103
264
  msgid "no base email field in group!"
265
  msgstr ""
266
 
267
- #: lib/wfu_constants.php:104
268
  msgid "passwords do not match!"
269
  msgstr ""
270
 
271
- #: lib/wfu_constants.php:105
272
  msgid "no base password field in group!"
273
  msgstr ""
274
 
275
- #: lib/wfu_constants.php:106
276
  msgid "checkbox unchecked!"
277
  msgstr ""
278
 
279
- #: lib/wfu_constants.php:107
280
  msgid "no option selected!"
281
  msgstr ""
282
 
283
- #: lib/wfu_constants.php:108
284
  msgid "no item selected!"
285
  msgstr ""
286
 
287
- #: lib/wfu_constants.php:109
288
  msgid ""
289
  "There are more than one instances of the plugin in this page with the same "
290
  "id. Please change it."
291
  msgstr ""
292
 
293
- #: lib/wfu_constants.php:110
294
  msgid ""
295
  "Cannot edit the shortcode because the page has been modified. Please reload "
296
  "the page."
297
  msgstr ""
298
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
299
  #: lib/wfu_constants.php:113
300
- msgid "Upload skipped! File already exists."
 
301
  msgstr ""
302
 
303
  #: lib/wfu_constants.php:114
 
 
 
 
 
 
 
 
304
  msgid "No files have been selected!"
305
  msgstr ""
306
 
307
- #: lib/wfu_constants.php:115
308
  msgid "WPFilebase Plugin not updated because there were no files uploaded."
309
  msgstr ""
310
 
311
- #: lib/wfu_constants.php:116
312
  msgid "Notification email was not sent because there were no files uploaded."
313
  msgstr ""
314
 
315
- #: lib/wfu_constants.php:117
316
  msgid ""
317
  "Notification email was not sent because no recipients were defined. Please "
318
  "check notifyrecipients attribute in the shortcode."
319
  msgstr ""
320
 
321
- #: lib/wfu_constants.php:118
322
  msgid ""
323
  "Notification email was not sent due to an error. Please check "
324
  "notifyrecipients, notifysubject and notifymessage attributes for errors."
325
  msgstr ""
326
 
327
- #: lib/wfu_constants.php:119
328
  msgid ""
329
  "Redirection not executed because redirection link is empty. Please check "
330
  "redirectlink attribute."
331
  msgstr ""
332
 
333
- #: lib/wfu_constants.php:120
334
  msgid ""
335
  "Redirection not executed because not all files were successfully uploaded."
336
  msgstr ""
337
 
338
- #: lib/wfu_constants.php:123
339
- msgid "Test Mode"
340
- msgstr ""
341
-
342
- #: lib/wfu_constants.php:124
343
- msgid "select dir..."
344
- msgstr ""
345
-
346
  #: lib/wfu_constants.php:125
347
- msgid "type dir"
 
 
348
  msgstr ""
349
 
350
  #: lib/wfu_constants.php:126
351
- msgid "Upload path: %filepath%"
 
 
352
  msgstr ""
353
 
354
  #: lib/wfu_constants.php:127
355
- msgid "Failed upload path: %filepath%"
 
 
356
  msgstr ""
357
 
358
  #: lib/wfu_constants.php:128
359
- msgid " (required)"
 
 
360
  msgstr ""
361
 
362
  #: lib/wfu_constants.php:129
363
- msgid "Files are being uploaded. Are you sure you want to exit the page?"
 
 
 
 
 
 
 
 
364
  msgstr ""
365
 
366
  #: lib/wfu_constants.php:132
@@ -395,173 +570,193 @@ msgstr ""
395
  msgid "File testfile 2 administrator message"
396
  msgstr ""
397
 
 
 
 
 
 
 
398
  #: lib/wfu_constants.php:142
399
  msgid ""
400
- "Failed to add the shortcode to the page/post. Please try again. If the "
401
- "message persists, contact administrator."
402
  msgstr ""
403
 
404
  #: lib/wfu_constants.php:143
405
  msgid ""
406
- "Failed to edit the shortcode because the contents of the page changed. Try "
407
- "again to edit the shortcode."
408
  msgstr ""
409
 
410
  #: lib/wfu_constants.php:144
411
  msgid ""
412
- "Failed to delete the shortcode because the contents of the page changed. Try "
413
- "again to delete it."
414
  msgstr ""
415
 
416
  #: lib/wfu_constants.php:145
417
  msgid ""
418
- "The page containing the shortcode has been modified and it is no longer "
419
- "valid. Please go back to reload the shortcode."
420
  msgstr ""
421
 
422
  #: lib/wfu_constants.php:146
423
  msgid ""
424
- "Failed to update the shortcode because the contents of the page changed. Go "
425
- "back to reload the shortcode."
426
  msgstr ""
427
 
428
  #: lib/wfu_constants.php:147
429
  msgid ""
430
- "Failed to update the shortcode. Please try again. If the problem persists, "
431
- "go back and reload the shortcode."
432
  msgstr ""
433
 
434
- #: lib/wfu_constants.php:150
435
  msgid ""
436
- "Insert variable %userid% inside text. It will be replaced by the id of the "
437
- "current user."
438
  msgstr ""
439
 
440
- #: lib/wfu_constants.php:151
441
  msgid ""
442
- "Insert variable %username% inside text. It will be replaced by the username "
443
- "of the current user."
 
 
 
 
 
444
  msgstr ""
445
 
446
  #: lib/wfu_constants.php:152
447
- msgid ""
448
- "Insert variable %useremail% inside text. It will be replaced by the email of "
449
- "the current user."
450
  msgstr ""
451
 
452
  #: lib/wfu_constants.php:153
453
- msgid ""
454
- "Insert variable %filename% inside text. It will be replaced by the filename "
455
- "of the uploaded file."
456
  msgstr ""
457
 
458
  #: lib/wfu_constants.php:154
459
- msgid ""
460
- "Insert variable %filepath% inside text. It will be replaced by the full "
461
- "filepath of the uploaded file."
462
  msgstr ""
463
 
464
  #: lib/wfu_constants.php:155
465
- msgid ""
466
- "Insert variable %blogid% inside text. It will be replaced by the blog id of "
467
- "the website."
468
  msgstr ""
469
 
470
  #: lib/wfu_constants.php:156
471
- msgid ""
472
- "Insert variable %pageid% inside text. It will be replaced by the id of the "
473
- "current page."
474
  msgstr ""
475
 
476
  #: lib/wfu_constants.php:157
477
- msgid ""
478
- "Insert variable %pagetitle% inside text. It will be replaced by the title of "
479
- "the current page."
480
  msgstr ""
481
 
482
  #: lib/wfu_constants.php:158
483
- msgid ""
484
- "Insert variable %userdataXXX% inside text. Select the user field from the "
485
- "drop-down list. It will be replaced by the value that the user entered in "
486
- "this field."
487
  msgstr ""
488
 
489
  #: lib/wfu_constants.php:159
490
- msgid "Insert variable %n% inside text to denote a line change."
 
 
 
 
 
 
 
 
491
  msgstr ""
492
 
493
  #: lib/wfu_constants.php:162
494
- msgid "Upload in progress"
495
  msgstr ""
496
 
497
  #: lib/wfu_constants.php:163
498
- msgid "Upload in progress with warnings!"
499
  msgstr ""
500
 
501
  #: lib/wfu_constants.php:164
502
- msgid "Upload in progress but some files already failed!"
503
  msgstr ""
504
 
505
  #: lib/wfu_constants.php:165
506
- msgid "Upload in progress but no files uploaded so far!"
507
  msgstr ""
508
 
509
  #: lib/wfu_constants.php:166
510
- msgid "All files uploaded successfully"
511
  msgstr ""
512
 
513
  #: lib/wfu_constants.php:167
514
- msgid "All files uploaded successfully but there are warnings!"
515
  msgstr ""
516
 
517
  #: lib/wfu_constants.php:168
518
- msgid "File uploaded successfully but there are warnings!"
519
  msgstr ""
520
 
521
  #: lib/wfu_constants.php:169
522
- msgid "Some files failed to upload!"
523
  msgstr ""
524
 
525
  #: lib/wfu_constants.php:170
526
- msgid "All files failed to upload"
527
  msgstr ""
528
 
529
  #: lib/wfu_constants.php:171
530
- msgid "File failed to upload"
531
  msgstr ""
532
 
533
  #: lib/wfu_constants.php:172
534
- msgid "There are no files to upload!"
535
  msgstr ""
536
 
537
  #: lib/wfu_constants.php:173
538
- msgid "Test upload message"
539
  msgstr ""
540
 
541
  #: lib/wfu_constants.php:174
542
- msgid "JSON parse warning!"
543
  msgstr ""
544
 
545
  #: lib/wfu_constants.php:175
546
- msgid "please wait while redirecting..."
547
  msgstr ""
548
 
549
  #: lib/wfu_constants.php:176
550
- msgid "Open visual shortcode editor in new window"
551
  msgstr ""
552
 
553
  #: lib/wfu_constants.php:177
 
 
 
 
 
 
 
 
554
  msgid "loading visual editor"
555
  msgstr ""
556
 
557
- #: lib/wfu_widget.php:8
 
 
 
 
 
 
 
 
558
  msgid "Wordpress File Upload Form"
559
  msgstr ""
560
 
561
- #: lib/wfu_widget.php:9
562
  msgid "Wordpress File Upload plugin uploader for sidebars"
563
  msgstr ""
564
 
565
- #: lib/wfu_widget.php:38 lib/wfu_widget.php:98
566
- msgid "New title"
567
  msgstr ""
2
  msgstr ""
3
  "Project-Id-Version: Wordpress File Upload\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-11-01 20:41+0200\n"
6
+ "PO-Revision-Date: 2015-11-01 20:42+0200\n"
7
  "Last-Translator: nickboss <info@iptanus.com>\n"
8
  "Language-Team: Iptanus Team <info@iptanus.com>\n"
9
  "Language: en\n"
15
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
  "X-Generator: Poedit 1.7.5\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
+ "X-Poedit-SearchPathExcluded-0: vendor\n"
19
+ "X-Poedit-SearchPathExcluded-1: minified\n"
20
+ "X-Poedit-SearchPathExcluded-2: unminified\n"
21
 
22
  #: lib/wfu_constants.php:7
23
  msgid "Upload files"
24
  msgstr ""
25
 
26
+ #: lib/wfu_constants.php:10
27
+ msgid "Select File/Select Files"
28
+ msgstr ""
29
+
30
+ #: lib/wfu_constants.php:11
31
+ msgid "Upload File/Upload Files"
32
+ msgstr ""
33
+
34
+ #: lib/wfu_constants.php:15
35
  msgid "Select File"
36
  msgstr ""
37
 
38
+ #: lib/wfu_constants.php:16
39
  msgid "Upload File"
40
  msgstr ""
41
 
42
+ #: lib/wfu_constants.php:19
43
  msgid "File Upload Notification"
44
  msgstr ""
45
 
46
+ #: lib/wfu_constants.php:20
47
  msgid ""
48
  "Dear Recipient,%n%%n% This is an automatic delivery message to notify you "
49
  "that a new file has been uploaded.%n%%n%Best Regards"
50
  msgstr ""
51
 
52
+ #: lib/wfu_constants.php:21
53
  #, php-format
54
  msgid "File %filename% uploaded successfully"
55
  msgstr ""
56
 
57
+ #: lib/wfu_constants.php:22
58
  #, php-format
59
  msgid "File %filename% uploaded successfully but with warnings"
60
  msgstr ""
61
 
62
+ #: lib/wfu_constants.php:23
63
  msgid "File %filename% not uploaded"
64
  msgstr ""
65
 
66
+ #: lib/wfu_constants.php:24
67
  msgid "File %filename% is being uploaded"
68
  msgstr ""
69
 
70
+ #: lib/wfu_constants.php:25
71
  msgid "Your message"
72
  msgstr ""
73
 
74
+ #: lib/wfu_constants.php:26
75
+ msgid "Please fill in the above words: "
76
+ msgstr ""
77
+
78
+ #: lib/wfu_constants.php:28
79
+ msgid "File"
80
+ msgstr ""
81
+
82
+ #: lib/wfu_constants.php:29
83
+ msgid "Date"
84
+ msgstr ""
85
+
86
+ #: lib/wfu_constants.php:30
87
+ msgid "Size"
88
+ msgstr ""
89
+
90
+ #: lib/wfu_constants.php:31
91
+ msgid "User"
92
+ msgstr ""
93
+
94
+ #: lib/wfu_constants.php:32
95
+ msgid "Page"
96
+ msgstr ""
97
+
98
+ #: lib/wfu_constants.php:33
99
+ msgid "User Fields"
100
+ msgstr ""
101
+
102
+ #: lib/wfu_constants.php:34
103
+ msgid "Download"
104
+ msgstr ""
105
+
106
+ #: lib/wfu_constants.php:35
107
+ msgid "Download this file"
108
+ msgstr ""
109
+
110
+ #: lib/wfu_constants.php:36
111
+ msgid "Delete"
112
+ msgstr ""
113
+
114
+ #: lib/wfu_constants.php:37
115
+ msgid "Delete this file"
116
+ msgstr ""
117
+
118
+ #: lib/wfu_constants.php:38
119
+ msgid "Sort list based on this column"
120
+ msgstr ""
121
+
122
+ #: lib/wfu_constants.php:39
123
+ msgid "guest"
124
+ msgstr ""
125
+
126
+ #: lib/wfu_constants.php:40
127
+ msgid "unknown"
128
+ msgstr ""
129
+
130
+ #: lib/wfu_constants.php:42
131
  msgid ""
132
  "Error. Could not resolve ftp target filedir. Check the domain in 'ftpinfo' "
133
  "attribute."
134
  msgstr ""
135
 
136
+ #: lib/wfu_constants.php:43
137
  msgid "Error. Invalid ftp information. Check 'ftpinfo' attribute."
138
  msgstr ""
139
 
140
+ #: lib/wfu_constants.php:44
141
  msgid ""
142
  "Error. Could not extract ftp information from 'ftpinfo' attribute. Check its "
143
  "syntax."
144
  msgstr ""
145
 
146
+ #: lib/wfu_constants.php:45
147
  msgid ""
148
  "Error. Could not resolve ftp target filename. Check the domain in 'ftpinfo' "
149
  "attribute."
150
  msgstr ""
151
 
152
+ #: lib/wfu_constants.php:46
153
  msgid ""
154
  "Error. The upload size limit of PHP directive upload_max_filesize is "
155
  "preventing the upload of big files.\n"
156
  "PHP directive upload_max_filesize limit is: "
157
  msgstr ""
158
 
159
+ #: lib/wfu_constants.php:47
160
  msgid ""
161
  "The upload time limit of PHP directive max_input_time is preventing the "
162
  "upload of big files.\n"
163
  "PHP directive max_input_time limit is: "
164
  msgstr ""
165
 
166
+ #: lib/wfu_constants.php:48
167
  msgid ""
168
  "Error. Permission denied to write to target folder.\n"
169
  "Check and correct read/write permissions of target folder."
170
  msgstr ""
171
 
172
+ #: lib/wfu_constants.php:49
173
  msgid "Targer folder doesn't exist."
174
  msgstr ""
175
 
176
+ #: lib/wfu_constants.php:50
177
  msgid "Upload failed! Missing a temporary folder."
178
  msgstr ""
179
 
180
+ #: lib/wfu_constants.php:51
181
  msgid "Upload failed! Permission denied to write to target folder."
182
  msgstr ""
183
 
184
+ #: lib/wfu_constants.php:52
185
  msgid "File not allowed."
186
  msgstr ""
187
 
188
+ #: lib/wfu_constants.php:53
189
  msgid "The uploaded file exceeds the file size limit."
190
  msgstr ""
191
 
192
+ #: lib/wfu_constants.php:54
193
  msgid "The uploaded file exceeds 2GB and is not supported by this server."
194
  msgstr ""
195
 
196
+ #: lib/wfu_constants.php:55
197
  msgid ""
198
  "Upload failed! The uploaded file exceeds the file size limit of the server. "
199
  "Please contact the administrator."
200
  msgstr ""
201
 
202
+ #: lib/wfu_constants.php:56
203
  msgid ""
204
  "Upload failed! The duration of the upload exceeded the time limit of the "
205
  "server. Please contact the administrator."
206
  msgstr ""
207
 
208
+ #: lib/wfu_constants.php:57
209
  msgid ""
210
  "Upload failed! The uploaded file exceeds the MAX_FILE_SIZE directive that "
211
  "was specified in the HTML form."
212
  msgstr ""
213
 
214
+ #: lib/wfu_constants.php:58
215
  msgid "Upload failed! The uploaded file was only partially uploaded."
216
  msgstr ""
217
 
218
+ #: lib/wfu_constants.php:59
219
  msgid "Upload failed! No file was uploaded."
220
  msgstr ""
221
 
222
+ #: lib/wfu_constants.php:60
223
  msgid "Upload failed! Failed to write file to disk."
224
  msgstr ""
225
 
226
+ #: lib/wfu_constants.php:61
227
  msgid ""
228
  "Upload failed! Error occured while moving temporary file. Please contact "
229
  "administrator."
230
  msgstr ""
231
 
232
+ #: lib/wfu_constants.php:62
233
  msgid ""
234
  "Upload failed! A PHP extension stopped the file upload. PHP does not provide "
235
  "a way to ascertain which extension caused the file upload to stop; examining "
236
  "the list of loaded extensions with phpinfo() may help."
237
  msgstr ""
238
 
239
+ #: lib/wfu_constants.php:63
240
  msgid "Upload failed! Error occured while attemting to upload the file."
241
  msgstr ""
242
 
243
+ #: lib/wfu_constants.php:64
244
  msgid "Upload failed!"
245
  msgstr ""
246
 
247
+ #: lib/wfu_constants.php:65
248
  msgid "No file!"
249
  msgstr ""
250
 
251
+ #: lib/wfu_constants.php:66
252
  msgid ""
253
  "Upload failed! The upload has been canceled by the user or the browser "
254
  "dropped the connection."
255
  msgstr ""
256
 
257
+ #: lib/wfu_constants.php:67
258
  msgid "Upload failed! Unknown error."
259
  msgstr ""
260
 
261
+ #: lib/wfu_constants.php:68
262
  msgid "Please contact the administrator."
263
  msgstr ""
264
 
265
+ #: lib/wfu_constants.php:69
266
  msgid "No result from remote server!"
267
  msgstr ""
268
 
269
+ #: lib/wfu_constants.php:70
270
  msgid " but with warnings"
271
  msgstr ""
272
 
273
+ #: lib/wfu_constants.php:71 lib/wfu_constants.php:73
274
  msgid "Warning: JSON parse error."
275
  msgstr ""
276
 
277
+ #: lib/wfu_constants.php:72
278
  msgid ""
279
  "Upload parameters of this file, passed as JSON string to the handler, could "
280
  "not be parsed."
281
  msgstr ""
282
 
283
+ #: lib/wfu_constants.php:74
284
  msgid ""
285
  "UploadStates, passed as JSON string to the handler, could not be parsed."
286
  msgstr ""
287
 
288
+ #: lib/wfu_constants.php:75
289
  msgid ""
290
  "Redirection to classic form functionality occurred due to unknown error."
291
  msgstr ""
292
 
293
+ #: lib/wfu_constants.php:76
294
  msgid ""
295
  "Redirection to classic form functionality occurred because AJAX is not "
296
  "supported."
297
  msgstr ""
298
 
299
+ #: lib/wfu_constants.php:77
300
  msgid ""
301
  "Redirection to classic form functionality occurred because HTML5 is not "
302
  "supported."
303
  msgstr ""
304
 
305
+ #: lib/wfu_constants.php:78
306
  msgid ""
307
  "Redirection to classic form functionality occurred due to JSON parse error."
308
  msgstr ""
309
 
310
+ #: lib/wfu_constants.php:79
311
  msgid "Please enable popup windows from the browser's settings!"
312
  msgstr ""
313
 
314
+ #: lib/wfu_constants.php:80
315
  msgid "cannot be empty!"
316
  msgstr ""
317
 
318
+ #: lib/wfu_constants.php:81
319
  msgid "number not valid!"
320
  msgstr ""
321
 
322
+ #: lib/wfu_constants.php:82
323
  msgid "email not valid!"
324
  msgstr ""
325
 
326
+ #: lib/wfu_constants.php:83
327
  msgid "emails do not match!"
328
  msgstr ""
329
 
330
+ #: lib/wfu_constants.php:84
331
  msgid "no base email field in group!"
332
  msgstr ""
333
 
334
+ #: lib/wfu_constants.php:85
335
  msgid "passwords do not match!"
336
  msgstr ""
337
 
338
+ #: lib/wfu_constants.php:86
339
  msgid "no base password field in group!"
340
  msgstr ""
341
 
342
+ #: lib/wfu_constants.php:87
343
  msgid "checkbox unchecked!"
344
  msgstr ""
345
 
346
+ #: lib/wfu_constants.php:88
347
  msgid "no option selected!"
348
  msgstr ""
349
 
350
+ #: lib/wfu_constants.php:89
351
  msgid "no item selected!"
352
  msgstr ""
353
 
354
+ #: lib/wfu_constants.php:90
355
  msgid ""
356
  "There are more than one instances of the plugin in this page with the same "
357
  "id. Please change it."
358
  msgstr ""
359
 
360
+ #: lib/wfu_constants.php:91
361
  msgid ""
362
  "Cannot edit the shortcode because the page has been modified. Please reload "
363
  "the page."
364
  msgstr ""
365
 
366
+ #: lib/wfu_constants.php:92
367
+ msgid ""
368
+ "ERROR: Captcha not supported! You have an old PHP version. Upgrade your PHP "
369
+ "or use RecaptchaV2 (no account)."
370
+ msgstr ""
371
+
372
+ #: lib/wfu_constants.php:93
373
+ msgid "ERROR: No site key. Please contact administrator!"
374
+ msgstr ""
375
+
376
+ #: lib/wfu_constants.php:94
377
+ msgid ""
378
+ "ERROR: No site key defined! Please go to the plugin settings in Dashboard to "
379
+ "define Google Recaptcha keys."
380
+ msgstr ""
381
+
382
+ #: lib/wfu_constants.php:95
383
+ msgid "Bad captcha image!"
384
+ msgstr ""
385
+
386
+ #: lib/wfu_constants.php:96
387
+ msgid "No input!"
388
+ msgstr ""
389
+
390
+ #: lib/wfu_constants.php:97
391
+ msgid "Captcha not completed!"
392
+ msgstr ""
393
+
394
+ #: lib/wfu_constants.php:98
395
+ msgid "Wrong captcha!"
396
+ msgstr ""
397
+
398
+ #: lib/wfu_constants.php:99
399
+ msgid "Error refreshing captcha!"
400
+ msgstr ""
401
+
402
+ #: lib/wfu_constants.php:100
403
+ msgid "Unknown captcha error!"
404
+ msgstr ""
405
+
406
+ #: lib/wfu_constants.php:101
407
+ msgid "Captcha not supported by your browser!"
408
+ msgstr ""
409
+
410
+ #: lib/wfu_constants.php:102
411
+ msgid "the secret parameter is missing"
412
+ msgstr ""
413
+
414
+ #: lib/wfu_constants.php:103
415
+ msgid "the secret parameter is invalid or malformed"
416
+ msgstr ""
417
+
418
+ #: lib/wfu_constants.php:104
419
+ msgid "the response parameter is missing"
420
+ msgstr ""
421
+
422
+ #: lib/wfu_constants.php:105
423
+ msgid "the response parameter is invalid or malformed"
424
+ msgstr ""
425
+
426
+ #: lib/wfu_constants.php:106
427
+ msgid "Please do not use drag drop due to an internal problem."
428
+ msgstr ""
429
+
430
+ #: lib/wfu_constants.php:107
431
+ #, php-format
432
+ msgid "Error during chunked upload. Unique ID empty in chunk %d"
433
+ msgstr ""
434
+
435
+ #: lib/wfu_constants.php:108
436
+ msgid "Chunked upload is not allowed!"
437
+ msgstr ""
438
+
439
+ #: lib/wfu_constants.php:109
440
+ msgid "Chunked upload aborted due to error in previous chunk!"
441
+ msgstr ""
442
+
443
+ #: lib/wfu_constants.php:110
444
+ msgid "Chunked upload failed, final file could not be created!"
445
+ msgstr ""
446
+
447
+ #: lib/wfu_constants.php:111
448
+ #, php-format
449
+ msgid "Could not write file chuck to destination on chunk %d"
450
+ msgstr ""
451
+
452
+ #: lib/wfu_constants.php:112
453
+ #, php-format
454
+ msgid "Could not enlarge destination file on chunk %d"
455
+ msgstr ""
456
+
457
  #: lib/wfu_constants.php:113
458
+ #, php-format
459
+ msgid "Could not open file handles on chunk %d"
460
  msgstr ""
461
 
462
  #: lib/wfu_constants.php:114
463
+ msgid "You are not allowed to delete this file!"
464
+ msgstr ""
465
+
466
+ #: lib/wfu_constants.php:116
467
+ msgid "Upload skipped! File already exists."
468
+ msgstr ""
469
+
470
+ #: lib/wfu_constants.php:117
471
  msgid "No files have been selected!"
472
  msgstr ""
473
 
474
+ #: lib/wfu_constants.php:118
475
  msgid "WPFilebase Plugin not updated because there were no files uploaded."
476
  msgstr ""
477
 
478
+ #: lib/wfu_constants.php:119
479
  msgid "Notification email was not sent because there were no files uploaded."
480
  msgstr ""
481
 
482
+ #: lib/wfu_constants.php:120
483
  msgid ""
484
  "Notification email was not sent because no recipients were defined. Please "
485
  "check notifyrecipients attribute in the shortcode."
486
  msgstr ""
487
 
488
+ #: lib/wfu_constants.php:121
489
  msgid ""
490
  "Notification email was not sent due to an error. Please check "
491
  "notifyrecipients, notifysubject and notifymessage attributes for errors."
492
  msgstr ""
493
 
494
+ #: lib/wfu_constants.php:122
495
  msgid ""
496
  "Redirection not executed because redirection link is empty. Please check "
497
  "redirectlink attribute."
498
  msgstr ""
499
 
500
+ #: lib/wfu_constants.php:123
501
  msgid ""
502
  "Redirection not executed because not all files were successfully uploaded."
503
  msgstr ""
504
 
 
 
 
 
 
 
 
 
505
  #: lib/wfu_constants.php:125
506
+ msgid ""
507
+ "Failed to add the shortcode to the page/post. Please try again. If the "
508
+ "message persists, contact administrator."
509
  msgstr ""
510
 
511
  #: lib/wfu_constants.php:126
512
+ msgid ""
513
+ "Failed to edit the shortcode because the contents of the page changed. Try "
514
+ "again to edit the shortcode."
515
  msgstr ""
516
 
517
  #: lib/wfu_constants.php:127
518
+ msgid ""
519
+ "Failed to delete the shortcode because the contents of the page changed. Try "
520
+ "again to delete it."
521
  msgstr ""
522
 
523
  #: lib/wfu_constants.php:128
524
+ msgid ""
525
+ "The page containing the shortcode has been modified and it is no longer "
526
+ "valid. Please go back to reload the shortcode."
527
  msgstr ""
528
 
529
  #: lib/wfu_constants.php:129
530
+ msgid ""
531
+ "Failed to update the shortcode because the contents of the page changed. Go "
532
+ "back to reload the shortcode."
533
+ msgstr ""
534
+
535
+ #: lib/wfu_constants.php:130
536
+ msgid ""
537
+ "Failed to update the shortcode. Please try again. If the problem persists, "
538
+ "go back and reload the shortcode."
539
  msgstr ""
540
 
541
  #: lib/wfu_constants.php:132
570
  msgid "File testfile 2 administrator message"
571
  msgstr ""
572
 
573
+ #: lib/wfu_constants.php:141
574
+ msgid ""
575
+ "Insert variable %userid% inside text. It will be replaced by the id of the "
576
+ "current user."
577
+ msgstr ""
578
+
579
  #: lib/wfu_constants.php:142
580
  msgid ""
581
+ "Insert variable %username% inside text. It will be replaced by the username "
582
+ "of the current user."
583
  msgstr ""
584
 
585
  #: lib/wfu_constants.php:143
586
  msgid ""
587
+ "Insert variable %useremail% inside text. It will be replaced by the email of "
588
+ "the current user."
589
  msgstr ""
590
 
591
  #: lib/wfu_constants.php:144
592
  msgid ""
593
+ "Insert variable %filename% inside text. It will be replaced by the filename "
594
+ "of the uploaded file."
595
  msgstr ""
596
 
597
  #: lib/wfu_constants.php:145
598
  msgid ""
599
+ "Insert variable %filepath% inside text. It will be replaced by the full "
600
+ "filepath of the uploaded file."
601
  msgstr ""
602
 
603
  #: lib/wfu_constants.php:146
604
  msgid ""
605
+ "Insert variable %blogid% inside text. It will be replaced by the blog id of "
606
+ "the website."
607
  msgstr ""
608
 
609
  #: lib/wfu_constants.php:147
610
  msgid ""
611
+ "Insert variable %pageid% inside text. It will be replaced by the id of the "
612
+ "current page."
613
  msgstr ""
614
 
615
+ #: lib/wfu_constants.php:148
616
  msgid ""
617
+ "Insert variable %pagetitle% inside text. It will be replaced by the title of "
618
+ "the current page."
619
  msgstr ""
620
 
621
+ #: lib/wfu_constants.php:149
622
  msgid ""
623
+ "Insert variable %userdataXXX% inside text. Select the user field from the "
624
+ "drop-down list. It will be replaced by the value that the user entered in "
625
+ "this field."
626
+ msgstr ""
627
+
628
+ #: lib/wfu_constants.php:150
629
+ msgid "Insert variable %n% inside text to denote a line change."
630
  msgstr ""
631
 
632
  #: lib/wfu_constants.php:152
633
+ msgid "Test Mode"
 
 
634
  msgstr ""
635
 
636
  #: lib/wfu_constants.php:153
637
+ msgid "select dir..."
 
 
638
  msgstr ""
639
 
640
  #: lib/wfu_constants.php:154
641
+ msgid "type dir"
 
 
642
  msgstr ""
643
 
644
  #: lib/wfu_constants.php:155
645
+ msgid "Upload path: %filepath%"
 
 
646
  msgstr ""
647
 
648
  #: lib/wfu_constants.php:156
649
+ msgid "Failed upload path: %filepath%"
 
 
650
  msgstr ""
651
 
652
  #: lib/wfu_constants.php:157
653
+ msgid " (required)"
 
 
654
  msgstr ""
655
 
656
  #: lib/wfu_constants.php:158
657
+ msgid "Files are being uploaded. Are you sure you want to exit the page?"
 
 
 
658
  msgstr ""
659
 
660
  #: lib/wfu_constants.php:159
661
+ msgid "checking captcha..."
662
+ msgstr ""
663
+
664
+ #: lib/wfu_constants.php:160
665
+ msgid "refreshing..."
666
+ msgstr ""
667
+
668
+ #: lib/wfu_constants.php:161
669
+ msgid "correct captcha"
670
  msgstr ""
671
 
672
  #: lib/wfu_constants.php:162
673
+ msgid "click to continue the upload"
674
  msgstr ""
675
 
676
  #: lib/wfu_constants.php:163
677
+ msgid "Are you sure you want to delete this file?"
678
  msgstr ""
679
 
680
  #: lib/wfu_constants.php:164
681
+ msgid "Upload in progress"
682
  msgstr ""
683
 
684
  #: lib/wfu_constants.php:165
685
+ msgid "Upload in progress with warnings!"
686
  msgstr ""
687
 
688
  #: lib/wfu_constants.php:166
689
+ msgid "Upload in progress but some files already failed!"
690
  msgstr ""
691
 
692
  #: lib/wfu_constants.php:167
693
+ msgid "Upload in progress but no files uploaded so far!"
694
  msgstr ""
695
 
696
  #: lib/wfu_constants.php:168
697
+ msgid "All files uploaded successfully"
698
  msgstr ""
699
 
700
  #: lib/wfu_constants.php:169
701
+ msgid "All files uploaded successfully but there are warnings!"
702
  msgstr ""
703
 
704
  #: lib/wfu_constants.php:170
705
+ msgid "File uploaded successfully but there are warnings!"
706
  msgstr ""
707
 
708
  #: lib/wfu_constants.php:171
709
+ msgid "Some files failed to upload!"
710
  msgstr ""
711
 
712
  #: lib/wfu_constants.php:172
713
+ msgid "All files failed to upload"
714
  msgstr ""
715
 
716
  #: lib/wfu_constants.php:173
717
+ msgid "File failed to upload"
718
  msgstr ""
719
 
720
  #: lib/wfu_constants.php:174
721
+ msgid "There are no files to upload!"
722
  msgstr ""
723
 
724
  #: lib/wfu_constants.php:175
725
+ msgid "Test upload message"
726
  msgstr ""
727
 
728
  #: lib/wfu_constants.php:176
729
+ msgid "JSON parse warning!"
730
  msgstr ""
731
 
732
  #: lib/wfu_constants.php:177
733
+ msgid "please wait while redirecting..."
734
+ msgstr ""
735
+
736
+ #: lib/wfu_constants.php:178
737
+ msgid "Open visual shortcode editor in new window"
738
+ msgstr ""
739
+
740
+ #: lib/wfu_constants.php:179
741
  msgid "loading visual editor"
742
  msgstr ""
743
 
744
+ #: lib/wfu_constants.php:180
745
+ msgid "Clear file list?"
746
+ msgstr ""
747
+
748
+ #: lib/wfu_constants.php:181
749
+ msgid "DROP HERE"
750
+ msgstr ""
751
+
752
+ #: lib/wfu_constants.php:183
753
  msgid "Wordpress File Upload Form"
754
  msgstr ""
755
 
756
+ #: lib/wfu_constants.php:184
757
  msgid "Wordpress File Upload plugin uploader for sidebars"
758
  msgstr ""
759
 
760
+ #: lib/wfu_constants.php:185
761
+ msgid "Upload Files"
762
  msgstr ""
lib/wfu_admin.php CHANGED
@@ -33,6 +33,7 @@ function wordpress_file_upload_install() {
33
  global $wpdb;
34
  global $wfu_tb_log_version;
35
  global $wfu_tb_userdata_version;
 
36
  require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
37
 
38
  $table_name1 = $wpdb->prefix . "wfu_log";
@@ -55,6 +56,7 @@ function wordpress_file_upload_install() {
55
  date_to DATETIME,
56
  action VARCHAR(20) NOT NULL,
57
  linkedto mediumint(9),
 
58
  PRIMARY KEY (idlog))
59
  DEFAULT CHARACTER SET = utf8
60
  DEFAULT COLLATE = utf8_general_ci;";
@@ -79,14 +81,32 @@ function wordpress_file_upload_install() {
79
  dbDelta($sql);
80
  update_option("wordpress_file_upload_table_userdata_version", $wfu_tb_userdata_version);
81
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
82
  }
83
 
84
  function wordpress_file_upload_update_db_check() {
85
  global $wfu_tb_log_version;
86
  global $wfu_tb_userdata_version;
 
87
  // update_option("wordpress_file_upload_table_log_version", "0");
88
  // update_option("wordpress_file_upload_table_userdata_version", "0");
89
- if ( get_option('wordpress_file_upload_table_log_version') != $wfu_tb_log_version || get_option('wordpress_file_upload_table_userdata_version') != $wfu_tb_userdata_version ) {
90
  wordpress_file_upload_install();
91
  }
92
  }
@@ -338,11 +358,44 @@ function wfu_maintenance_actions($message = '') {
338
  }
339
  $echo_str .= "\n\t".'<div style="margin-top:20px;">';
340
  $echo_str .= "\n\t\t".'<a href="'.$siteurl.'/wp-admin/options-general.php?page=wordpress_file_upload&amp;action=manage_mainmenu" class="button" title="go back">Go to Main Menu</a>';
 
341
  $echo_str .= "\n\t\t".'<h2 style="margin-bottom: 10px; margin-top: 20px;">Maintenance Actions</h2>';
342
- $echo_str .= "\n\t\t".'<div style="margin-left:20px;">';
343
- $echo_str .= "\n\t\t\t".'<a href="'.$siteurl.'/wp-admin/options-general.php?page=wordpress_file_upload&amp;action=sync_db" class="button" style="margin-top:10px;" title="Update database to reflect current status of files">Sync Database</a><label style="margin-left:10px;">Update database to reflect current status of files.</label>';
344
- $echo_str .= "\n\t\t\t".'<br /><a href="'.$siteurl.'/wp-admin/options-general.php?page=wordpress_file_upload&amp;action=clean_log_ask" class="button" style="margin-top:10px;" title="Clean all database log">Clean Log</a><label style="margin-left:10px;">Clean-up all database log, including file information and user data (files will not be affected).</label>';
345
- $echo_str .= "\n\t\t".'</div>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
346
  $echo_str .= "\n\t".'</div>';
347
  $echo_str .= "\n".'</div>';
348
 
33
  global $wpdb;
34
  global $wfu_tb_log_version;
35
  global $wfu_tb_userdata_version;
36
+ global $wfu_tb_dbxqueue_version;
37
  require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
38
 
39
  $table_name1 = $wpdb->prefix . "wfu_log";
56
  date_to DATETIME,
57
  action VARCHAR(20) NOT NULL,
58
  linkedto mediumint(9),
59
+ filedata TEXT,
60
  PRIMARY KEY (idlog))
61
  DEFAULT CHARACTER SET = utf8
62
  DEFAULT COLLATE = utf8_general_ci;";
81
  dbDelta($sql);
82
  update_option("wordpress_file_upload_table_userdata_version", $wfu_tb_userdata_version);
83
  }
84
+
85
+ $table_name3 = $wpdb->prefix . "wfu_dbxqueue";
86
+ $installed_ver = get_option( "wordpress_file_upload_table_dbxqueue_version" );
87
+ if( $installed_ver != $wfu_tb_dbxqueue_version ) {
88
+ $sql = "CREATE TABLE " . $table_name3 . " (
89
+ iddbxqueue mediumint(9) NOT NULL AUTO_INCREMENT,
90
+ fileid mediumint(9) NOT NULL,
91
+ priority mediumint(9) NOT NULL,
92
+ status mediumint(9) NOT NULL,
93
+ jobid VARCHAR(10) NOT NULL,
94
+ start_time bigint,
95
+ PRIMARY KEY (iddbxqueue))
96
+ DEFAULT CHARACTER SET = utf8
97
+ DEFAULT COLLATE = utf8_general_ci;";
98
+ dbDelta($sql);
99
+ update_option("wordpress_file_upload_table_dbxqueue_version", $wfu_tb_dbxqueue_version);
100
+ }
101
  }
102
 
103
  function wordpress_file_upload_update_db_check() {
104
  global $wfu_tb_log_version;
105
  global $wfu_tb_userdata_version;
106
+ global $wfu_tb_dbxqueue_version;
107
  // update_option("wordpress_file_upload_table_log_version", "0");
108
  // update_option("wordpress_file_upload_table_userdata_version", "0");
109
+ if ( get_option('wordpress_file_upload_table_log_version') != $wfu_tb_log_version || get_option('wordpress_file_upload_table_userdata_version') != $wfu_tb_userdata_version || get_option('wordpress_file_upload_table_dbxqueue_version') != $wfu_tb_dbxqueue_version ) {
110
  wordpress_file_upload_install();
111
  }
112
  }
358
  }
359
  $echo_str .= "\n\t".'<div style="margin-top:20px;">';
360
  $echo_str .= "\n\t\t".'<a href="'.$siteurl.'/wp-admin/options-general.php?page=wordpress_file_upload&amp;action=manage_mainmenu" class="button" title="go back">Go to Main Menu</a>';
361
+ //maintenance actions
362
  $echo_str .= "\n\t\t".'<h2 style="margin-bottom: 10px; margin-top: 20px;">Maintenance Actions</h2>';
363
+ $echo_str .= "\n\t\t".'<table class="form-table">';
364
+ $echo_str .= "\n\t\t\t".'<tbody>';
365
+ $echo_str .= "\n\t\t\t\t".'<tr>';
366
+ $echo_str .= "\n\t\t\t\t\t".'<th scope="row">';
367
+ $echo_str .= "\n\t\t\t\t\t\t".'<a href="'.$siteurl.'/wp-admin/options-general.php?page=wordpress_file_upload&amp;action=sync_db" class="button" title="Update database to reflect current status of files">Sync Database</a>';
368
+ $echo_str .= "\n\t\t\t\t\t".'</th>';
369
+ $echo_str .= "\n\t\t\t\t\t".'<td>';
370
+ $echo_str .= "\n\t\t\t\t\t\t".'<label>Update database to reflect current status of files.</label>';
371
+ $echo_str .= "\n\t\t\t\t\t".'</td>';
372
+ $echo_str .= "\n\t\t\t\t".'</tr>';
373
+ $echo_str .= "\n\t\t\t\t".'<tr>';
374
+ $echo_str .= "\n\t\t\t\t\t".'<th scope="row">';
375
+ $echo_str .= "\n\t\t\t\t\t\t".'<a href="'.$siteurl.'/wp-admin/options-general.php?page=wordpress_file_upload&amp;action=clean_log_ask" class="button" title="Clean all database log">Clean Log</a>';
376
+ $echo_str .= "\n\t\t\t\t\t".'</th>';
377
+ $echo_str .= "\n\t\t\t\t\t".'<td>';
378
+ $echo_str .= "\n\t\t\t\t\t\t".'<label>Clean-up all database log, including file information and user data (files will not be affected).</label>';
379
+ $echo_str .= "\n\t\t\t\t\t".'</td>';
380
+ $echo_str .= "\n\t\t\t\t".'</tr>';
381
+ $echo_str .= "\n\t\t\t".'</tbody>';
382
+ $echo_str .= "\n\t\t".'</table>';
383
+ $echo_str .= "\n\t".'</div>';
384
+ //export actions
385
+ $echo_str .= "\n\t\t".'<h2 style="margin-bottom: 10px; margin-top: 20px;">Export Actions</h2>';
386
+ $echo_str .= "\n\t\t".'<table class="form-table">';
387
+ $echo_str .= "\n\t\t\t".'<tbody>';
388
+ $echo_str .= "\n\t\t\t\t".'<tr>';
389
+ $echo_str .= "\n\t\t\t\t\t".'<th scope="row">';
390
+ $echo_str .= "\n\t\t\t\t\t\t".'<a href="javascript:wfu_download_file(\'exportdata\', 1, \''.wp_create_nonce('wfu_download_file_invoker').'\');" class="button" title="Export uploaded file data">Export Uploaded File Data</a>';
391
+ $echo_str .= "\n\t\t\t\t\t".'</th>';
392
+ $echo_str .= "\n\t\t\t\t\t".'<td>';
393
+ $echo_str .= "\n\t\t\t\t\t\t".'<label>Export uploaded valid file data, together with any userdata fields, to a comma-separated text file.</label>';
394
+ $echo_str .= "\n\t\t\t\t\t\t".'<div id="wfu_file_download_container_1" style="display: none;"></div>';
395
+ $echo_str .= "\n\t\t\t\t\t".'</td>';
396
+ $echo_str .= "\n\t\t\t\t".'</tr>';
397
+ $echo_str .= "\n\t\t\t".'</tbody>';
398
+ $echo_str .= "\n\t\t".'</table>';
399
  $echo_str .= "\n\t".'</div>';
400
  $echo_str .= "\n".'</div>';
401
 
lib/wfu_admin_browser.php CHANGED
@@ -212,7 +212,7 @@ function wfu_browse_files($basedir_code) {
212
  $echo_str .= "\n\t\t\t\t\t\t\t".'</span>';
213
  }
214
  $echo_str .= "\n\t\t\t\t\t\t".'</div>';
215
- $echo_str .= "\n\t\t\t\t\t\t".'<div id="wfu_file_download_container_'.$ii.'" style="display: block;"></div>';
216
  $echo_str .= "\n\t\t\t\t\t".'</td>';
217
  $echo_str .= "\n\t\t\t\t\t".'<td width="10%" style="padding: 5px 5px 5px 10px; text-align:right;">'.$file['size'].'</td>';
218
  $echo_str .= "\n\t\t\t\t\t".'<td width="20%" style="padding: 5px 5px 5px 10px; text-align:left;">'.date("d/m/Y H:i:s", $file['mdate']).'</td>';
212
  $echo_str .= "\n\t\t\t\t\t\t\t".'</span>';
213
  }
214
  $echo_str .= "\n\t\t\t\t\t\t".'</div>';
215
+ $echo_str .= "\n\t\t\t\t\t\t".'<div id="wfu_file_download_container_'.$ii.'" style="display: none;"></div>';
216
  $echo_str .= "\n\t\t\t\t\t".'</td>';
217
  $echo_str .= "\n\t\t\t\t\t".'<td width="10%" style="padding: 5px 5px 5px 10px; text-align:right;">'.$file['size'].'</td>';
218
  $echo_str .= "\n\t\t\t\t\t".'<td width="20%" style="padding: 5px 5px 5px 10px; text-align:left;">'.date("d/m/Y H:i:s", $file['mdate']).'</td>';
lib/wfu_admin_log.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- function wfu_view_log() {
4
  global $wpdb;
5
  $siteurl = site_url();
6
  $table_name1 = $wpdb->prefix . "wfu_log";
@@ -8,49 +8,63 @@ function wfu_view_log() {
8
  $plugin_options = wfu_decode_plugin_options(get_option( "wordpress_file_upload_options" ));
9
 
10
  if ( !current_user_can( 'manage_options' ) ) return;
 
 
 
11
 
12
- $echo_str = "\n".'<div class="wrap">';
13
- $echo_str .= "\n\t".'<h2>Wordpress File Upload Control Panel</h2>';
14
- $echo_str .= "\n\t".'<div style="margin-top:20px;">';
15
- $echo_str .= "\n\t\t".'<a href="'.$siteurl.'/wp-admin/options-general.php?page=wordpress_file_upload&amp;action=manage_mainmenu" class="button" title="go back">Go to Main Menu</a>';
16
- $echo_str .= "\n\t".'</div>';
17
- $echo_str .= "\n\t".'<h2 style="margin-bottom: 10px; margin-top: 20px;">History Log</h2>';
18
- $echo_str .= "\n\t".'<div>';
19
- $echo_str .= "\n\t\t".'<table class="widefat">';
20
- $echo_str .= "\n\t\t\t".'<thead>';
21
- $echo_str .= "\n\t\t\t\t".'<tr>';
22
- $echo_str .= "\n\t\t\t\t\t".'<th scope="col" width="5%" style="text-align:center;">';
23
- $echo_str .= "\n\t\t\t\t\t\t".'<label>#</label>';
24
- $echo_str .= "\n\t\t\t\t\t".'</th>';
25
- $echo_str .= "\n\t\t\t\t\t".'<th scope="col" width="15%" style="text-align:left;">';
26
- $echo_str .= "\n\t\t\t\t\t\t".'<label>Date</label>';
27
- $echo_str .= "\n\t\t\t\t\t".'</th>';
28
- $echo_str .= "\n\t\t\t\t\t".'<th scope="col" width="10%" style="text-align:center;">';
29
- $echo_str .= "\n\t\t\t\t\t\t".'<label>Action</label>';
30
- $echo_str .= "\n\t\t\t\t\t".'</th>';
31
- $echo_str .= "\n\t\t\t\t\t".'<th scope="col" width="30%" style="text-align:left;">';
32
- $echo_str .= "\n\t\t\t\t\t\t".'<label>File</label>';
33
- $echo_str .= "\n\t\t\t\t\t".'</th>';
34
- $echo_str .= "\n\t\t\t\t\t".'<th scope="col" width="15%" style="text-align:center;">';
35
- $echo_str .= "\n\t\t\t\t\t\t".'<label>User</label>';
36
- $echo_str .= "\n\t\t\t\t\t".'</th>';
37
- $echo_str .= "\n\t\t\t\t\t".'<th scope="col" width="25%" style="text-align:left;">';
38
- $echo_str .= "\n\t\t\t\t\t\t".'<label>Remarks</label>';
39
- $echo_str .= "\n\t\t\t\t\t".'</th>';
40
- $echo_str .= "\n\t\t\t\t".'</tr>';
41
- $echo_str .= "\n\t\t\t".'</thead>';
42
- $echo_str .= "\n\t\t\t".'<tbody>';
 
 
 
 
 
 
 
 
43
 
44
- $filerecs = $wpdb->get_results('SELECT * FROM '.$table_name1.' ORDER BY date_from DESC');
45
  $userdatarecs = $wpdb->get_results('SELECT * FROM '.$table_name2);
46
- $i = 0;
 
 
 
47
  foreach ( $filerecs as $filerec ) {
48
  $remarks = '';
49
  $filepath = ABSPATH;
50
  if ( substr($filepath, -1) == '/' ) $filepath = substr($filepath, 0, -1);
51
  $filepath .= $filerec->filepath;
52
  $enc_file = wfu_plugin_encode_string($filepath.'[[name]]');
53
- if ( $filerec->action == 'rename' ) {
 
54
  $prevfilepath = '';
55
  foreach ( $filerecs as $key => $prevfilerec ) {
56
  if ( $prevfilerec->idlog == $filerec->linkedto ) {
@@ -63,8 +77,13 @@ function wfu_view_log() {
63
  }
64
  elseif ( $filerec->action == 'upload' || $filerec->action == 'modify' ) {
65
  foreach ( $userdatarecs as $userdata ) {
66
- if ( $userdata->uploadid == $filerec->uploadid && $userdata->date_from == $filerec->date_from )
67
- $remarks .= "\n\t\t\t\t\t\t\t".'<option>'.$userdata->property.': '.$userdata->propvalue.'</option>';
 
 
 
 
 
68
  }
69
  if ( $remarks != '' ) {
70
  $remarks = "\n\t\t\t\t\t\t".'<select multiple="multiple" style="width:100%; height:40px; background:none; font-size:small;">'.$remarks;
@@ -84,7 +103,17 @@ function wfu_view_log() {
84
  $echo_str .= "\n\t\t\t\t\t".'<td style="padding: 5px 5px 5px 10px; text-align:center;">'.$filerec->action.'</td>';
85
  if ( !$otheraction ) {
86
  $echo_str .= "\n\t\t\t\t\t".'<td style="padding: 5px 5px 5px 10px; text-align:left;">';
87
- $echo_str .= "\n\t\t\t\t\t\t".'<a class="row-title" href="'.$siteurl.'/wp-admin/options-general.php?page=wordpress_file_upload&action=file_details&file='.$enc_file.'" title="View and edit file details" style="font-weight:normal;">'.$filerec->filepath.'</a>';
 
 
 
 
 
 
 
 
 
 
88
  $echo_str .= "\n\t\t\t\t\t".'</td>';
89
  $echo_str .= "\n\t\t\t\t\t".'<td style="padding: 5px 5px 5px 10px; text-align:center;">'.wfu_get_username_by_id($filerec->userid).'</td>';
90
  }
@@ -93,10 +122,12 @@ function wfu_view_log() {
93
  $echo_str .= "\n\t\t\t\t\t".'</td>';
94
  $echo_str .= "\n\t\t\t\t".'</tr>';
95
  }
96
- $echo_str .= "\n\t\t\t".'</tbody>';
97
- $echo_str .= "\n\t\t".'</table>';
98
- $echo_str .= "\n\t".'</div>';
99
- $echo_str .= "\n".'</div>';
 
 
100
 
101
  return $echo_str;
102
  }
1
  <?php
2
 
3
+ function wfu_view_log($page = 1, $only_table_rows = false) {
4
  global $wpdb;
5
  $siteurl = site_url();
6
  $table_name1 = $wpdb->prefix . "wfu_log";
8
  $plugin_options = wfu_decode_plugin_options(get_option( "wordpress_file_upload_options" ));
9
 
10
  if ( !current_user_can( 'manage_options' ) ) return;
11
+ //get log data from database
12
+ $files_total = $wpdb->get_var('SELECT COUNT(idlog) FROM '.$table_name1);
13
+ $filerecs = $wpdb->get_results('SELECT * FROM '.$table_name1.' ORDER BY date_from DESC'.( WFU_HISTORYLOG_TABLE_MAXROWS > 0 ? ' LIMIT '.WFU_HISTORYLOG_TABLE_MAXROWS.' OFFSET '.(($page - 1) * (int)WFU_HISTORYLOG_TABLE_MAXROWS) : '' ));
14
 
15
+ $echo_str = "";
16
+ if ( !$only_table_rows ) {
17
+ $echo_str .= "\n".'<div class="wrap">';
18
+ $echo_str .= "\n\t".'<h2>Wordpress File Upload Control Panel</h2>';
19
+ $echo_str .= "\n\t".'<div style="margin-top:20px;">';
20
+ $echo_str .= "\n\t\t".'<a href="'.$siteurl.'/wp-admin/options-general.php?page=wordpress_file_upload&amp;action=manage_mainmenu" class="button" title="go back">Go to Main Menu</a>';
21
+ $echo_str .= "\n\t".'</div>';
22
+ $echo_str .= "\n\t".'<h2 style="margin-bottom: 10px; margin-top: 20px;">History Log</h2>';
23
+ $echo_str .= "\n\t".'<div>';
24
+ $echo_str .= wfu_add_loading_overlay("\n\t\t", "historylog");
25
+ if ( WFU_HISTORYLOG_TABLE_MAXROWS > 0 ) {
26
+ $pages = ceil($files_total / WFU_HISTORYLOG_TABLE_MAXROWS);
27
+ $echo_str .= wfu_add_pagination_header("\n\t\t", "historylog", 1, $pages);
28
+ }
29
+ $echo_str .= "\n\t\t".'<table id="wfu_historylog_table" class="widefat">';
30
+ $echo_str .= "\n\t\t\t".'<thead>';
31
+ $echo_str .= "\n\t\t\t\t".'<tr>';
32
+ $echo_str .= "\n\t\t\t\t\t".'<th scope="col" width="5%" style="text-align:center;">';
33
+ $echo_str .= "\n\t\t\t\t\t\t".'<label>#</label>';
34
+ $echo_str .= "\n\t\t\t\t\t".'</th>';
35
+ $echo_str .= "\n\t\t\t\t\t".'<th scope="col" width="15%" style="text-align:left;">';
36
+ $echo_str .= "\n\t\t\t\t\t\t".'<label>Date</label>';
37
+ $echo_str .= "\n\t\t\t\t\t".'</th>';
38
+ $echo_str .= "\n\t\t\t\t\t".'<th scope="col" width="10%" style="text-align:center;">';
39
+ $echo_str .= "\n\t\t\t\t\t\t".'<label>Action</label>';
40
+ $echo_str .= "\n\t\t\t\t\t".'</th>';
41
+ $echo_str .= "\n\t\t\t\t\t".'<th scope="col" width="30%" style="text-align:left;">';
42
+ $echo_str .= "\n\t\t\t\t\t\t".'<label>File</label>';
43
+ $echo_str .= "\n\t\t\t\t\t".'</th>';
44
+ $echo_str .= "\n\t\t\t\t\t".'<th scope="col" width="15%" style="text-align:center;">';
45
+ $echo_str .= "\n\t\t\t\t\t\t".'<label>User</label>';
46
+ $echo_str .= "\n\t\t\t\t\t".'</th>';
47
+ $echo_str .= "\n\t\t\t\t\t".'<th scope="col" width="25%" style="text-align:left;">';
48
+ $echo_str .= "\n\t\t\t\t\t\t".'<label>Remarks</label>';
49
+ $echo_str .= "\n\t\t\t\t\t".'</th>';
50
+ $echo_str .= "\n\t\t\t\t".'</tr>';
51
+ $echo_str .= "\n\t\t\t".'</thead>';
52
+ $echo_str .= "\n\t\t\t".'<tbody>';
53
+ }
54
 
 
55
  $userdatarecs = $wpdb->get_results('SELECT * FROM '.$table_name2);
56
+ $deletedfiles = array();
57
+ $filecodes = array();
58
+ $time0 = strtotime("0000-00-00 00:00:00");
59
+ $i = ($page - 1) * (int)WFU_HISTORYLOG_TABLE_MAXROWS;
60
  foreach ( $filerecs as $filerec ) {
61
  $remarks = '';
62
  $filepath = ABSPATH;
63
  if ( substr($filepath, -1) == '/' ) $filepath = substr($filepath, 0, -1);
64
  $filepath .= $filerec->filepath;
65
  $enc_file = wfu_plugin_encode_string($filepath.'[[name]]');
66
+ if ( $filerec->action == 'delete' ) array_push($deletedfiles, $filerec->linkedto);
67
+ elseif ( $filerec->action == 'rename' ) {
68
  $prevfilepath = '';
69
  foreach ( $filerecs as $key => $prevfilerec ) {
70
  if ( $prevfilerec->idlog == $filerec->linkedto ) {
77
  }
78
  elseif ( $filerec->action == 'upload' || $filerec->action == 'modify' ) {
79
  foreach ( $userdatarecs as $userdata ) {
80
+ if ( $userdata->uploadid == $filerec->uploadid ) {
81
+ $userdata_datefrom = strtotime($userdata->date_from);
82
+ $userdata_dateto = strtotime($userdata->date_to);
83
+ $filerec_datefrom = strtotime($filerec->date_from);
84
+ if ( $filerec_datefrom >= $userdata_datefrom && ( $userdata_dateto == $time0 || $filerec_datefrom < $userdata_dateto ) )
85
+ $remarks .= "\n\t\t\t\t\t\t\t".'<option>'.$userdata->property.': '.$userdata->propvalue.'</option>';
86
+ }
87
  }
88
  if ( $remarks != '' ) {
89
  $remarks = "\n\t\t\t\t\t\t".'<select multiple="multiple" style="width:100%; height:40px; background:none; font-size:small;">'.$remarks;
103
  $echo_str .= "\n\t\t\t\t\t".'<td style="padding: 5px 5px 5px 10px; text-align:center;">'.$filerec->action.'</td>';
104
  if ( !$otheraction ) {
105
  $echo_str .= "\n\t\t\t\t\t".'<td style="padding: 5px 5px 5px 10px; text-align:left;">';
106
+ if ( in_array($filerec->linkedto, $deletedfiles) || in_array($filerec->idlog, $deletedfiles) ) $echo_str .= "\n\t\t\t\t\t\t".'<span>'.$filerec->filepath.'</span>';
107
+ else {
108
+ $lid = 0;
109
+ if ( $filerec->action == 'upload' ) $lid = $filerec->idlog;
110
+ elseif ( $filerec->linkedto > 0 ) $lid = $filerec->linkedto;
111
+ if ( $lid > 0 ) {
112
+ if ( !isset($filecodes[$lid]) ) $filecodes[$lid] = wfu_safe_store_filepath($filerec->filepath);
113
+ $echo_str .= "\n\t\t\t\t\t\t".'<a class="row-title" href="'.$siteurl.'/wp-admin/options-general.php?page=wordpress_file_upload&action=file_details&file='.$filecodes[$lid].'" title="View and edit file details" style="font-weight:normal;">'.$filerec->filepath.'</a>';
114
+ }
115
+ else $echo_str .= "\n\t\t\t\t\t\t".'<span>'.$filerec->filepath.'</span>';
116
+ }
117
  $echo_str .= "\n\t\t\t\t\t".'</td>';
118
  $echo_str .= "\n\t\t\t\t\t".'<td style="padding: 5px 5px 5px 10px; text-align:center;">'.wfu_get_username_by_id($filerec->userid).'</td>';
119
  }
122
  $echo_str .= "\n\t\t\t\t\t".'</td>';
123
  $echo_str .= "\n\t\t\t\t".'</tr>';
124
  }
125
+ if ( !$only_table_rows ) {
126
+ $echo_str .= "\n\t\t\t".'</tbody>';
127
+ $echo_str .= "\n\t\t".'</table>';
128
+ $echo_str .= "\n\t".'</div>';
129
+ $echo_str .= "\n".'</div>';
130
+ }
131
 
132
  return $echo_str;
133
  }
lib/wfu_admin_settings.php CHANGED
@@ -1,6 +1,5 @@
1
  <?php
2
  function wfu_manage_settings($message = '') {
3
- global $wp_roles;
4
  if ( !current_user_can( 'manage_options' ) ) return wfu_shortcode_composer();
5
 
6
  $siteurl = site_url();
@@ -62,7 +61,7 @@ function wfu_manage_settings($message = '') {
62
  $echo_str .= "\n\t\t\t\t".'</tbody>';
63
  $echo_str .= "\n\t\t\t".'</table>';
64
  $echo_str .= "\n\t\t\t".'<p class="submit">';
65
- $echo_str .= "\n\t\t\t\t".'<input type="submit" class="button-primary" name="submit" value="Update" />';
66
  $echo_str .= "\n\t\t\t".'</p>';
67
  $echo_str .= "\n\t\t".'</form>';
68
  $echo_str .= "\n\t".'</div>';
@@ -71,6 +70,7 @@ function wfu_manage_settings($message = '') {
71
  echo $echo_str;
72
  }
73
 
 
74
  function wfu_update_settings() {
75
  if ( !current_user_can( 'manage_options' ) ) return;
76
  if ( !check_admin_referer('wfu_edit_admin_settings') ) return;
@@ -80,8 +80,8 @@ function wfu_update_settings() {
80
  // $enabled = ( isset($_POST['wfu_enabled']) ? ( $_POST['wfu_enabled'] == "on" ? 1 : 0 ) : 0 );
81
  $hashfiles = ( isset($_POST['wfu_hashfiles']) ? ( $_POST['wfu_hashfiles'] == "on" ? 1 : 0 ) : 0 );
82
  $relaxcss = ( isset($_POST['wfu_relaxcss']) ? ( $_POST['wfu_relaxcss'] == "on" ? 1 : 0 ) : 0 );
83
- if ( isset($_POST['wfu_basedir']) && isset($_POST['wfu_postmethod']) && isset($_POST['submit']) ) {
84
- if ( $_POST['submit'] == "Update" ) {
85
  $new_plugin_options['version'] = '1.0';
86
  $new_plugin_options['shortcode'] = $plugin_options['shortcode'];
87
  $new_plugin_options['hashfiles'] = $hashfiles;
1
  <?php
2
  function wfu_manage_settings($message = '') {
 
3
  if ( !current_user_can( 'manage_options' ) ) return wfu_shortcode_composer();
4
 
5
  $siteurl = site_url();
61
  $echo_str .= "\n\t\t\t\t".'</tbody>';
62
  $echo_str .= "\n\t\t\t".'</table>';
63
  $echo_str .= "\n\t\t\t".'<p class="submit">';
64
+ $echo_str .= "\n\t\t\t\t".'<input type="submit" class="button-primary" name="submitform" value="Update" />';
65
  $echo_str .= "\n\t\t\t".'</p>';
66
  $echo_str .= "\n\t\t".'</form>';
67
  $echo_str .= "\n\t".'</div>';
70
  echo $echo_str;
71
  }
72
 
73
+
74
  function wfu_update_settings() {
75
  if ( !current_user_can( 'manage_options' ) ) return;
76
  if ( !check_admin_referer('wfu_edit_admin_settings') ) return;
80
  // $enabled = ( isset($_POST['wfu_enabled']) ? ( $_POST['wfu_enabled'] == "on" ? 1 : 0 ) : 0 );
81
  $hashfiles = ( isset($_POST['wfu_hashfiles']) ? ( $_POST['wfu_hashfiles'] == "on" ? 1 : 0 ) : 0 );
82
  $relaxcss = ( isset($_POST['wfu_relaxcss']) ? ( $_POST['wfu_relaxcss'] == "on" ? 1 : 0 ) : 0 );
83
+ if ( isset($_POST['wfu_basedir']) && isset($_POST['wfu_postmethod']) && isset($_POST['submitform']) ) {
84
+ if ( $_POST['submitform'] == "Update" ) {
85
  $new_plugin_options['version'] = '1.0';
86
  $new_plugin_options['shortcode'] = $plugin_options['shortcode'];
87
  $new_plugin_options['hashfiles'] = $hashfiles;
lib/wfu_ajaxactions.php CHANGED
@@ -323,14 +323,22 @@ function wfu_ajax_action_download_file_invoker() {
323
  die();
324
  }
325
 
326
- // $filepath = wfu_plugin_decode_string($file_code);
327
  $file_code = wfu_sanitize_code($file_code);
328
- $filepath = wfu_get_filepath_from_safe($file_code);
329
- if ( $filepath === false ) die();
330
- $filepath = wfu_path_rel2abs(wfu_flatten_path($filepath));
331
-
332
- //for back-end browser check if user is allowed to perform this action on this file
333
- if ( !wfu_current_user_owes_file($filepath) ) die();
 
 
 
 
 
 
 
 
 
334
 
335
  //generate download unique id to monitor this download
336
  $download_id = wfu_create_random_string(16);
@@ -392,6 +400,17 @@ function wfu_ajax_action_download_file_monitor() {
392
  }
393
  }
394
 
 
 
 
 
 
 
 
 
 
 
 
395
 
396
  function wfu_ajax_action_notify_wpfilebase() {
397
  $params_index = (isset($_POST['params_index']) ? $_POST['params_index'] : (isset($_GET['params_index']) ? $_GET['params_index'] : ''));
323
  die();
324
  }
325
 
 
326
  $file_code = wfu_sanitize_code($file_code);
327
+ //if file_code is exportdata, then export of data has been requested and
328
+ //we need to create a file with export data and recreate file_code
329
+ if ( $file_code == "exportdata" && current_user_can( 'manage_options' ) ) {
330
+ $filepath = wfu_export_uploaded_files(null);
331
+ if ( $filepath === false ) die();
332
+ $file_code = "exportdata".wfu_safe_store_filepath($filepath);
333
+ }
334
+ //else get the file path from the safe
335
+ else {
336
+ $filepath = wfu_get_filepath_from_safe($file_code);
337
+ if ( $filepath === false ) die();
338
+ $filepath = wfu_path_rel2abs(wfu_flatten_path($filepath));
339
+ //for back-end browser check if user is allowed to perform this action on this file
340
+ if ( !wfu_current_user_owes_file($filepath) ) die();
341
+ }
342
 
343
  //generate download unique id to monitor this download
344
  $download_id = wfu_create_random_string(16);
400
  }
401
  }
402
 
403
+ function wfu_ajax_action_get_historylog_page() {
404
+ if ( !isset($_POST['token']) || !isset($_POST['page']) ) die();
405
+ check_ajax_referer( 'wfu-historylog-page', 'token' );
406
+ if ( !current_user_can( 'manage_options' ) ) die();
407
+ if ( WFU_HISTORYLOG_TABLE_MAXROWS <= 0 ) die();
408
+
409
+ $page = wfu_sanitize_int($_POST['page']);
410
+ $rows = wfu_view_log($page, true);
411
+
412
+ die('wfu_historylog_page_success:'.wfu_plugin_encode_string($rows));
413
+ }
414
 
415
  function wfu_ajax_action_notify_wpfilebase() {
416
  $params_index = (isset($_POST['params_index']) ? $_POST['params_index'] : (isset($_GET['params_index']) ? $_GET['params_index'] : ''));
lib/wfu_attributes.php CHANGED
@@ -1398,20 +1398,6 @@ function wfu_attribute_definitions() {
1398
  "variables" => null,
1399
  "help" => "If enabled, then user can send additional information together with uploaded files (e.g. name, email etc), defined in userdatalabel attribute."
1400
  ),
1401
- /* array(
1402
- "name" => "Additional Data Fields",
1403
- "attribute" => "userdatalabel",
1404
- "type" => "userfields",
1405
- "listitems" => null,
1406
- "value" => WFU_USERDATALABEL,
1407
- "mode" => "free",
1408
- "category" => "userdata",
1409
- "subcategory" => "Additional Data Fields",
1410
- "parent" => "userdata",
1411
- "dependencies" => null,
1412
- "variables" => null,
1413
- "help" => "It defines the labels of the additional data fields and whether they are required or not."
1414
- ),*/
1415
  array(
1416
  "name" => "Additional Data Fields",
1417
  "attribute" => "userdatalabel",
1398
  "variables" => null,
1399
  "help" => "If enabled, then user can send additional information together with uploaded files (e.g. name, email etc), defined in userdatalabel attribute."
1400
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1401
  array(
1402
  "name" => "Additional Data Fields",
1403
  "attribute" => "userdatalabel",
lib/wfu_constants.php CHANGED
@@ -2,11 +2,182 @@
2
 
3
  $siteurl = site_url();
4
 
5
- //define plugin defaults
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  DEFINE("WFU_UPLOADID", "1");
7
- DEFINE("WFU_UPLOADTITLE", __('Upload files', 'wordpress-file-upload'));
8
- DEFINE("WFU_SELECTBUTTON", __('Select File', 'wordpress-file-upload'));
9
- DEFINE("WFU_UPLOADBUTTON", __('Upload File', 'wordpress-file-upload'));
10
  DEFINE("WFU_SINGLEBUTTON", "false");
11
  DEFINE("WFU_UPLOADROLE", "all,guests");
12
  DEFINE("WFU_UPLOADPATH", 'uploads');
@@ -25,17 +196,11 @@ DEFINE("WFU_UNIQUEPATTERN", "index");
25
  DEFINE("WFU_FILEBASELINK", "false");
26
  DEFINE("WFU_NOTIFY", "false");
27
  DEFINE("WFU_NOTIFYRECIPIENTS", "");
28
- DEFINE("WFU_NOTIFYSUBJECT", __('File Upload Notification', 'wordpress-file-upload'));
29
- DEFINE("WFU_NOTIFYMESSAGE", __("Dear Recipient,%n%%n% This is an automatic delivery message to notify you that a new file has been uploaded.%n%%n%Best Regards", 'wordpress-file-upload'));
30
  DEFINE("WFU_NOTIFYHEADERS", "");
31
  DEFINE("WFU_ATTACHFILE", "false");
32
  DEFINE("WFU_REDIRECT", "false");
33
  DEFINE("WFU_REDIRECTLINK", "");
34
  DEFINE("WFU_ADMINMESSAGES", "false");
35
- DEFINE("WFU_SUCCESSMESSAGE", __('File %filename% uploaded successfully', 'wordpress-file-upload'));
36
- DEFINE("WFU_WARNINGMESSAGE", __('File %filename% uploaded successfully but with warnings', 'wordpress-file-upload'));
37
- DEFINE("WFU_ERRORMESSAGE", __('File %filename% not uploaded', 'wordpress-file-upload'));
38
- DEFINE("WFU_WAITMESSAGE", __('File %filename% is being uploaded', 'wordpress-file-upload'));
39
  DEFINE("WFU_SUCCESSMESSAGECOLOR", "green");
40
  DEFINE("WFU_SUCCESSMESSAGECOLORS", "#006600,#EEFFEE,#006666");
41
  DEFINE("WFU_WARNINGMESSAGECOLORS", "#F88017,#FEF2E7,#633309");
@@ -53,139 +218,13 @@ DEFINE("WFU_WIDTHS", "");
53
  DEFINE("WFU_HEIGHTS", "");
54
  DEFINE("WFU_PLACEMENTS", "title/filename+selectbutton+uploadbutton/subfolders"."/userdata"."/message");
55
  DEFINE("WFU_USERDATA", "false");
56
- DEFINE("WFU_USERDATALABEL", __('Your message', 'wordpress-file-upload')."|t:text|s:left|r:0|a:0|p:inline|d:");
57
  DEFINE("WFU_MEDIALINK", "false");
58
  DEFINE("WFU_POSTLINK", "false");
59
-
60
- //define plugin errors
61
- DEFINE("WFU_ERROR_ADMIN_FTPDIR_RESOLVE", __("Error. Could not resolve ftp target filedir. Check the domain in 'ftpinfo' attribute.", "wordpress-file-upload"));
62
- DEFINE("WFU_ERROR_ADMIN_FTPINFO_INVALID", __("Error. Invalid ftp information. Check 'ftpinfo' attribute.", "wordpress-file-upload"));
63
- DEFINE("WFU_ERROR_ADMIN_FTPINFO_EXTRACT", __("Error. Could not extract ftp information from 'ftpinfo' attribute. Check its syntax.", "wordpress-file-upload"));
64
- DEFINE("WFU_ERROR_ADMIN_FTPFILE_RESOLVE", __("Error. Could not resolve ftp target filename. Check the domain in 'ftpinfo' attribute.", "wordpress-file-upload"));
65
- DEFINE("WFU_ERROR_ADMIN_FILE_PHP_SIZE", __("Error. The upload size limit of PHP directive upload_max_filesize is preventing the upload of big files.\nPHP directive upload_max_filesize limit is: ".ini_get("upload_max_filesize").".\nTo increase the limit change the value of the directive from php.ini.\nIf you don't have access to php.ini, then try adding the following line to your .htaccess file:\n\nphp_value upload_max_filesize 10M\n\n(adjust the size according to your needs)\n\nThe file .htaccess is found in your website root directory (where index.php is found).\nIf your don't have this file, then create it.\nIf this does not work either, then contact your domain provider.", "wordpress-file-upload"));
66
- DEFINE("WFU_ERROR_ADMIN_FILE_PHP_TIME", __("The upload time limit of PHP directive max_input_time is preventing the upload of big files.\nPHP directive max_input_time limit is: ".ini_get("max_input_time")." seconds.\nTo increase the limit change the value of the directive from php.ini.\nIf you don't have access to php.ini, then add the following line to your .htaccess file:\n\nphp_value max_input_time 500\n\n(adjust the time according to your needs)\n\nThe file .htaccess is found in your website root directory (where index.php is found).\nIf your don't have this file, then create it.\nIf this does not work either, then contact your domain provider.", "wordpress-file-upload"));
67
- DEFINE("WFU_ERROR_ADMIN_DIR_PERMISSION", __("Error. Permission denied to write to target folder.\nCheck and correct read/write permissions of target folder.", "wordpress-file-upload"));
68
- DEFINE("WFU_ERROR_DIR_EXIST", __("Targer folder doesn't exist.", "wordpress-file-upload"));
69
- DEFINE("WFU_ERROR_DIR_NOTEMP", __("Upload failed! Missing a temporary folder.", "wordpress-file-upload"));
70
- DEFINE("WFU_ERROR_DIR_PERMISSION", __("Upload failed! Permission denied to write to target folder.", "wordpress-file-upload"));
71
- DEFINE("WFU_ERROR_FILE_ALLOW", __("File not allowed.", "wordpress-file-upload"));
72
- DEFINE("WFU_ERROR_FILE_PLUGIN_SIZE", __("The uploaded file exceeds the file size limit.", "wordpress-file-upload"));
73
- DEFINE("WFU_ERROR_FILE_PLUGIN_2GBSIZE", __("The uploaded file exceeds 2GB and is not supported by this server.", "wordpress-file-upload"));
74
- DEFINE("WFU_ERROR_FILE_PHP_SIZE", __("Upload failed! The uploaded file exceeds the file size limit of the server. Please contact the administrator.", "wordpress-file-upload"));
75
- DEFINE("WFU_ERROR_FILE_PHP_TIME", __("Upload failed! The duration of the upload exceeded the time limit of the server. Please contact the administrator.", "wordpress-file-upload"));
76
- DEFINE("WFU_ERROR_FILE_HTML_SIZE", __("Upload failed! The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.", "wordpress-file-upload"));
77
- DEFINE("WFU_ERROR_FILE_PARTIAL", __("Upload failed! The uploaded file was only partially uploaded.", "wordpress-file-upload"));
78
- DEFINE("WFU_ERROR_FILE_NOTHING", __("Upload failed! No file was uploaded.", "wordpress-file-upload"));
79
- DEFINE("WFU_ERROR_FILE_WRITE", __("Upload failed! Failed to write file to disk.", "wordpress-file-upload"));
80
- DEFINE("WFU_ERROR_FILE_MOVE", __("Upload failed! Error occured while moving temporary file. Please contact administrator.", "wordpress-file-upload"));
81
- DEFINE("WFU_ERROR_UPLOAD_STOPPED", __("Upload failed! A PHP extension stopped the file upload. PHP does not provide a way to ascertain which extension caused the file upload to stop; examining the list of loaded extensions with phpinfo() may help.", "wordpress-file-upload"));
82
- DEFINE("WFU_ERROR_UPLOAD_FAILED_WHILE", __("Upload failed! Error occured while attemting to upload the file.", "wordpress-file-upload"));
83
- DEFINE("WFU_ERROR_UPLOAD_FAILED", __("Upload failed!", "wordpress-file-upload"));
84
- DEFINE("WFU_ERROR_UPLOAD_NOFILESELECTED", __("No file!", "wordpress-file-upload"));
85
- DEFINE("WFU_ERROR_UPLOAD_CANCELLED", __("Upload failed! The upload has been canceled by the user or the browser dropped the connection.", "wordpress-file-upload"));
86
- DEFINE("WFU_ERROR_UNKNOWN", __("Upload failed! Unknown error.", "wordpress-file-upload"));
87
- DEFINE("WFU_ERROR_CONTACT_ADMIN", __("Please contact the administrator.", "wordpress-file-upload"));
88
- DEFINE("WFU_ERROR_REMOTESERVER_NORESULT", __("No result from remote server!", "wordpress-file-upload"));
89
- DEFINE("WFU_ERROR_JSONPARSE_FILEMESSAGE", __(" but with warnings", "wordpress-file-upload"));
90
- DEFINE("WFU_ERROR_JSONPARSE_MESSAGE", __("Warning: JSON parse error.", "wordpress-file-upload"));
91
- DEFINE("WFU_ERROR_JSONPARSE_ADMINMESSAGE", __("Upload parameters of this file, passed as JSON string to the handler, could not be parsed.", "wordpress-file-upload"));
92
- DEFINE("WFU_ERROR_JSONPARSE_HEADERMESSAGE", __("Warning: JSON parse error.", "wordpress-file-upload"));
93
- DEFINE("WFU_ERROR_JSONPARSE_HEADERADMINMESSAGE", __("UploadStates, passed as JSON string to the handler, could not be parsed.", "wordpress-file-upload"));
94
- DEFINE("WFU_ERROR_REDIRECTION_ERRORCODE0", __("Redirection to classic form functionality occurred due to unknown error.", "wordpress-file-upload"));
95
- DEFINE("WFU_ERROR_REDIRECTION_ERRORCODE1", __("Redirection to classic form functionality occurred because AJAX is not supported.", "wordpress-file-upload"));
96
- DEFINE("WFU_ERROR_REDIRECTION_ERRORCODE2", __("Redirection to classic form functionality occurred because HTML5 is not supported.", "wordpress-file-upload"));
97
- DEFINE("WFU_ERROR_REDIRECTION_ERRORCODE3", __("Redirection to classic form functionality occurred due to JSON parse error.", "wordpress-file-upload"));
98
- DEFINE("WFU_ERROR_ENABLE_POPUPS", __("Please enable popup windows from the browser's settings!", "wordpress-file-upload"));
99
- DEFINE("WFU_ERROR_USERDATA_EMPTY", __("cannot be empty!", "wordpress-file-upload"));
100
- DEFINE("WFU_ERROR_USERDATANUMBER_INVALID", __("number not valid!", "wordpress-file-upload"));
101
- DEFINE("WFU_ERROR_USERDATAEMAIL_INVALID", __("email not valid!", "wordpress-file-upload"));
102
- DEFINE("WFU_ERROR_USERDATACONFIRMEMAIL_NOMATCH", __("emails do not match!", "wordpress-file-upload"));
103
- DEFINE("WFU_ERROR_USERDATACONFIRMEMAIL_NOBASE", __("no base email field in group!", "wordpress-file-upload"));
104
- DEFINE("WFU_ERROR_USERDATACONFIRMPASSWORD_NOMATCH", __("passwords do not match!", "wordpress-file-upload"));
105
- DEFINE("WFU_ERROR_USERDATACONFIRMPASSWORD_NOBASE", __("no base password field in group!", "wordpress-file-upload"));
106
- DEFINE("WFU_ERROR_USERDATACHECKBOX_NOTCHECKED", __("checkbox unchecked!", "wordpress-file-upload"));
107
- DEFINE("WFU_ERROR_USERDATARADIO_NOTSELECTED", __("no option selected!", "wordpress-file-upload"));
108
- DEFINE("WFU_ERROR_USERDATALIST_NOITEMSELECTED", __("no item selected!", "wordpress-file-upload"));
109
- DEFINE("WFU_ERROR_SAME_PLUGINID", __("There are more than one instances of the plugin in this page with the same id. Please change it.", "wordpress-file-upload"));
110
- DEFINE("WFU_ERROR_PAGE_OBSOLETE", __("Cannot edit the shortcode because the page has been modified. Please reload the page.", "wordpress-file-upload"));
111
-
112
- //define plugin warnings
113
- DEFINE("WFU_WARNING_FILE_EXISTS", __("Upload skipped! File already exists.", "wordpress-file-upload"));
114
- DEFINE("WFU_WARNING_NOFILES_SELECTED", __("No files have been selected!", "wordpress-file-upload"));
115
- DEFINE("WFU_WARNING_WPFILEBASE_NOTUPDATED_NOFILES", __("WPFilebase Plugin not updated because there were no files uploaded.", "wordpress-file-upload"));
116
- DEFINE("WFU_WARNING_NOTIFY_NOTSENT_NOFILES", __("Notification email was not sent because there were no files uploaded.", "wordpress-file-upload"));
117
- DEFINE("WFU_WARNING_NOTIFY_NOTSENT_NORECIPIENTS", __("Notification email was not sent because no recipients were defined. Please check notifyrecipients attribute in the shortcode.", "wordpress-file-upload"));
118
- DEFINE("WFU_WARNING_NOTIFY_NOTSENT_UNKNOWNERROR", __("Notification email was not sent due to an error. Please check notifyrecipients, notifysubject and notifymessage attributes for errors.", "wordpress-file-upload"));
119
- DEFINE("WFU_WARNING_REDIRECT_NOTEXECUTED_EMPTY", __("Redirection not executed because redirection link is empty. Please check redirectlink attribute.", "wordpress-file-upload"));
120
- DEFINE("WFU_WARNING_REDIRECT_NOTEXECUTED_FILESFAILED", __("Redirection not executed because not all files were successfully uploaded.", "wordpress-file-upload"));
121
-
122
- //define plugin messages
123
- DEFINE("WFU_NOTIFY_TESTMODE", __("Test Mode", "wordpress-file-upload"));
124
- DEFINE("WFU_SUBDIR_SELECTDIR", __("select dir...", "wordpress-file-upload"));
125
- DEFINE("WFU_SUBDIR_TYPEDIR", __("type dir", "wordpress-file-upload"));
126
- DEFINE("WFU_SUCCESSMESSAGE_DETAILS", __('Upload path: %filepath%', 'wordpress-file-upload'));
127
- DEFINE("WFU_FAILMESSAGE_DETAILS", __('Failed upload path: %filepath%', 'wordpress-file-upload'));
128
- DEFINE("WFU_USERDATA_REQUIREDLABEL", __(' (required)', 'wordpress-file-upload'));
129
- DEFINE("WFU_PAGEEXIT_PROMPT", __('Files are being uploaded. Are you sure you want to exit the page?', 'wordpress-file-upload'));
130
-
131
- //define plugin test messages
132
- DEFINE("WFU_TESTMESSAGE_MESSAGE", __('This is a test message', 'wordpress-file-upload'));
133
- DEFINE("WFU_TESTMESSAGE_ADMINMESSAGE", __('This is a test administrator message', 'wordpress-file-upload'));
134
- DEFINE("WFU_TESTMESSAGE_FILE1_HEADER", __('File testfile 1 under test', 'wordpress-file-upload'));
135
- DEFINE("WFU_TESTMESSAGE_FILE1_MESSAGE", __('File testfile 1 message', 'wordpress-file-upload'));
136
- DEFINE("WFU_TESTMESSAGE_FILE1_ADMINMESSAGE", __('File testfile 1 administrator message', 'wordpress-file-upload'));
137
- DEFINE("WFU_TESTMESSAGE_FILE2_HEADER", __('File testfile 2 under test', 'wordpress-file-upload'));
138
- DEFINE("WFU_TESTMESSAGE_FILE2_MESSAGE", __('File testfile 2 message', 'wordpress-file-upload'));
139
- DEFINE("WFU_TESTMESSAGE_FILE2_ADMINMESSAGE", __('File testfile 2 administrator message', 'wordpress-file-upload'));
140
-
141
- //define admin area messages
142
- DEFINE("WFU_DASHBOARD_ADD_SHORTCODE_REJECTED", __("Failed to add the shortcode to the page/post. Please try again. If the message persists, contact administrator.", "wordpress-file-upload"));
143
- DEFINE("WFU_DASHBOARD_EDIT_SHORTCODE_REJECTED", __("Failed to edit the shortcode because the contents of the page changed. Try again to edit the shortcode.", "wordpress-file-upload"));
144
- DEFINE("WFU_DASHBOARD_DELETE_SHORTCODE_REJECTED", __("Failed to delete the shortcode because the contents of the page changed. Try again to delete it.", "wordpress-file-upload"));
145
- DEFINE("WFU_DASHBOARD_PAGE_OBSOLETE", __("The page containing the shortcode has been modified and it is no longer valid. Please go back to reload the shortcode.", "wordpress-file-upload"));
146
- DEFINE("WFU_DASHBOARD_UPDATE_SHORTCODE_REJECTED", __("Failed to update the shortcode because the contents of the page changed. Go back to reload the shortcode.", "wordpress-file-upload"));
147
- DEFINE("WFU_DASHBOARD_UPDATE_SHORTCODE_FAILED", __("Failed to update the shortcode. Please try again. If the problem persists, go back and reload the shortcode.", "wordpress-file-upload"));
148
-
149
- //define tool tip constants
150
- DEFINE("WFU_VARIABLE_TITLE_USERID", __("Insert variable %userid% inside text. It will be replaced by the id of the current user.", "wordpress-file-upload"));
151
- DEFINE("WFU_VARIABLE_TITLE_USERNAME", __("Insert variable %username% inside text. It will be replaced by the username of the current user.", "wordpress-file-upload"));
152
- DEFINE("WFU_VARIABLE_TITLE_USEREMAIL", __("Insert variable %useremail% inside text. It will be replaced by the email of the current user.", "wordpress-file-upload"));
153
- DEFINE("WFU_VARIABLE_TITLE_FILENAME", __("Insert variable %filename% inside text. It will be replaced by the filename of the uploaded file.", "wordpress-file-upload"));
154
- DEFINE("WFU_VARIABLE_TITLE_FILEPATH", __("Insert variable %filepath% inside text. It will be replaced by the full filepath of the uploaded file.", "wordpress-file-upload"));
155
- DEFINE("WFU_VARIABLE_TITLE_BLOGID", __("Insert variable %blogid% inside text. It will be replaced by the blog id of the website.", "wordpress-file-upload"));
156
- DEFINE("WFU_VARIABLE_TITLE_PAGEID", __("Insert variable %pageid% inside text. It will be replaced by the id of the current page.", "wordpress-file-upload"));
157
- DEFINE("WFU_VARIABLE_TITLE_PAGETITLE", __("Insert variable %pagetitle% inside text. It will be replaced by the title of the current page.", "wordpress-file-upload"));
158
- DEFINE("WFU_VARIABLE_TITLE_USERDATAXXX", __("Insert variable %userdataXXX% inside text. Select the user field from the drop-down list. It will be replaced by the value that the user entered in this field.", "wordpress-file-upload"));
159
- DEFINE("WFU_VARIABLE_TITLE_N", __("Insert variable %n% inside text to denote a line change.", "wordpress-file-upload"));
160
-
161
- //define plugin other constants
162
- DEFINE("WFU_UPLOAD_STATE0", __("Upload in progress", "wordpress-file-upload"));
163
- DEFINE("WFU_UPLOAD_STATE1", __("Upload in progress with warnings!", "wordpress-file-upload"));
164
- DEFINE("WFU_UPLOAD_STATE2", __("Upload in progress but some files already failed!", "wordpress-file-upload"));
165
- DEFINE("WFU_UPLOAD_STATE3", __("Upload in progress but no files uploaded so far!", "wordpress-file-upload"));
166
- DEFINE("WFU_UPLOAD_STATE4", __("All files uploaded successfully", "wordpress-file-upload"));
167
- DEFINE("WFU_UPLOAD_STATE5", __("All files uploaded successfully but there are warnings!", "wordpress-file-upload"));
168
- DEFINE("WFU_UPLOAD_STATE5_SINGLEFILE", __("File uploaded successfully but there are warnings!", "wordpress-file-upload"));
169
- DEFINE("WFU_UPLOAD_STATE6", __("Some files failed to upload!", "wordpress-file-upload"));
170
- DEFINE("WFU_UPLOAD_STATE7", __("All files failed to upload", "wordpress-file-upload"));
171
- DEFINE("WFU_UPLOAD_STATE7_SINGLEFILE", __("File failed to upload", "wordpress-file-upload"));
172
- DEFINE("WFU_UPLOAD_STATE8", __("There are no files to upload!", "wordpress-file-upload"));
173
- DEFINE("WFU_UPLOAD_STATE9", __("Test upload message", "wordpress-file-upload"));
174
- DEFINE("WFU_UPLOAD_STATE10", __("JSON parse warning!", "wordpress-file-upload"));
175
- DEFINE("WFU_UPLOAD_STATE11", __("please wait while redirecting...", "wordpress-file-upload"));
176
- DEFINE("WFU_PAGE_PLUGINEDITOR_BUTTONTITLE", __("Open visual shortcode editor in new window", "wordpress-file-upload"));
177
- DEFINE("WFU_PAGE_PLUGINEDITOR_LOADING", __("loading visual editor", "wordpress-file-upload"));
178
  DEFINE("WFU_MAX_TIME_LIMIT", ini_get("max_input_time"));
179
- DEFINE("WFU_RESPONSE_URL", $siteurl.WPFILEUPLOAD_DIR."wfu_response.php");
180
- DEFINE("WFU_AJAX_URL", $siteurl."/wp-admin/admin-ajax.php");
181
- DEFINE("WFU_DOWNLOADER_URL", $siteurl.WPFILEUPLOAD_DIR."wfu_file_downloader.php");
182
  DEFINE("WFU_PHP_ARRAY_MAXLEN", '10000');
183
- DEFINE("WFU_SERVICES_SERVER_URL", 'http://services.iptanus.com');
184
- DEFINE("WFU_VERSION_SERVER_URL", WFU_SERVICES_SERVER_URL.'/wp-admin/admin-ajax.php');
185
- DEFINE("WFU_VERSION_HASH", 'QwtV833qMWJuGbdy7CcNAm4AXxxLEqT6xSKLtVHDpfrydb6gaExZ7LcU9HCYPmU6');
186
- DEFINE("WFU_PRO_VERSION_URL", 'http://www.iptanus.com/product/wordpress-file-upload-pro/');
187
-
188
- //define colors
189
  DEFINE("WFU_TESTMESSAGECOLORS", "#666666,#EEEEEE,#333333");
190
  DEFINE("WFU_DEFAULTMESSAGECOLORS", "#666666,#EEEEEE,#333333");
191
  DEFINE("WFU_HEADERMESSAGECOLORS_STATE0", "#666666,#EEEEEE,#333333");
@@ -201,6 +240,15 @@ DEFINE("WFU_HEADERMESSAGECOLORS_STATE9", "#666666,#EEEEEE,#333333");
201
  DEFINE("WFU_HEADERMESSAGECOLORS_STATE10", "#F88017,#FEF2E7,#633309");
202
  DEFINE("WFU_HEADERMESSAGECOLORS_STATE11", "#666666,#EEEEEE,#333333");
203
 
 
 
 
 
 
 
 
 
 
204
  //define images
205
  DEFINE("WFU_IMAGE_ADMIN_HELP", $siteurl.WPFILEUPLOAD_DIR.'images/help_16.png');
206
  DEFINE("WFU_IMAGE_ADMIN_RESTOREDEFAULT", $siteurl.WPFILEUPLOAD_DIR.'images/restore_16.png');
2
 
3
  $siteurl = site_url();
4
 
5
+ /************ Translatable Strings ************/
6
+ //plugin default values
7
+ DEFINE("WFU_UPLOADTITLE", __('Upload files', 'wp-file-upload'));
8
+ DEFINE("WFU_SELECTBUTTON", __('Select File', 'wp-file-upload'));
9
+ DEFINE("WFU_UPLOADBUTTON", __('Upload File', 'wp-file-upload'));
10
+ DEFINE("WFU_NOTIFYSUBJECT", __('File Upload Notification', 'wp-file-upload'));
11
+ DEFINE("WFU_NOTIFYMESSAGE", __("Dear Recipient,%n%%n% This is an automatic delivery message to notify you that a new file has been uploaded.%n%%n%Best Regards", 'wp-file-upload'));
12
+ DEFINE("WFU_SUCCESSMESSAGE", __('File %filename% uploaded successfully', 'wp-file-upload'));
13
+ DEFINE("WFU_WARNINGMESSAGE", __('File %filename% uploaded successfully but with warnings', 'wp-file-upload'));
14
+ DEFINE("WFU_ERRORMESSAGE", __('File %filename% not uploaded', 'wp-file-upload'));
15
+ DEFINE("WFU_WAITMESSAGE", __('File %filename% is being uploaded', 'wp-file-upload'));
16
+ DEFINE("WFU_USERDATALABEL", __('Your message', 'wp-file-upload')."|t:text|s:left|r:0|a:0|p:inline|d:");
17
+ DEFINE("WFU_CAPTCHAPROMPT", __('Please fill in the above words: ', 'wp-file-upload'));
18
+ //browser default values
19
+ DEFINE("WFU_FILETITLE", __('File', 'wp-file-upload'));
20
+ DEFINE("WFU_DATETITLE", __('Date', 'wp-file-upload'));
21
+ DEFINE("WFU_SIZETITLE", __('Size', 'wp-file-upload'));
22
+ DEFINE("WFU_USERTITLE", __('User', 'wp-file-upload'));
23
+ DEFINE("WFU_POSTTITLE", __('Page', 'wp-file-upload'));
24
+ DEFINE("WFU_FIELDSTITLE", __('User Fields', 'wp-file-upload'));
25
+ DEFINE("WFU_DOWNLOADLABEL", __('Download', 'wp-file-upload'));
26
+ DEFINE("WFU_DOWNLOADTITLE", __('Download this file', 'wp-file-upload'));
27
+ DEFINE("WFU_DELETELABEL", __('Delete', 'wp-file-upload'));
28
+ DEFINE("WFU_DELETETITLE", __('Delete this file', 'wp-file-upload'));
29
+ DEFINE("WFU_SORTTITLE", __('Sort list based on this column', 'wp-file-upload'));
30
+ DEFINE("WFU_GUESTTITLE", __('guest', 'wp-file-upload'));
31
+ DEFINE("WFU_UNKNOWNTITLE", __('unknown', 'wp-file-upload'));
32
+ //error messages
33
+ DEFINE("WFU_ERROR_ADMIN_FTPDIR_RESOLVE", __("Error. Could not resolve ftp target filedir. Check the domain in 'ftpinfo' attribute.", "wp-file-upload"));
34
+ DEFINE("WFU_ERROR_ADMIN_FTPINFO_INVALID", __("Error. Invalid ftp information. Check 'ftpinfo' attribute.", "wp-file-upload"));
35
+ DEFINE("WFU_ERROR_ADMIN_FTPINFO_EXTRACT", __("Error. Could not extract ftp information from 'ftpinfo' attribute. Check its syntax.", "wp-file-upload"));
36
+ DEFINE("WFU_ERROR_ADMIN_FTPFILE_RESOLVE", __("Error. Could not resolve ftp target filename. Check the domain in 'ftpinfo' attribute.", "wp-file-upload"));
37
+ DEFINE("WFU_ERROR_ADMIN_FILE_PHP_SIZE", __("Error. The upload size limit of PHP directive upload_max_filesize is preventing the upload of big files.\nPHP directive upload_max_filesize limit is: ".ini_get("upload_max_filesize").".\nTo increase the limit change the value of the directive from php.ini.\nIf you don't have access to php.ini, then try adding the following line to your .htaccess file:\n\nphp_value upload_max_filesize 10M\n\n(adjust the size according to your needs)\n\nThe file .htaccess is found in your website root directory (where index.php is found).\nIf your don't have this file, then create it.\nIf this does not work either, then contact your domain provider.", "wp-file-upload"));
38
+ DEFINE("WFU_ERROR_ADMIN_FILE_PHP_TIME", __("The upload time limit of PHP directive max_input_time is preventing the upload of big files.\nPHP directive max_input_time limit is: ".ini_get("max_input_time")." seconds.\nTo increase the limit change the value of the directive from php.ini.\nIf you don't have access to php.ini, then add the following line to your .htaccess file:\n\nphp_value max_input_time 500\n\n(adjust the time according to your needs)\n\nThe file .htaccess is found in your website root directory (where index.php is found).\nIf your don't have this file, then create it.\nIf this does not work either, then contact your domain provider.", "wp-file-upload"));
39
+ DEFINE("WFU_ERROR_ADMIN_DIR_PERMISSION", __("Error. Permission denied to write to target folder.\nCheck and correct read/write permissions of target folder.", "wp-file-upload"));
40
+ DEFINE("WFU_ERROR_DIR_EXIST", __("Targer folder doesn't exist.", "wp-file-upload"));
41
+ DEFINE("WFU_ERROR_DIR_NOTEMP", __("Upload failed! Missing a temporary folder.", "wp-file-upload"));
42
+ DEFINE("WFU_ERROR_DIR_PERMISSION", __("Upload failed! Permission denied to write to target folder.", "wp-file-upload"));
43
+ DEFINE("WFU_ERROR_FILE_ALLOW", __("File not allowed.", "wp-file-upload"));
44
+ DEFINE("WFU_ERROR_FILE_PLUGIN_SIZE", __("The uploaded file exceeds the file size limit.", "wp-file-upload"));
45
+ DEFINE("WFU_ERROR_FILE_PLUGIN_2GBSIZE", __("The uploaded file exceeds 2GB and is not supported by this server.", "wp-file-upload"));
46
+ DEFINE("WFU_ERROR_FILE_PHP_SIZE", __("Upload failed! The uploaded file exceeds the file size limit of the server. Please contact the administrator.", "wp-file-upload"));
47
+ DEFINE("WFU_ERROR_FILE_PHP_TIME", __("Upload failed! The duration of the upload exceeded the time limit of the server. Please contact the administrator.", "wp-file-upload"));
48
+ DEFINE("WFU_ERROR_FILE_HTML_SIZE", __("Upload failed! The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.", "wp-file-upload"));
49
+ DEFINE("WFU_ERROR_FILE_PARTIAL", __("Upload failed! The uploaded file was only partially uploaded.", "wp-file-upload"));
50
+ DEFINE("WFU_ERROR_FILE_NOTHING", __("Upload failed! No file was uploaded.", "wp-file-upload"));
51
+ DEFINE("WFU_ERROR_FILE_WRITE", __("Upload failed! Failed to write file to disk.", "wp-file-upload"));
52
+ DEFINE("WFU_ERROR_FILE_MOVE", __("Upload failed! Error occured while moving temporary file. Please contact administrator.", "wp-file-upload"));
53
+ DEFINE("WFU_ERROR_UPLOAD_STOPPED", __("Upload failed! A PHP extension stopped the file upload. PHP does not provide a way to ascertain which extension caused the file upload to stop; examining the list of loaded extensions with phpinfo() may help.", "wp-file-upload"));
54
+ DEFINE("WFU_ERROR_UPLOAD_FAILED_WHILE", __("Upload failed! Error occured while attemting to upload the file.", "wp-file-upload"));
55
+ DEFINE("WFU_ERROR_UPLOAD_FAILED", __("Upload failed!", "wp-file-upload"));
56
+ DEFINE("WFU_ERROR_UPLOAD_NOFILESELECTED", __("No file!", "wp-file-upload"));
57
+ DEFINE("WFU_ERROR_UPLOAD_CANCELLED", __("Upload failed! The upload has been canceled by the user or the browser dropped the connection.", "wp-file-upload"));
58
+ DEFINE("WFU_ERROR_UNKNOWN", __("Upload failed! Unknown error.", "wp-file-upload"));
59
+ DEFINE("WFU_ERROR_CONTACT_ADMIN", __("Please contact the administrator.", "wp-file-upload"));
60
+ DEFINE("WFU_ERROR_REMOTESERVER_NORESULT", __("No result from remote server!", "wp-file-upload"));
61
+ DEFINE("WFU_ERROR_JSONPARSE_FILEMESSAGE", __(" but with warnings", "wp-file-upload"));
62
+ DEFINE("WFU_ERROR_JSONPARSE_MESSAGE", __("Warning: JSON parse error.", "wp-file-upload"));
63
+ DEFINE("WFU_ERROR_JSONPARSE_ADMINMESSAGE", __("Upload parameters of this file, passed as JSON string to the handler, could not be parsed.", "wp-file-upload"));
64
+ DEFINE("WFU_ERROR_JSONPARSE_HEADERMESSAGE", __("Warning: JSON parse error.", "wp-file-upload"));
65
+ DEFINE("WFU_ERROR_JSONPARSE_HEADERADMINMESSAGE", __("UploadStates, passed as JSON string to the handler, could not be parsed.", "wp-file-upload"));
66
+ DEFINE("WFU_ERROR_REDIRECTION_ERRORCODE0", __("Redirection to classic form functionality occurred due to unknown error.", "wp-file-upload"));
67
+ DEFINE("WFU_ERROR_REDIRECTION_ERRORCODE1", __("Redirection to classic form functionality occurred because AJAX is not supported.", "wp-file-upload"));
68
+ DEFINE("WFU_ERROR_REDIRECTION_ERRORCODE2", __("Redirection to classic form functionality occurred because HTML5 is not supported.", "wp-file-upload"));
69
+ DEFINE("WFU_ERROR_REDIRECTION_ERRORCODE3", __("Redirection to classic form functionality occurred due to JSON parse error.", "wp-file-upload"));
70
+ DEFINE("WFU_ERROR_ENABLE_POPUPS", __("Please enable popup windows from the browser's settings!", "wp-file-upload"));
71
+ DEFINE("WFU_ERROR_USERDATA_EMPTY", __("cannot be empty!", "wp-file-upload"));
72
+ DEFINE("WFU_ERROR_USERDATANUMBER_INVALID", __("number not valid!", "wp-file-upload"));
73
+ DEFINE("WFU_ERROR_USERDATAEMAIL_INVALID", __("email not valid!", "wp-file-upload"));
74
+ DEFINE("WFU_ERROR_USERDATACONFIRMEMAIL_NOMATCH", __("emails do not match!", "wp-file-upload"));
75
+ DEFINE("WFU_ERROR_USERDATACONFIRMEMAIL_NOBASE", __("no base email field in group!", "wp-file-upload"));
76
+ DEFINE("WFU_ERROR_USERDATACONFIRMPASSWORD_NOMATCH", __("passwords do not match!", "wp-file-upload"));
77
+ DEFINE("WFU_ERROR_USERDATACONFIRMPASSWORD_NOBASE", __("no base password field in group!", "wp-file-upload"));
78
+ DEFINE("WFU_ERROR_USERDATACHECKBOX_NOTCHECKED", __("checkbox unchecked!", "wp-file-upload"));
79
+ DEFINE("WFU_ERROR_USERDATARADIO_NOTSELECTED", __("no option selected!", "wp-file-upload"));
80
+ DEFINE("WFU_ERROR_USERDATALIST_NOITEMSELECTED", __("no item selected!", "wp-file-upload"));
81
+ DEFINE("WFU_ERROR_SAME_PLUGINID", __("There are more than one instances of the plugin in this page with the same id. Please change it.", "wp-file-upload"));
82
+ DEFINE("WFU_ERROR_PAGE_OBSOLETE", __("Cannot edit the shortcode because the page has been modified. Please reload the page.", "wp-file-upload"));
83
+ DEFINE("WFU_ERROR_CAPTCHA_OLDPHP", __("ERROR: Captcha not supported! You have an old PHP version. Upgrade your PHP or use RecaptchaV2 (no account).", "wp-file-upload"));
84
+ DEFINE("WFU_ERROR_CAPTCHA_NOSITEKEY", __("ERROR: No site key. Please contact administrator!", "wp-file-upload"));
85
+ DEFINE("WFU_ERROR_CAPTCHA_NOSITEKEY_ADMIN", __("ERROR: No site key defined! Please go to the plugin settings in Dashboard to define Google Recaptcha keys.", "wp-file-upload"));
86
+ DEFINE("WFU_ERROR_CAPTCHA_NOCHALLENGE", __("Bad captcha image!", "wp-file-upload"));
87
+ DEFINE("WFU_ERROR_CAPTCHA_NOINPUT", __("No input!", "wp-file-upload"));
88
+ DEFINE("WFU_ERROR_CAPTCHA_EMPTY", __("Captcha not completed!", "wp-file-upload"));
89
+ DEFINE("WFU_ERROR_CAPTCHA_WRONGCAPTCHA", __("Wrong captcha!", "wp-file-upload"));
90
+ DEFINE("WFU_ERROR_CAPTCHA_REFRESHING", __("Error refreshing captcha!", "wp-file-upload"));
91
+ DEFINE("WFU_ERROR_CAPTCHA_UNKNOWNERROR", __("Unknown captcha error!", "wp-file-upload"));
92
+ DEFINE("WFU_ERROR_CAPTCHA_NOTSUPPORTED", __("Captcha not supported by your browser!", "wp-file-upload"));
93
+ DEFINE("WFU_ERROR_CAPTCHA_MISSINGINPUTSECRET", __("the secret parameter is missing", "wp-file-upload"));
94
+ DEFINE("WFU_ERROR_CAPTCHA_INVALIDINPUTSECRET", __("the secret parameter is invalid or malformed", "wp-file-upload"));
95
+ DEFINE("WFU_ERROR_CAPTCHA_MISSINGINPUTRESPONSE", __("the response parameter is missing", "wp-file-upload"));
96
+ DEFINE("WFU_ERROR_CAPTCHA_INVALIDINPUTRESPONSE", __("the response parameter is invalid or malformed", "wp-file-upload"));
97
+ DEFINE("WFU_ERROR_REDIRECTION_NODRAGDROP", __("Please do not use drag drop due to an internal problem.", "wp-file-upload"));
98
+ DEFINE("WFU_ERROR_CHUNKEDUPLOAD_UNIQUEIDEMPTY", __("Error during chunked upload. Unique ID empty in chunk %d", "wp-file-upload"));
99
+ DEFINE("WFU_ERROR_CHUNKEDUPLOAD_NOTALLOWED", __("Chunked upload is not allowed!", "wp-file-upload"));
100
+ DEFINE("WFU_ERROR_CHUNKEDUPLOAD_ABORTED", __("Chunked upload aborted due to error in previous chunk!", "wp-file-upload"));
101
+ DEFINE("WFU_ERROR_CHUNKEDUPLOAD_CONCATFAILED", __("Chunked upload failed, final file could not be created!", "wp-file-upload"));
102
+ DEFINE("WFU_ERROR_ADMIN_CHUNKWRITEFAILED", __("Could not write file chuck to destination on chunk %d", "wp-file-upload"));
103
+ DEFINE("WFU_ERROR_ADMIN_CHUNKENLARGEFAILED", __("Could not enlarge destination file on chunk %d", "wp-file-upload"));
104
+ DEFINE("WFU_ERROR_ADMIN_CHUNKHANDLEFAILED", __("Could not open file handles on chunk %d", "wp-file-upload"));
105
+ DEFINE("WFU_BROWSER_DELETEFILE_NOTALLOWED", __("You are not allowed to delete this file!", "wp-file-upload"));
106
+ //warning messages
107
+ DEFINE("WFU_WARNING_FILE_EXISTS", __("Upload skipped! File already exists.", "wp-file-upload"));
108
+ DEFINE("WFU_WARNING_NOFILES_SELECTED", __("No files have been selected!", "wp-file-upload"));
109
+ DEFINE("WFU_WARNING_WPFILEBASE_NOTUPDATED_NOFILES", __("WPFilebase Plugin not updated because there were no files uploaded.", "wp-file-upload"));
110
+ DEFINE("WFU_WARNING_NOTIFY_NOTSENT_NOFILES", __("Notification email was not sent because there were no files uploaded.", "wp-file-upload"));
111
+ DEFINE("WFU_WARNING_NOTIFY_NOTSENT_NORECIPIENTS", __("Notification email was not sent because no recipients were defined. Please check notifyrecipients attribute in the shortcode.", "wp-file-upload"));
112
+ DEFINE("WFU_WARNING_NOTIFY_NOTSENT_UNKNOWNERROR", __("Notification email was not sent due to an error. Please check notifyrecipients, notifysubject and notifymessage attributes for errors.", "wp-file-upload"));
113
+ DEFINE("WFU_WARNING_REDIRECT_NOTEXECUTED_EMPTY", __("Redirection not executed because redirection link is empty. Please check redirectlink attribute.", "wp-file-upload"));
114
+ DEFINE("WFU_WARNING_REDIRECT_NOTEXECUTED_FILESFAILED", __("Redirection not executed because not all files were successfully uploaded.", "wp-file-upload"));
115
+ //admin area messages
116
+ DEFINE("WFU_DASHBOARD_ADD_SHORTCODE_REJECTED", __("Failed to add the shortcode to the page/post. Please try again. If the message persists, contact administrator.", "wp-file-upload"));
117
+ DEFINE("WFU_DASHBOARD_EDIT_SHORTCODE_REJECTED", __("Failed to edit the shortcode because the contents of the page changed. Try again to edit the shortcode.", "wp-file-upload"));
118
+ DEFINE("WFU_DASHBOARD_DELETE_SHORTCODE_REJECTED", __("Failed to delete the shortcode because the contents of the page changed. Try again to delete it.", "wp-file-upload"));
119
+ DEFINE("WFU_DASHBOARD_PAGE_OBSOLETE", __("The page containing the shortcode has been modified and it is no longer valid. Please go back to reload the shortcode.", "wp-file-upload"));
120
+ DEFINE("WFU_DASHBOARD_UPDATE_SHORTCODE_REJECTED", __("Failed to update the shortcode because the contents of the page changed. Go back to reload the shortcode.", "wp-file-upload"));
121
+ DEFINE("WFU_DASHBOARD_UPDATE_SHORTCODE_FAILED", __("Failed to update the shortcode. Please try again. If the problem persists, go back and reload the shortcode.", "wp-file-upload"));
122
+ //test messages
123
+ DEFINE("WFU_TESTMESSAGE_MESSAGE", __('This is a test message', 'wp-file-upload'));
124
+ DEFINE("WFU_TESTMESSAGE_ADMINMESSAGE", __('This is a test administrator message', 'wp-file-upload'));
125
+ DEFINE("WFU_TESTMESSAGE_FILE1_HEADER", __('File testfile 1 under test', 'wp-file-upload'));
126
+ DEFINE("WFU_TESTMESSAGE_FILE1_MESSAGE", __('File testfile 1 message', 'wp-file-upload'));
127
+ DEFINE("WFU_TESTMESSAGE_FILE1_ADMINMESSAGE", __('File testfile 1 administrator message', 'wp-file-upload'));
128
+ DEFINE("WFU_TESTMESSAGE_FILE2_HEADER", __('File testfile 2 under test', 'wp-file-upload'));
129
+ DEFINE("WFU_TESTMESSAGE_FILE2_MESSAGE", __('File testfile 2 message', 'wp-file-upload'));
130
+ DEFINE("WFU_TESTMESSAGE_FILE2_ADMINMESSAGE", __('File testfile 2 administrator message', 'wp-file-upload'));
131
+ //variables tool-tips
132
+ DEFINE("WFU_VARIABLE_TITLE_USERID", __("Insert variable %userid% inside text. It will be replaced by the id of the current user.", "wp-file-upload"));
133
+ DEFINE("WFU_VARIABLE_TITLE_USERNAME", __("Insert variable %username% inside text. It will be replaced by the username of the current user.", "wp-file-upload"));
134
+ DEFINE("WFU_VARIABLE_TITLE_USEREMAIL", __("Insert variable %useremail% inside text. It will be replaced by the email of the current user.", "wp-file-upload"));
135
+ DEFINE("WFU_VARIABLE_TITLE_FILENAME", __("Insert variable %filename% inside text. It will be replaced by the filename of the uploaded file.", "wp-file-upload"));
136
+ DEFINE("WFU_VARIABLE_TITLE_FILEPATH", __("Insert variable %filepath% inside text. It will be replaced by the full filepath of the uploaded file.", "wp-file-upload"));
137
+ DEFINE("WFU_VARIABLE_TITLE_BLOGID", __("Insert variable %blogid% inside text. It will be replaced by the blog id of the website.", "wp-file-upload"));
138
+ DEFINE("WFU_VARIABLE_TITLE_PAGEID", __("Insert variable %pageid% inside text. It will be replaced by the id of the current page.", "wp-file-upload"));
139
+ DEFINE("WFU_VARIABLE_TITLE_PAGETITLE", __("Insert variable %pagetitle% inside text. It will be replaced by the title of the current page.", "wp-file-upload"));
140
+ DEFINE("WFU_VARIABLE_TITLE_USERDATAXXX", __("Insert variable %userdataXXX% inside text. Select the user field from the drop-down list. It will be replaced by the value that the user entered in this field.", "wp-file-upload"));
141
+ DEFINE("WFU_VARIABLE_TITLE_N", __("Insert variable %n% inside text to denote a line change.", "wp-file-upload"));
142
+ //other plugin values
143
+ DEFINE("WFU_NOTIFY_TESTMODE", __("Test Mode", "wp-file-upload"));
144
+ DEFINE("WFU_SUBDIR_SELECTDIR", __("select dir...", "wp-file-upload"));
145
+ DEFINE("WFU_SUBDIR_TYPEDIR", __("type dir", "wp-file-upload"));
146
+ DEFINE("WFU_SUCCESSMESSAGE_DETAILS", __('Upload path: %filepath%', 'wp-file-upload'));
147
+ DEFINE("WFU_FAILMESSAGE_DETAILS", __('Failed upload path: %filepath%', 'wp-file-upload'));
148
+ DEFINE("WFU_USERDATA_REQUIREDLABEL", __(' (required)', 'wp-file-upload'));
149
+ DEFINE("WFU_PAGEEXIT_PROMPT", __('Files are being uploaded. Are you sure you want to exit the page?', 'wp-file-upload'));
150
+ DEFINE("WFU_MESSAGE_CAPTCHA_CHECKING", __("checking captcha...", "wp-file-upload"));
151
+ DEFINE("WFU_MESSAGE_CAPTCHA_REFRESHING", __("refreshing...", "wp-file-upload"));
152
+ DEFINE("WFU_MESSAGE_CAPTCHA_OK", __("correct captcha", "wp-file-upload"));
153
+ DEFINE("WFU_CONFIRMBOX_CAPTION", __("click to continue the upload", "wp-file-upload"));
154
+ DEFINE("WFU_BROWSER_DELETEFILE_PROMPT", __("Are you sure you want to delete this file?", "wp-file-upload"));
155
+ DEFINE("WFU_UPLOAD_STATE0", __("Upload in progress", "wp-file-upload"));
156
+ DEFINE("WFU_UPLOAD_STATE1", __("Upload in progress with warnings!", "wp-file-upload"));
157
+ DEFINE("WFU_UPLOAD_STATE2", __("Upload in progress but some files already failed!", "wp-file-upload"));
158
+ DEFINE("WFU_UPLOAD_STATE3", __("Upload in progress but no files uploaded so far!", "wp-file-upload"));
159
+ DEFINE("WFU_UPLOAD_STATE4", __("All files uploaded successfully", "wp-file-upload"));
160
+ DEFINE("WFU_UPLOAD_STATE5", __("All files uploaded successfully but there are warnings!", "wp-file-upload"));
161
+ DEFINE("WFU_UPLOAD_STATE5_SINGLEFILE", __("File uploaded successfully but there are warnings!", "wp-file-upload"));
162
+ DEFINE("WFU_UPLOAD_STATE6", __("Some files failed to upload!", "wp-file-upload"));
163
+ DEFINE("WFU_UPLOAD_STATE7", __("All files failed to upload", "wp-file-upload"));
164
+ DEFINE("WFU_UPLOAD_STATE7_SINGLEFILE", __("File failed to upload", "wp-file-upload"));
165
+ DEFINE("WFU_UPLOAD_STATE8", __("There are no files to upload!", "wp-file-upload"));
166
+ DEFINE("WFU_UPLOAD_STATE9", __("Test upload message", "wp-file-upload"));
167
+ DEFINE("WFU_UPLOAD_STATE10", __("JSON parse warning!", "wp-file-upload"));
168
+ DEFINE("WFU_UPLOAD_STATE11", __("please wait while redirecting...", "wp-file-upload"));
169
+ DEFINE("WFU_PAGE_PLUGINEDITOR_BUTTONTITLE", __("Open visual shortcode editor in new window", "wp-file-upload"));
170
+ DEFINE("WFU_PAGE_PLUGINEDITOR_LOADING", __("loading visual editor", "wp-file-upload"));
171
+ DEFINE("WFU_CONFIRM_CLEARFILES", __("Clear file list?", "wp-file-upload"));
172
+ DEFINE("WFU_DROP_HERE_MESSAGE", __('DROP HERE', 'wp-file-upload'));
173
+ //widget values
174
+ DEFINE("WFU_WIDGET_PLUGINFORM_TITLE", __('Wordpress File Upload Form', 'wp-file-upload'));
175
+ DEFINE("WFU_WIDGET_PLUGINFORM_DESCRIPTION", __('Wordpress File Upload plugin uploader for sidebars', 'wp-file-upload'));
176
+ DEFINE("WFU_WIDGET_SIDEBAR_DEFAULTTITLE", __('Upload Files', 'wp-file-upload'));
177
+
178
+ /*********** Environment Variables ************/
179
+ //plugin default values
180
  DEFINE("WFU_UPLOADID", "1");
 
 
 
181
  DEFINE("WFU_SINGLEBUTTON", "false");
182
  DEFINE("WFU_UPLOADROLE", "all,guests");
183
  DEFINE("WFU_UPLOADPATH", 'uploads');
196
  DEFINE("WFU_FILEBASELINK", "false");
197
  DEFINE("WFU_NOTIFY", "false");
198
  DEFINE("WFU_NOTIFYRECIPIENTS", "");
 
 
199
  DEFINE("WFU_NOTIFYHEADERS", "");
200
  DEFINE("WFU_ATTACHFILE", "false");
201
  DEFINE("WFU_REDIRECT", "false");
202
  DEFINE("WFU_REDIRECTLINK", "");
203
  DEFINE("WFU_ADMINMESSAGES", "false");
 
 
 
 
204
  DEFINE("WFU_SUCCESSMESSAGECOLOR", "green");
205
  DEFINE("WFU_SUCCESSMESSAGECOLORS", "#006600,#EEFFEE,#006666");
206
  DEFINE("WFU_WARNINGMESSAGECOLORS", "#F88017,#FEF2E7,#633309");
218
  DEFINE("WFU_HEIGHTS", "");
219
  DEFINE("WFU_PLACEMENTS", "title/filename+selectbutton+uploadbutton/subfolders"."/userdata"."/message");
220
  DEFINE("WFU_USERDATA", "false");
 
221
  DEFINE("WFU_MEDIALINK", "false");
222
  DEFINE("WFU_POSTLINK", "false");
223
+ //other plugin values
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
224
  DEFINE("WFU_MAX_TIME_LIMIT", ini_get("max_input_time"));
 
 
 
225
  DEFINE("WFU_PHP_ARRAY_MAXLEN", '10000');
226
+ DEFINE("WFU_HISTORYLOG_TABLE_MAXROWS", 25);
227
+ //color definitions
 
 
 
 
228
  DEFINE("WFU_TESTMESSAGECOLORS", "#666666,#EEEEEE,#333333");
229
  DEFINE("WFU_DEFAULTMESSAGECOLORS", "#666666,#EEEEEE,#333333");
230
  DEFINE("WFU_HEADERMESSAGECOLORS_STATE0", "#666666,#EEEEEE,#333333");
240
  DEFINE("WFU_HEADERMESSAGECOLORS_STATE10", "#F88017,#FEF2E7,#633309");
241
  DEFINE("WFU_HEADERMESSAGECOLORS_STATE11", "#666666,#EEEEEE,#333333");
242
 
243
+ /************** Constant Values ***************/
244
+ //other plugin values
245
+ DEFINE("WFU_RESPONSE_URL", $siteurl.WPFILEUPLOAD_DIR."wfu_response.php");
246
+ DEFINE("WFU_AJAX_URL", $siteurl."/wp-admin/admin-ajax.php");
247
+ DEFINE("WFU_SERVICES_SERVER_URL", 'http://services.iptanus.com');
248
+ DEFINE("WFU_VERSION_SERVER_URL", WFU_SERVICES_SERVER_URL.'/wp-admin/admin-ajax.php');
249
+ DEFINE("WFU_VERSION_HASH", 'QwtV833qMWJuGbdy7CcNAm4AXxxLEqT6xSKLtVHDpfrydb6gaExZ7LcU9HCYPmU6');
250
+ DEFINE("WFU_DOWNLOADER_URL", $siteurl.WPFILEUPLOAD_DIR."wfu_file_downloader.php");
251
+ DEFINE("WFU_PRO_VERSION_URL", 'http://www.iptanus.com/product/wordpress-file-upload-pro/');
252
  //define images
253
  DEFINE("WFU_IMAGE_ADMIN_HELP", $siteurl.WPFILEUPLOAD_DIR.'images/help_16.png');
254
  DEFINE("WFU_IMAGE_ADMIN_RESTOREDEFAULT", $siteurl.WPFILEUPLOAD_DIR.'images/restore_16.png');
lib/wfu_functions.php CHANGED
@@ -94,7 +94,7 @@ function wfu_sanitize_int($code) {
94
  }
95
 
96
  function wfu_sanitize_tag($code) {
97
- return preg_replace("/[^A-Za-z_]/", "", $code);
98
  }
99
 
100
  function wfu_slash( $value ) {
@@ -115,6 +115,20 @@ function wfu_slash( $value ) {
115
  return $value;
116
  }
117
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
118
  //********************* Array Functions ****************************************************************************************************
119
 
120
  function wfu_encode_array_to_string($arr) {
@@ -283,6 +297,7 @@ function wfu_encode_plugin_options($plugin_options) {
283
  $encoded_options .= 'relaxcss='.$plugin_options['relaxcss'].';';
284
  $encoded_options .= 'captcha_sitekey='.wfu_plugin_encode_string($plugin_options['captcha_sitekey']).';';
285
  $encoded_options .= 'captcha_secretkey='.wfu_plugin_encode_string($plugin_options['captcha_secretkey']).';';
 
286
  $encoded_options .= 'browser_permissions='.wfu_encode_array_to_string($plugin_options['browser_permissions']);
287
  return $encoded_options;
288
  }
@@ -293,7 +308,7 @@ function wfu_decode_plugin_options($encoded_options) {
293
  foreach ($decoded_array as $decoded_item) {
294
  if ( trim($decoded_item) != "" ) {
295
  list($item_key, $item_value) = explode("=", $decoded_item, 2);
296
- if ( $item_key == 'shortcode' || $item_key == 'basedir' || $item_key == 'captcha_sitekey' || $item_key == 'captcha_secretkey' )
297
  $plugin_options[$item_key] = wfu_plugin_decode_string($item_value);
298
  elseif ( $item_key == 'browser_permissions' )
299
  $plugin_options[$item_key] = wfu_decode_array_from_string($item_value);
@@ -448,7 +463,6 @@ function wfu_getTree($dir) {
448
  }
449
  return $tree;
450
  }
451
-
452
  function wfu_parse_folderlist($subfoldertree) {
453
  $ret['path'] = array();
454
  $ret['label'] = array();
@@ -775,7 +789,7 @@ function wfu_log_action($action, $filepath, $userid, $uploadid, $pageid, $blogid
775
  // if new log record has been created, also create user data records
776
  if ( $userdata != null && $uploadid != '' ) {
777
  foreach ( $userdata as $userdata_key => $userdata_field ) {
778
- $existing = $wpdb->get_row('SELECT * FROM '.$table_name2.' WHERE uploadid = \''.$uploadid.'\' AND property = \''.$userdata_key.'\'');
779
  if ($existing == null)
780
  $wpdb->insert($table_name2,
781
  array(
@@ -1006,6 +1020,7 @@ function wfu_revert_log_action($idlog) {
1006
  function wfu_get_username_by_id($id) {
1007
  $user = get_user_by('id', $id);
1008
  if ( $user == false && $id > 0 ) $username = 'unknown';
 
1009
  elseif ( $user == false ) $username = 'guest';
1010
  else $username = $user->user_login;
1011
  return $username;
@@ -1258,6 +1273,80 @@ function wfu_get_filtered_recs($filter) {
1258
  return $out;
1259
  }
1260
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1261
  //********************* Widget Functions ****************************************************************************************
1262
 
1263
  function wfu_get_widget_obj_from_id($widgetid) {
@@ -1453,6 +1542,39 @@ function wfu_add_div() {
1453
  return $div;
1454
  }
1455
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1456
  //********************* Email Functions ****************************************************************************************************
1457
 
1458
  function wfu_send_notification_email($user, $only_filename_list, $target_path_list, $attachment_list, $userdata_fields, $params) {
94
  }
95
 
96
  function wfu_sanitize_tag($code) {
97
+ return preg_replace("/[^A-Za-z0-9_]/", "", $code);
98
  }
99
 
100
  function wfu_slash( $value ) {
115
  return $value;
116
  }
117
 
118
+ function wfu_generate_global_short_token($timeout) {
119
+ $token = wfu_create_random_string(16);
120
+ $expire = time() + (int)$timeout;
121
+ update_option('wfu_gst_'.$token, $expire);
122
+ return $token;
123
+ }
124
+
125
+ function wfu_verify_global_short_token($token) {
126
+ $timeout = get_option('wfu_gst_'.$token);
127
+ if ( $timeout === false ) return false;
128
+ delete_option('wfu_gst_'.$token);
129
+ return ( $timeout > time() );
130
+ }
131
+
132
  //********************* Array Functions ****************************************************************************************************
133
 
134
  function wfu_encode_array_to_string($arr) {
297
  $encoded_options .= 'relaxcss='.$plugin_options['relaxcss'].';';
298
  $encoded_options .= 'captcha_sitekey='.wfu_plugin_encode_string($plugin_options['captcha_sitekey']).';';
299
  $encoded_options .= 'captcha_secretkey='.wfu_plugin_encode_string($plugin_options['captcha_secretkey']).';';
300
+ $encoded_options .= 'dropbox_accesstoken='.wfu_plugin_encode_string($plugin_options['dropbox_accesstoken']).';';
301
  $encoded_options .= 'browser_permissions='.wfu_encode_array_to_string($plugin_options['browser_permissions']);
302
  return $encoded_options;
303
  }
308
  foreach ($decoded_array as $decoded_item) {
309
  if ( trim($decoded_item) != "" ) {
310
  list($item_key, $item_value) = explode("=", $decoded_item, 2);
311
+ if ( $item_key == 'shortcode' || $item_key == 'basedir' || $item_key == 'captcha_sitekey' || $item_key == 'captcha_secretkey' || $item_key == 'dropbox_accesstoken' )
312
  $plugin_options[$item_key] = wfu_plugin_decode_string($item_value);
313
  elseif ( $item_key == 'browser_permissions' )
314
  $plugin_options[$item_key] = wfu_decode_array_from_string($item_value);
463
  }
464
  return $tree;
465
  }
 
466
  function wfu_parse_folderlist($subfoldertree) {
467
  $ret['path'] = array();
468
  $ret['label'] = array();
789
  // if new log record has been created, also create user data records
790
  if ( $userdata != null && $uploadid != '' ) {
791
  foreach ( $userdata as $userdata_key => $userdata_field ) {
792
+ $existing = $wpdb->get_row('SELECT * FROM '.$table_name2.' WHERE uploadid = \''.$uploadid.'\' AND property = \''.$userdata_field['label'].'\' AND date_to = 0');
793
  if ($existing == null)
794
  $wpdb->insert($table_name2,
795
  array(
1020
  function wfu_get_username_by_id($id) {
1021
  $user = get_user_by('id', $id);
1022
  if ( $user == false && $id > 0 ) $username = 'unknown';
1023
+ elseif ( $user == false && $id == -999 ) $username = 'system';
1024
  elseif ( $user == false ) $username = 'guest';
1025
  else $username = $user->user_login;
1026
  return $username;
1273
  return $out;
1274
  }
1275
 
1276
+ function wfu_get_uncached_option($option, $default = false) {
1277
+ $GLOBALS['wp_object_cache']->delete( 'your_option_name', 'options' );
1278
+ return get_option($option, $default);
1279
+ }
1280
+
1281
+ function wfu_get_option($option, $default) {
1282
+ global $wpdb;
1283
+ $table_name1 = $wpdb->prefix . "options";
1284
+ $val = $wpdb->get_var($wpdb->prepare("SELECT option_value FROM $table_name1 WHERE option_name = %s", $option));
1285
+ if ( $val === null && $default !== false ) $val = $default;
1286
+ elseif ( is_array($default) ) $val = wfu_decode_array_from_string($val);
1287
+ return $val;
1288
+ }
1289
+
1290
+ function wfu_update_option($option, $value) {
1291
+ global $wpdb;
1292
+ $table_name1 = $wpdb->prefix . "options";
1293
+ if ( is_array($value) ) $value = wfu_encode_array_to_string($value);
1294
+ $wpdb->query($wpdb->prepare("INSERT INTO $table_name1 (option_name, option_value) VALUES (%s, %s) ON DUPLICATE KEY UPDATE option_value = VALUES(option_value)", $option, $value));
1295
+ }
1296
+
1297
+ function wfu_export_uploaded_files($params) {
1298
+ global $wpdb;
1299
+ $table_name1 = $wpdb->prefix . "wfu_log";
1300
+ $table_name2 = $wpdb->prefix . "wfu_userdata";
1301
+ $plugin_options = wfu_decode_plugin_options(get_option( "wordpress_file_upload_options" ));
1302
+
1303
+ $contents = "";
1304
+ $header = "Name,Path,Upload User,Upload Time,Size,Page ID,Blog ID,Shortcode ID,Upload ID,User Data";
1305
+ $contents = $header;
1306
+ $filerecs = $wpdb->get_results('SELECT * FROM '.$table_name1.' WHERE action <> \'other\' AND date_to = 0');
1307
+ foreach( $filerecs as $filerec ) {
1308
+ $obsolete = true;
1309
+ //calculate full file path
1310
+ $filepath = wfu_path_rel2abs($filerec->filepath);
1311
+ if ( file_exists($filepath) ) {
1312
+ if ( $plugin_options['hashfiles'] == '1' ) {
1313
+ $filehash = md5_file($filepath);
1314
+ if ( $filehash == $filerec->filehash ) $obsolete = false;
1315
+ }
1316
+ else {
1317
+ $filesize = filesize($filepath);
1318
+ if ( $filesize == $filerec->filesize ) $obsolete = false;
1319
+ }
1320
+ }
1321
+ //export file data if file is not obsolete
1322
+ if ( !$obsolete ) {
1323
+ $username = wfu_get_username_by_id($filerec->uploaduserid);
1324
+ $filerec->userdata = $wpdb->get_results('SELECT * FROM '.$table_name2.' WHERE uploadid = \''.$filerec->uploadid.'\' AND date_to = 0');
1325
+ $line = wfu_basename($filerec->filepath);
1326
+ $line .= ",".wfu_basedir($filerec->filepath);
1327
+ $line .= ",".$username;
1328
+ $line .= ",".( $filerec->uploadtime == null ? "" : date("Y-m-d H:i:s", $filerec->uploadtime) );
1329
+ $line .= ",".$filerec->filesize;
1330
+ $line .= ",".( $filerec->pageid == null ? "" : $filerec->pageid );
1331
+ $line .= ",".( $filerec->blogid == null ? "" : $filerec->blogid );
1332
+ $line .= ",".( $filerec->sid == null ? "" : $filerec->sid );
1333
+ $line .= ",".$filerec->uploadid;
1334
+ $line2 = "";
1335
+ foreach ( $filerec->userdata as $userdata ) {
1336
+ if ( $line2 != "" ) $line2 .= ";";
1337
+ $line2 .= $userdata->property.":".str_replace(array("\n", "\r", "\r\n"), " ", $userdata->propvalue);
1338
+ }
1339
+ $line .= ",".$line2;
1340
+ $contents .= "\n".$line;
1341
+ }
1342
+ }
1343
+ //create file
1344
+ $path = tempnam(sys_get_temp_dir(), 'wfu');
1345
+ file_put_contents($path, $contents);
1346
+
1347
+ return $path;
1348
+ }
1349
+
1350
  //********************* Widget Functions ****************************************************************************************
1351
 
1352
  function wfu_get_widget_obj_from_id($widgetid) {
1542
  return $div;
1543
  }
1544
 
1545
+ function wfu_add_loading_overlay($dlp, $code) {
1546
+ $echo_str = $dlp.'<div id="wfu_'.$code.'_overlay" style="margin:0; padding: 0; width:100%; height:100%; position:absolute; left:0; top:0; border:none; background:none; display:none;">';
1547
+ $echo_str .= $dlp."\t".'<div style="margin:0; padding: 0; width:100%; height:100%; position:absolute; left:0; top:0; border:none; background-color:rgba(255,255,255,0.8); z-index:1;""></div>';
1548
+ $echo_str .= $dlp."\t".'<table style="margin:0; padding: 0; table-layout:fixed; width:100%; height:100%; position:absolute; left:0; top:0; border:none; background:none; z-index:2;"><tbody><tr><td align="center" style="border:none;">';
1549
+ $echo_str .= $dlp."\t\t".'<img src="'.WFU_IMAGE_OVERLAY_LOADING.'" /><br /><span>loading...</span>';
1550
+ $echo_str .= $dlp."\t".'</td></tr></tbody></table>';
1551
+ $echo_str .= $dlp.'</div>';
1552
+
1553
+ return $echo_str;
1554
+ }
1555
+
1556
+ function wfu_add_pagination_header($dlp, $code, $curpage, $pages, $nonce = false) {
1557
+ if ($nonce === false) $nonce = wp_create_nonce( 'wfu-'.$code.'-page' );
1558
+ $echo_str = $dlp.'<div style="width: 100%; text-align:right;">';
1559
+ $echo_str .= $dlp."\t".'<label id="wfu_'.$code.'_first_disabled" style="margin:0 4px; font-weight:bold; opacity:0.5; cursor:default; display:'.( $curpage == 1 ? 'inline' : 'none' ).';">&#60;&#60;</label>';
1560
+ $echo_str .= $dlp."\t".'<label id="wfu_'.$code.'_prev_disabled" style="margin:0 4px; font-weight:bold; opacity:0.5; cursor:default; display:'.( $curpage == 1 ? 'inline' : 'none' ).';">&#60;</label>';
1561
+ $echo_str .= $dlp."\t".'<a id="wfu_'.$code.'_first" href="javascript:wfu_goto_'.$code.'_page(\''.$nonce.'\', \'first\');" style="margin:0 4px; font-weight:bold; display:'.( $curpage == 1 ? 'none' : 'inline' ).';">&#60;&#60;</a>';
1562
+ $echo_str .= $dlp."\t".'<a id="wfu_'.$code.'_prev" href="javascript:wfu_goto_'.$code.'_page(\''.$nonce.'\', \'prev\');" style="margin:0 4px; font-weight:bold; display:'.( $curpage == 1 ? 'none' : 'inline' ).';">&#60;</a>';
1563
+ $echo_str .= $dlp."\t".'<label style="margin:0 0 0 4px; cursor:default;">Page</label>';
1564
+ $echo_str .= $dlp."\t".'<select id="wfu_'.$code.'_pages" style="margin:0 4px;" onchange="wfu_goto_'.$code.'_page(\''.$nonce.'\', \'sel\');">';
1565
+ for ( $i = 1; $i <= $pages; $i++ )
1566
+ $echo_str .= $dlp."\t\t".'<option value="'.$i.'"'.( $i == 1 ? ' selected="selected"' : '' ).'>'.$i.'</option>';
1567
+ $echo_str .= $dlp."\t".'</select>';
1568
+ $echo_str .= $dlp."\t".'<label style="margin:0 4px 0 0; cursor:default;">of '.$pages.'</label>';
1569
+ $echo_str .= $dlp."\t".'<label id="wfu_'.$code.'_next_disabled" style="margin:0 4px; font-weight:bold; opacity:0.5; cursor:default; display:'.( $curpage == $pages ? 'inline' : 'none' ).';">&#62;</label>';
1570
+ $echo_str .= $dlp."\t".'<label id="wfu_'.$code.'_last_disabled" style="margin:0 4px; font-weight:bold; opacity:0.5; cursor:default; display:'.( $curpage == $pages ? 'inline' : 'none' ).';">&#62;&#62;</label>';
1571
+ $echo_str .= $dlp."\t".'<a id="wfu_'.$code.'_next" href="javascript:wfu_goto_'.$code.'_page(\''.$nonce.'\', \'next\');" style="margin:0 4px; font-weight:bold; display:'.( $curpage == $pages ? 'none' : 'inline' ).';">&#62;</a>';
1572
+ $echo_str .= $dlp."\t".'<a id="wfu_'.$code.'_last" href="javascript:wfu_goto_'.$code.'_page(\''.$nonce.'\', \'last\');" style="margin:0 4px; font-weight:bold; display:'.( $curpage == $pages ? 'none' : 'inline' ).';">&#62;&#62;</a>';
1573
+ $echo_str .= $dlp.'</div>';
1574
+
1575
+ return $echo_str;
1576
+ }
1577
+
1578
  //********************* Email Functions ****************************************************************************************************
1579
 
1580
  function wfu_send_notification_email($user, $only_filename_list, $target_path_list, $attachment_list, $userdata_fields, $params) {
lib/wfu_processfiles.php CHANGED
@@ -16,6 +16,7 @@ function wfu_process_files($params, $method) {
16
  $user_email = $user->user_email;
17
  $is_admin = current_user_can('manage_options');
18
  }
 
19
  $unique_id = sanitize_text_field($_POST['uniqueuploadid_'.$sid]);
20
  // determine if this routine is only for checking the file
21
  $only_check = ( isset($_POST['only_check']) ? ( $_POST['only_check'] == "1" ) : false );
@@ -137,6 +138,7 @@ function wfu_process_files($params, $method) {
137
  $file_output['message_type'] = "";
138
  $file_output['admin_messages'] = "";
139
  $file_output['uploaded_file_props'] = "";
 
140
 
141
  // determine if file data have been saved to session variables, due to a previous pass of this file
142
  $file_map = "filedata_".$unique_id."_".$single_file_index;
@@ -518,7 +520,7 @@ function wfu_process_files($params, $method) {
518
  /* Apply wfu_after_file_upload filter after failed upload, in order to allow the user to perform any post-upload actions.
519
  If additional data are required, such as user_id or userdata values or filepath, they can be retrieved by implementing
520
  the previous filters wfu_before_file_check and wfu_before_file_upload, corresponding them to the unique file id.
521
- This actions allows to define custom javascript code to run after each file finishes (either suceeded or failed).
522
  For backward compatibility, the wfu_after_file_upload action that was implemented in previous version of the plugin
523
  still remains. */
524
  $changable_data['ret_value'] = null;
@@ -535,7 +537,7 @@ function wfu_process_files($params, $method) {
535
 
536
  if ( $file_finished_successfully && !$ignore_server_actions ) {
537
  /* log file upload action if file has finished uploading successfully */
538
- wfu_log_action('upload', $target_path, $user->ID, $unique_id, $params['pageid'], $params['blogid'], $sid, $userdata_fields);
539
  /* Apply wfu_after_file_upload filter after failed upload, in order to allow the user to perform any post-upload actions.
540
  If additional data are required, such as user_id or userdata values or filepath, they can be retrieved by implementing
541
  the previous filters wfu_before_file_check and wfu_before_file_upload, corresponding them to the unique file id.
16
  $user_email = $user->user_email;
17
  $is_admin = current_user_can('manage_options');
18
  }
19
+ $plugin_options = wfu_decode_plugin_options(get_option( "wordpress_file_upload_options" ));
20
  $unique_id = sanitize_text_field($_POST['uniqueuploadid_'.$sid]);
21
  // determine if this routine is only for checking the file
22
  $only_check = ( isset($_POST['only_check']) ? ( $_POST['only_check'] == "1" ) : false );
138
  $file_output['message_type'] = "";
139
  $file_output['admin_messages'] = "";
140
  $file_output['uploaded_file_props'] = "";
141
+ $fileid = -1;
142
 
143
  // determine if file data have been saved to session variables, due to a previous pass of this file
144
  $file_map = "filedata_".$unique_id."_".$single_file_index;
520
  /* Apply wfu_after_file_upload filter after failed upload, in order to allow the user to perform any post-upload actions.
521
  If additional data are required, such as user_id or userdata values or filepath, they can be retrieved by implementing
522
  the previous filters wfu_before_file_check and wfu_before_file_upload, corresponding them to the unique file id.
523
+ This actions allows to define custom javascript code to run after each file finishes (either succeeded or failed).
524
  For backward compatibility, the wfu_after_file_upload action that was implemented in previous version of the plugin
525
  still remains. */
526
  $changable_data['ret_value'] = null;
537
 
538
  if ( $file_finished_successfully && !$ignore_server_actions ) {
539
  /* log file upload action if file has finished uploading successfully */
540
+ $fileid = wfu_log_action('upload', $target_path, $user->ID, $unique_id, $params['pageid'], $params['blogid'], $sid, $userdata_fields);
541
  /* Apply wfu_after_file_upload filter after failed upload, in order to allow the user to perform any post-upload actions.
542
  If additional data are required, such as user_id or userdata values or filepath, they can be retrieved by implementing
543
  the previous filters wfu_before_file_check and wfu_before_file_upload, corresponding them to the unique file id.
lib/wfu_widget.php CHANGED
@@ -5,8 +5,8 @@ class WFU_Widget extends WP_Widget {
5
  function __construct() {
6
  parent::__construct(
7
  'wordpress_file_upload_widget', // Base ID
8
- __( 'Wordpress File Upload Form', 'wordpress-file-upload' ), // Name
9
- array( 'description' => __( 'Wordpress File Upload plugin uploader for sidebars', 'wordpress-file-upload' ) ) // Args
10
  );
11
  }
12
 
@@ -35,7 +35,7 @@ class WFU_Widget extends WP_Widget {
35
  * @param array $instance Previously saved values from database.
36
  */
37
  public function form( $instance ) {
38
- $title = ! empty( $instance['title'] ) ? $instance['title'] : __( 'New title', 'text_domain' );
39
  $shortcode_attrs = ! empty( $instance['shortcode_attrs'] ) ? $instance['shortcode_attrs'] : '';
40
  $shortcode_id = ! empty( $instance['shortcode_id'] ) ? $instance['shortcode_id'] : '';
41
  if ( $shortcode_id == '' ) {
@@ -95,7 +95,7 @@ class WFU_Widget extends WP_Widget {
95
  public function update_external($shortcode_attrs) {
96
  $all_instances = $this->get_settings();
97
  $instance = $all_instances[$this->number];
98
- $_POST['widget-'.$this->id_base][$this->number]['title'] = ! empty( $instance['title'] ) ? $instance['title'] : __( 'New title', 'text_domain' );
99
  $_POST['widget-'.$this->id_base][$this->number]['shortcode_attrs'] = $shortcode_attrs;
100
  $_POST['widget-'.$this->id_base][$this->number]['shortcode_id'] = ! empty( $instance['shortcode_id'] ) ? $instance['shortcode_id'] : '';
101
  if ( $_POST['widget-'.$this->id_base][$this->number]['shortcode_id'] == '' ) {
5
  function __construct() {
6
  parent::__construct(
7
  'wordpress_file_upload_widget', // Base ID
8
+ WFU_WIDGET_PLUGINFORM_TITLE, // Name
9
+ array( 'description' => WFU_WIDGET_PLUGINFORM_DESCRIPTION ) // Args
10
  );
11
  }
12
 
35
  * @param array $instance Previously saved values from database.
36
  */
37
  public function form( $instance ) {
38
+ $title = ! empty( $instance['title'] ) ? $instance['title'] : WFU_WIDGET_SIDEBAR_DEFAULTTITLE;
39
  $shortcode_attrs = ! empty( $instance['shortcode_attrs'] ) ? $instance['shortcode_attrs'] : '';
40
  $shortcode_id = ! empty( $instance['shortcode_id'] ) ? $instance['shortcode_id'] : '';
41
  if ( $shortcode_id == '' ) {
95
  public function update_external($shortcode_attrs) {
96
  $all_instances = $this->get_settings();
97
  $instance = $all_instances[$this->number];
98
+ $_POST['widget-'.$this->id_base][$this->number]['title'] = ! empty( $instance['title'] ) ? $instance['title'] : WFU_WIDGET_SIDEBAR_DEFAULTTITLE;
99
  $_POST['widget-'.$this->id_base][$this->number]['shortcode_attrs'] = $shortcode_attrs;
100
  $_POST['widget-'.$this->id_base][$this->number]['shortcode_id'] = ! empty( $instance['shortcode_id'] ) ? $instance['shortcode_id'] : '';
101
  if ( $_POST['widget-'.$this->id_base][$this->number]['shortcode_id'] == '' ) {
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: nickboss
3
  Donate link: http://www.iptanus.com/support/wordpress-file-upload
4
  Tags: ajax, captcha, filter, form, html5, notification, page, plugin, post, redirect, responsive, shortcode, sidebar, upload, widget
5
  Requires at least: 2.9.2
6
- Tested up to: 4.2.4
7
  Stable tag: "trunk"
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -45,6 +45,7 @@ The plugin is translated in the following languages:
45
  * German
46
  * French, kindly provided by Thomas Bastide of http://www.omicronn.fr/
47
  * Serbian, kindly provided by Andrijana Nikolic of http://webhostinggeeks.com/
 
48
  * Greek
49
 
50
  Please note that old desktop browsers or mobile browsers may not support all of the above functionalities. In order to get full functionality use the latest versions browsers, supporting HTML5, AJAX and CSS3.
@@ -131,8 +132,21 @@ There is an option in plugin's settings in Dashboard to relax the CSS rules, so
131
 
132
  == Changelog ==
133
 
 
 
 
 
 
 
 
 
 
 
 
 
 
134
  = 3.4.1 =
135
- * wfu_file_extension_restricted modified to reject files that contain .php.js or similar extensions
136
 
137
  = 3.4.0 =
138
  * added fitmode attribute to make the plugin responsive
@@ -510,8 +524,11 @@ Initial version.
510
 
511
  == Upgrade Notice ==
512
 
 
 
 
513
  = 3.4.1 =
514
- Important upgrade to introduce a serious bug.
515
 
516
  = 3.4.0 =
517
  Important upgrade to introduce some new features and fix some bugs.
@@ -705,357 +722,9 @@ Optional upgrade in order to set additional capabilities.
705
  = 1.0 =
706
  Initial version.
707
 
708
- == Attributes ==
709
-
710
- The easiest way to use the plugin is to put the shortcode [wordpress_file_upload] in the page. In this case, the plugin will use the default functionality.
711
-
712
- If you want to customize the plugin (define the upload path, use file filter, change title and button text etc.) then you can use attributes. Go to Dashboard / Settings / Wordpress File Upload and then press Shortcode Composer. By selecting the attributes of your choice, the shortcode will be automatically generated. Then you can copy and paste it in any page.
713
-
714
- A detailed list of attributes, together with instructions is shown below:
715
-
716
- **General Options**
717
-
718
- *Basic Functionalities*
719
-
720
- * **uploadid:** This is the ID of every instance of the plugin inside the same page. Valid values are 1,2,3... Please use a different value for every instance.
721
- * **singlebutton:** If this attribute is set to "true", only Upload Button will be shown and file will be automatically uploaded when selected. Default value is "false".
722
- * **uploadpath:** This is the path of the upload directory. The path must be relative to wp-content folder of your Wordpress website. For instance, if your upload directory is "wp-content/uploads/myuploaddir", then uploadpath must have the value "uploads/myuploaddir". The default value is "uploads", meaning that the files will be uploaded to wp-content/uploads dir. If you put the variable "%username%" inside the uploadpath string, then this variable will be replaced by the username of the user currently logged in. If you want to upload files outside wp-content folder, then put a double dot (..) at the beginning of your uploadpath value.
723
- * **fitmode:** This attribute define how the plugin's elements will fit inside the page. If "fixed" is set then the plugin's elements will always keep their positions unchanged. If "responsive" is set then the plugin's elements positions will adjust to fit inside container page/post. Default value is "fixed".
724
-
725
- *Filters*
726
-
727
- * **uploadrole:** This is the roles that are allowed to upload files. Default role is "all". If you use other roles, like "editor", then only users of this role and also of role "administrator" will be able to upload files. You can set multiple roles, separated by comma, e.g. "editor, author". If you set uploadrole to "all" then all users, even guests, will be able to upload files.
728
- * **uploadpatterns:** This is the filter of the uploaded files. Default value is "*.*", meaning that all files can be uploaded. Use this attribute to restrict the types of files that can be uploaded. For instance, in order to upload only pdf files put "\*.pdf". You can use more that one filters, separated by comma, for instance "\*.pdf,\*.doc".
729
- * **maxsize:** This is the maximum size in MBytes of the uploaded files. Use this attribute to restrict the upload of files larger that this value. Default value is "10", meaning that you cannot upload files larger than 10MBytes.
730
-
731
- *Upload Path and Files*
732
-
733
- * **createpath:** If this attribute is set to "true", the upload directory, defined by uploadpath, will be created in case it does not exist. Default value is "false".
734
- * **forcefilename:** The plugin by default will modify the filename if it contains invalid or non-english characters. By setting this attribute to "true" the plugin will not change the filename. Default value is "false".
735
- * **accessmethod:** This attributes defines the method to create directories and upload files. Default value is "normal". If it is set to "ftp", then the plugin will attempt to create directories and upload files using ftp access. In order to do this, the attribute *ftpinfo* must also be filled with valid ftp access information. Use this attribute when you cannot upload files, access uploaded files or cannot copy or delete uploaded files because of SAFE MODE restrictions, or because the owner of the file is the domain administrator.
736
- * **ftpinfo:** This attribute defines the ftp access information. It has the syntax *username:password@domain*. If username, password or domain contains the characters (:) or (@), then replace them with (\\:) and (\\@) in order to avoid misreading of the attribute.
737
- * **useftpdomain:** This attribute is used when the ftp domain used to upload files is in different domain than Wordpress installation. If it is set to "true" (and also uploadmethod is "ftp"), then the domain that will be used to upload files will be the one defined in ftpinfo attribute. Default value is "false".
738
- * **ftppassivemode:** If this attribute is set to "true", FTP passive mode will be used instead of active mode. It is used if files fail to upload when using FTP method. Default value is "false".
739
- * **ftpfilepermissions:** Force the uploaded files to have specific permissions. This is a 4-digit octal number, e.g. 0777. If left empty, then the ftp server will define the permissions. Default value is "".
740
- * **showtargetfolder:** This attribute defines if a message with the upload directory will be shown. Default value is "false".
741
- * **askforsubfolders:** This attribute defines if the user can select a subfolder to upload the file. Default value is "false". If set to "true", then the user is able to select a subfolder of the path, defined by the attribute *uploadpath*, to upload a file through a drop down list. This attributed is used together with attribute *subfoldertree*, which defines the subfolders.
742
- * **subfoldertree:** This attribute defines the structure of the subfolders that the user can select to upload a file. Default value is "". The format of this attribute is as follows: the subfolders are separated by commas (,), e.g. "subfolder1, subfolder2". It is possible to use nested subfolders (a folder inside another folder). To do this place stars (\*) before the name of the subfolder. The number of stars determines nesting level, e.g. "subfolder1, \*nested1, \*nested2, \*\*nested3". Please note that the first subfolder must be the name of the folder defined by attribute *uploadpath* (only the last part) without any stars, while all the next subfolders must have at least one star. The user has also the capability to use a different name (from the actual subfolder name) to be shown in the drop down list for every subfolder, by separating the actual and shown name using the slash (/) symbol, e.g. "subfolder1, \*subfolder2/shownname2, \*subfolder3/shownname3". For defining a default value that will be preselected use the (&) symbol before the item name (but after the stars, e.g. \*\*&nested3.
743
- * **dublicatespolicy:** This attribute defines what to do when the upload file has the same name with another file inside target directory. If it is set to "overwrite" then the upload file will replace the existing file. If it is set to "reject" then the upload operation will be cancelled. If it is set to "maintain both" then the upload file will be saved inside the target directory with another name, in order to keep both files. Default value is "overwrite".
744
- * **uniquepattern:** This attribute defines how to save the upload file when a file with the same name already exists inside the target directory. If it is set to "index" then the upload file will be saved with a numeric suffix, like (1), (2) etc. in order to keep the name of the uploaded file unique. If it is set to "datetimestamp", then the suffix will be an encoded datetime of the upload operation. The plugin ensures that the name of the uploaded file will be unique, in order to avoid accidental replacement of existing files. Default value is "index".
745
-
746
- *Redirection*
747
-
748
- * **redirect:** This attribute defines if the user will be redirected to another web page when the file is uploaded successfully. Default value is "false".
749
- * **redirectlink:** This attribute defines the url of the redirection page. Please use the prefix "http://" if the redirection page is in another domain, otherwise the server will assume that the url is relative to the server path.
750
-
751
- *Other Administrator Options*
752
-
753
- * **adminmessages:** This attribute offers the option to administrator users to receive additional information about upload errors. These messages will be visible only to administrators. Default value is "false".
754
- * **forceclassic:** This attribute defines if the plugin will use the old classic functionality to upload files (using forms) or ajax functionality (supported in HTML5). Default value is "false". Please note that if your browser does not support HTML ajax functionality, then the plugin will automatically switch to classic one.
755
- * **testmode:** This attribute defines if the plugin will be shown in test mode. Default value is "false". If it is set to "true", then the plugin will obtain a "dummy" functionality (it will not be able to upload files) and it will appear showing all of its objects (the selection of subfolders, progress bar, a test message), while the buttons will show a "Test Mode" message when pressed. This option can be used to configure the dimensions of the individual objects of the plugin more easily.
756
- * **debugmode:** This attribute defines if the plugin will show debug information. Default value is "false". If it is set to "true", then the plugin will show in the message box any warnings and errors generated by PHP during the upload process. It can be used by administrators for deep debugging. For generation of PHP warnings and errors, global Wordpress WP_DEBUG constant must be enabled.
757
-
758
-
759
- **Placements**
760
-
761
- *Plugin Component Positions*
762
-
763
- * **placements:** This attribute can be used to change the placement of the objects of the plugin. Default value is "title/filename+selectbutton+uploadbutton/subfolders/userdata/progressbar/message". Every line is separated by a slash (/). To put more than one objects to the same line, separate them with a plus (+). The objects supported are: title, filename, selectbutton, uploadbutton, subfolders, progressbar, userdata and message. You can have more than one instances of userdata inside placements.
764
-
765
- **Labels**
766
-
767
- *Title*
768
-
769
- * **uploadtitle:** The title of the plugin. Default value is "Upload a file".
770
-
771
- *Buttons*
772
-
773
- * **selectbutton:** The title of the select button. Default value is "Select File".
774
- * **uploadbutton:** The title of the upload button. Default value is "Upload File".
775
-
776
- *Upload Folder*
777
-
778
- * **targetfolderlabel:** This attribute defines the text for the message for the upload directory. Default value is "Upload Directory".
779
-
780
- *Upload Messages*
781
-
782
- * **successmessage:** This attribute defines the message to be shown upon successful upload. Default value is "File %filename% uploaded successfully". You can use the variables %filename% and %filepath% inside the message, as explained below.
783
- * **warningmessage:** This attribute defines the message to be shown upon successful upload but with warnings. Default value is "File %filename% uploaded successfully but with warnings". You can use the variables %filename% and %filepath% inside the message, as explained below.
784
- * **errormessage:** This attribute defines the message to be shown upon upload failure. Default value is "File %filename% not uploaded". You can use the variables %filename% and %filepath% inside the message, as explained below.
785
- * **waitmessage:** This attribute defines the message to be shown while uploading. Default value is "File %filename% is being uploaded". You can use the variables %filename% and %filepath% inside the message, as explained below.
786
-
787
- **Notifications**
788
-
789
- *Email Notifications*
790
-
791
- * **notify:** If this attribute is set to "true", then an email will be sent to the addresses defined by the attribute *notifyrecipients* to inform them that a new file has been uploaded.
792
- * **notifyrecipients:** This attribute defines the list of email addresses to receive the notification message that a new file has been uploaded. More that one address can be defined, separated by comma (,). You can use variables inside this attribute, as explained below.
793
- * **notifyheaders:** This attribute defines additional headers to be included in the notification email (e.g. set "From", "Cc" and "Bcc" parameters or use HTML code instead of text). Default value is "". For example, in order to send HTML email please set this attribute to "Content-type: text/html".
794
- * **notifysubject:** This attribute defines the subject for the notification message. Default value is "File Upload Notification". You can use variables inside this attribute, as explained below.
795
- * **notifymessage:** This attribute defines the body text for the notification message. Default value is "Dear Recipient, this is an automatic delivery message to notify you that a new file has been uploaded. Best Regards". You can use variables inside this attribute, as explained below.
796
- * **attachfile:** This attribute defines if the uploaded file will be attached to the notification email. Default value is "false".
797
-
798
- **Colors**
799
-
800
- *Upload Message Colors*
801
-
802
- * **successmessagecolor:** This attribute defines the color of the message shown upon successful upload. Default value is "green". This attribute is no longer used but is maintained for backward compatibility. Please use successmessagecolors instead.
803
- * **successmessagecolors:** This attribute defines the colors of the message shown upon successful upload. Default value is "#006600,#EEFFEE,#006666". The first value is the text color, the second the background color and the third the border color.
804
- * **warningmessagecolors:** This attribute defines the colors of the message shown upon successful upload but with warnings. Default value is "#F88017,#FEF2E7,#633309". The first value is the text color, the second the background color and the third the border color.
805
- * **failmessagecolors:** This attribute defines the colors of the message shown upon upload failure. Default value is "#660000,#FFEEEE,#666600". The first value is the text color, the second the background color and the third the border color.
806
- * **waitmessagecolors:** This attribute defines the colors of the message shown while file uploading. Default value is "#666666,#EEEEEE,#333333". The first value is the text color, the second the background color and the third the border color.
807
-
808
- **Dimensions**
809
-
810
- *Plugin Component Widths*
811
-
812
- * **widths:** This attribute can be used to define the width of every individual object of the plugin. Default value is "". To define the width of an individual object, simply put the name of the object and the width, separated by the (:) character (e.g. "title:100px"). To define more than one objects separate them with comma (,).
813
-
814
- *Plugin Component Heights*
815
-
816
- * **heights:** This attribute can be used to define the height of every individual object of the plugin. Default value is "". To define the height of an individual object, simply put the name of the object and the height, separated by the (:) character (e.g. "title:20px"). To define more than one objects separate them with comma (,).
817
-
818
- **Additional Fields**
819
-
820
- *Additional Data Fields*
821
 
822
- * **userdata:** This attribute defines if additional text information will be requested by the user. If set to "true", then an additional textbox will appear, prompting the user to put text data. These data will be sent to email recipients, if email notification has been activated and %userdata% variable exists inside notifymessage attribute. Default value is "false".
823
- * **userdatalabel:** This attribute defines the userdata fields. Separate each field definition with slash "/". The most simple is to define the field's label (text field will be assumed), e.g. Name/Email will define two text fields, one with label "Name" and one with label "Email". Additional options can be defined for each field, appended after the label using a "|" separator, an option designator (a single character plus ":" sign) and an option value. The available options are described below. Default value is "Your message|t:text|s:left|r:0|a:0|p:inline|d:".
824
- - **t:** field type, can take the values: text, multitext, number, email, confirmemail, password, confirmpassword, checkbox, radiobutton, date, time, datetime, list, dropdown
825
- - **s:** label position relative to the field, can take the values: none, top, right, bottom, left
826
- - **r:** is field required, can take the values: 0, 1
827
- - **a:** do not allow browser to auto-complete the field, can take the values: 0, 1
828
- - **v:** validate the field, can take the values: 0, 1
829
- - **d:** default field value
830
- - **l:** custom field data, this option depends on the field type; for checkbox it is the description shown next to the check box, for radiobutton it is a comma-separated list of radio button labels, for list and dropdown it is a comma-separated list of items
831
- - **g:** a group value used to group together relevant fields; it is used for grouping email with confirmemail, password with confirmpassword and radiobutton fields together
832
- - **p:** the position of the hint that is shown to the user when a required field is empty or its validation fails; it can have the values: none, inline, top, right, bottom, left
833
- - **h:** validate the field during typing, can take the values: 0, 1
834
- - **f:** define field format; it depends on the field type; for number field it can take the value d (for integer numbers) or f (for floating-point numbers), for checkbox it defines the location of the description in relation to the checkbox (top, right, bottom, left), for radiobutton it defines the location of the label in relation to its radio button (top, right, bottom, left) and placement of the radio buttons (vertical, horizontal), for date, time and datetime fields it defines the format of the date (or time) as shown below:
835
-
836
- date formats:
837
- - **d** - day of month (no leading zero)
838
- - **dd** - day of month (two digit)
839
- - **o** - day of the year (no leading zeros)
840
- - **oo** - day of the year (three digit)
841
- - **D** - day name short
842
- - **DD** - day name long
843
- - **m** - month of year (no leading zero)
844
- - **mm** - month of year (two digit)
845
- - **M** - month name short
846
- - **MM** - month name long
847
- - **y** - year (two digit)
848
- - **yy** - year (four digit)
849
- - **@** - Unix timestamp (ms since 01/01/1970)
850
- - **!** - Windows ticks (100ns since 01/01/0001)
851
- - **'...'** - literal text
852
- - **''** - single quote
853
- - anything else - literal text
854
-
855
- time formats:
856
- - **H** - hour with no leading 0 (24 hour)
857
- - **HH** - hour with leading 0 (24 hour)
858
- - **h** - hour with no leading 0 (12 hour)
859
- - **hh** - hour with leading 0 (12 hour)
860
- - **m** - minute with no leading 0
861
- - **mm** - minute with leading 0
862
- - **s** - second with no leading 0
863
- - **ss** - second with leading 0
864
- - **l** - milliseconds always with leading 0
865
- - **c** - microseconds always with leading 0
866
- - **t** - a or p for AM/PM
867
- - **T** - A or P for AM/PM
868
- - **tt** - am or pm for AM/PM
869
- - **TT** - AM or PM for AM/PM
870
- - **z** - timezone as defined by timezoneList
871
- - **Z** - timezone in Iso 8601 format (+04:45)
872
-
873
- **Interoperability**
874
-
875
- *Connection With Other Plugins*
876
-
877
- * **filebaselink:** This attribute defines if this plugin will be linked to wp-filebase plugin. Wp-filebase is another plugin with which you can upload files and then show them in your pages in a customizable way. If you set this attribute to "true", then you can upload files inside wp-filebase directories using wordpress_file_upload and then update the databases of wp-filebase, so that it is informed about the new uploads. The default value is "false". Please note that this attribute does not check to see if wp-filebase is installed and active, so be sure to have wp-filebase active if you want to use it.
878
-
879
- *Connection With Other Wordpress Features*
880
-
881
- * **medialink:** This attribute defines that uploaded files will be added to Media of the Wordpress website when set to "true". Default value is "false". Credits for this functionality to Aaron Olin.
882
- * **postlink:** This attribute defines that uploaded files will be added to the current page (or post) as attachments when set to "true". Default value is "false".
883
-
884
- You can use any of these attributes to customize the plugin. The way to use these attributes is the following:
885
-
886
- `
887
- [wordpress_file_upload attribute1=value1 attribute2=value2]
888
- `
889
-
890
- Here are some examples:
891
-
892
- `
893
- [wordpress_file_upload uploadtitle="Upload files to the Upload dir"]
894
- [wordpress_file_upload uploadtitle="Upload files to the Upload dir" uploadpath="uploads/myuploaddir"]
895
- [wordpress_file_upload uploadid="1" uploadpath="../myuploaddir"]
896
- [wordpress_file_upload uploadpath="uploads/users/%username%" createpath="true"]
897
- [wordpress_file_upload uploadpath="uploads/myuploaddir" notify="true" notifyrecipients="name1@address1.com, name2@address2.com"]
898
- [wordpress_file_upload uploadpath="/uploads/myuploaddir" askforsubfolders="true" subfoldertree="myuploaddir/My Upload Directory,*subfolder1/Subfolder1 Inside myuploaddir,**inner/2nd Level Nested Dir, *reports/Reports"]
899
- [wordpress_file_upload uploadrole="all" uploadpath="/uploads/filebase/%username%" createpath="false" notify="true" notifyrecipients="myname@domain.com" notifysubject="A new file has been uploaded!" attachfile="true" askforsubfolders="true" subfoldertree="admin/Administrator,*root/Root Folder,**inner, *reports/Reports" filebaselink="true" widths="filename:150px, selectbutton:80px, uploadbutton:80px, progressbar:220px, message:368px, subfolders_label:100px, subfolders_select:125px" placements="title/filename+subfolders/selectbutton+uploadbutton+progressbar/message"]
900
- [wordpress_file_upload uploadpath="uploads/myuploaddir" notify="true" notifyrecipients="name1@address1.com, name2@address2.com" notifymessage="File %filename% has been received, together with fields Name:%userdata0%, Email:%userdata1%" userdata="true" userdatalabel="Name/*Email (required)"]
901
- [wordpress_file_upload uploadpath="uploads/myuploaddir" notify="true" notifyrecipients="name1@address1.com, name2@address2.com" notifymessage="This is a test HTML message body.<br/><br/>This word is <em>italic</em> and this is <strong>bold</strong>." notifyheaders="Content-type: text/html"]
902
- `
903
-
904
- == Variables ==
905
-
906
- From version 1.2 variables are supported inside attributes.
907
-
908
- A variable is a string surrounded by percent characters, in the form *%variable_name%*. This variable is dynamically replaced by another string whenever the plugin is executed.
909
-
910
- For instance, if the variable %username% is used inside *uploadpath* attribute, then it will be replaced by the username of the user who is currently logged in every time a file is uploaded. By this way, every user can upload files to a separate folder, without any additional programming.
911
-
912
- For the time being, the following variables are supported:
913
-
914
- * **%userid%:** Is replaced by the id of the current user. Can be used inside attribute *uploadpath*.
915
- * **%username%:** Is replaced by the username of the current user. Can be used inside attributes *uploadpath*, *notifysubject* and *notifymessage*.
916
- * **%useremail%:** Is replaced by the email of the current user. Can be used inside attributes *notifyrecipients*, *notifysubject*, *notifymessage* and *redirectlink*.
917
- * **%filename%:** Is replaced by the filename (not including path information) of the uploaded file. Can be used inside attributes *notifysubject*, *notifymessage*, *successmessage* and *redirectlink*.
918
- * **%filepath%:** Is replaced by the filepath (full path and filename) of the uploaded file. Can be used inside attributes *notifysubject*, *notifymessage* and *successmessage*.
919
- * **%blogid%:** Is replaced by the blog_id of the current site. Can be used inside attribute *uploadpath*, *notifysubject* and *notifymessage*.
920
- * **%userdataXXX%:** Is replaced by the additional message that the user has sent together with the file upload. XXX is the number of the field (starting from 0). The shortcode attribute userdata must have been set to "true". Can be used inside attributes *uploadpath*, *notifysubject*, *notifymessage* and *notifyrecipients*.
921
- * **%pagetitle%:** Is replaced by the title of the current page. Can be used inside attribute *uploadpath*, *notifysubject* and *notifymessage*.
922
- * **%pageid%:** Is replaced by the id of the current page. Can be used inside attribute *uploadpath*, *notifysubject* and *notifymessage*.
923
-
924
- In addition, some special variables, which are used to replace literals not allowed in shortcodes (such as double quotes or brackets), are also supported. They can be used in attributes that receive free text (like button labels, email notification body etc.). These special variables are:
925
-
926
- * **%n%:** When used inside an attribute (e.g. inside *notifymessage*) it will be replaced by a change-of-line character (\n).
927
- * **%dq%:** When used inside an attribute it will be replaced by a double quote (").
928
- * **%brl%:** When used inside an attribute it will be replaced by an opening bracket ([).
929
- * **%brr%:** When used inside an attribute it will be replaced by a closing bracket (]).
930
-
931
- == Filters / Actions ==
932
-
933
- From version 2.4.1 filters and actions are supported in order to allow programmers to integrate Wordpress File Upload plugin with other plugins.
934
-
935
- The following filters are supported:
936
-
937
- **wfu_before_file_check**
938
-
939
- It is executed before file is uploaded and before any internal file checks, in order to allow the filter to perform its own checks or change some basic upload parameters, such as filename or userdata. You can use it as follows:
940
-
941
- `
942
- add_filter('wfu_before_file_check', 'wfu_before_file_check_handler', 10, 2);
943
-
944
- //The following function takes two parameters, $changable_data and $additional_data.
945
- // $changable_data is an array that can be modified by the filter and contains the items:
946
- // file_path: the full path of the uploaded file
947
- // user_data: an array of user data values, if userdata are activated
948
- // error_message: initially it is set to an empty value, if the handler sets a non-empty value then upload of the file will be cancelled showing this error message (message will be shown only to administrators if adminmessages attribute has been activated)
949
- // $additional_data is an array with additional data to be used by the filter (but cannot be modified) as follows:
950
- // shortcode_id: this is the id of the plugin, as set using uploadid attribute; it can be used to apply this filter only to a specific instance of the plugin (if it is used in more than one pages or posts)
951
- // file_unique_id: this id is unique for each individual file upload and can be used to identify each separate upload
952
- // file_size: the size of the uploaded file
953
- // user_id: the id of the user that submitted the file for upload
954
- // page_id: the id of the page from where the upload was performed (because there may be upload plugins in more than one page)
955
- //The function must return the final $changable_data.
956
- function wfu_before_file_check_handler($changable_data, $additional_data) {
957
- // Add code here...
958
- return $changable_data;
959
- }
960
- `
961
-
962
- **wfu_before_file_upload**
963
-
964
- It is executed right before file is uploaded, in order to allow the filter to change the file name. You can use it as follows:
965
-
966
- `
967
- add_filter('wfu_before_file_upload', 'wfu_before_file_upload_handler', 10, 2);
968
-
969
- //The following function takes two parameters, $file_path and $file_unique_id.
970
- // $file_path is the filename of the uploaded file (after all internal checks have been applied) and can be modified by the filter.
971
- // $file_unique_id is is unique for each individual file upload and can be used to identify each separate upload.
972
- //The function must return the final $file_path.
973
- //If additional data are required (such as user id or userdata) you can get them by implementing the previous filter
974
- //wfu_before_file_check and link both filters by $file_unique_id parameter.
975
- //Please note that no filename validity checks will be performed after the filter. The filter must ensure that filename is valid.
976
- function wfu_before_file_upload_handler($file_path, $file_unique_id) {
977
- // Add code here...
978
- return $file_path;
979
- }
980
- `
981
-
982
- **wfu_before_email_notification**
983
-
984
- It is executed before email notification is sent, in order to allow advanced checks or modifications to the email. You can use it as follows:
985
-
986
- `
987
- add_filter('wfu_before_email_notification', 'wfu_before_email_notification_handler', 10, 2);
988
-
989
- //The following function takes two parameters, $changable_data and $additional_data.
990
- // $changable_data is an array that can be modified by the filter and contains the items:
991
- // recipients: the list of recipients (before dynamic variables are applied)
992
- // subject: the email subject (before dynamic variables are applied)
993
- // message: the email body (before dynamic variables are applied)
994
- // headers: the email headers, if exist (before dynamic variables are applied)
995
- // user_data: an array of user data values, if userdata are activated
996
- // filename: a comma separated list of uploaded file names (only the file names)
997
- // filepath: a comma separated list of uploaded file paths (absolute full file paths)
998
- // error_message: initially it is set to an empty value, if the handler sets a non-empty value then email sending will be cancelled showing this error message (message will be shown only to administrators if adminmessages attribute has been activated)
999
- // $additional_data is an array with additional data to be used by the filter (but cannot be modified) as follows:
1000
- // shortcode_id: this is the id of the plugin, as set using uploadid attribute; it can be used to apply this filter only to a specific instance of the plugin (if it is used in more than one pages or posts)
1001
- //The function must return the final $changable_data.
1002
- function wfu_before_email_notification_handler($changable_data, $additional_data) {
1003
- // Add code here...
1004
- return $changable_data;
1005
- }
1006
- `
1007
-
1008
- **wfu_after_file_upload**
1009
-
1010
- It is executed after the upload process for each individual file has finished, in order to allow additional actions to be executed (such as define custom javascript code to be executed in client's browser after file upload). You can use it as follows:
1011
-
1012
- `
1013
- add_filter('wfu_after_file_upload', 'wfu_after_file_upload_handler', 10, 2);
1014
-
1015
- //The following function takes two parameters, $changable_data and $additional_data.
1016
- // $changable_data is an array that can be modified by the filter and contains the items:
1017
- // ret_value: not used for the moment, it exists for future additions
1018
- // js_script: javascript code to be executed on the client's browser after each file is uploaded
1019
- // $additional_data is an array with additional data to be used by the filter (but cannot be modified) as follows:
1020
- // shortcode_id: this is the id of the plugin, as set using uploadid attribute; it can be used to apply this filter only to a specific instance of the plugin (if it is used in more than one pages or posts)
1021
- // file_unique_id: this id is unique for each individual file upload and can be used to identify each separate upload
1022
- // upload_result is the result of the upload process:
1023
- // success: the upload was successful
1024
- // warning: the upload was successful but with warning messages
1025
- // error: the upload failed
1026
- // error_message: contains warning or error messages generated during the upload process
1027
- // admin_messages: contains detailed error messages for administrators generated during the upload process
1028
- //The function must return the final $changable_data.
1029
- function wfu_after_file_upload_handler($changable_data, $additional_data) {
1030
- // Add code here...
1031
- return $changable_data;
1032
- }
1033
- `
1034
-
1035
- The following actions are supported:
1036
-
1037
- **wfu_after_file_upload**
1038
-
1039
- It is executed after the upload process for each individual file has finished, in order to allow additional actions to be executed. You can use it as follows:
1040
-
1041
- `
1042
- add_action('wfu_after_file_upload', 'wfu_after_file_upload_handler', 10, 4);
1043
- (It is noted that this action will be removed in future version of the plugin, it is here only for compatibility with previous versions of the plugin, please use wfu_after_file_upload filter instead)
1044
-
1045
- //The following function takes four parameters, $file_unique_id, $upload_result, $error_message and $error_admin_messages.
1046
- // $file_unique_id is is unique for each individual file upload and can be used to identify each separate upload.
1047
- // $upload_result is the result of the upload process:
1048
- // success: the upload was successful
1049
- // warning: the upload was successful but with warning messages
1050
- // error: the upload failed
1051
- // $error_message: contains warning or error messages generated during the upload process
1052
- // $admin_messages: contains detailed error messages for administrators generated during the upload process
1053
- //If additional data are required (such as user id, userdata or filename) you can get them by implementing the previous filters
1054
- //wfu_before_file_check or wfu_before_file_upload and link both filters by $file_unique_id parameter.
1055
- function wfu_after_file_upload_handler($file_unique_id, $upload_result, $error_message, $error_admin_messages) {
1056
- // Add code here...
1057
- }
1058
- `
1059
 
1060
  == Requirements ==
1061
 
3
  Donate link: http://www.iptanus.com/support/wordpress-file-upload
4
  Tags: ajax, captcha, filter, form, html5, notification, page, plugin, post, redirect, responsive, shortcode, sidebar, upload, widget
5
  Requires at least: 2.9.2
6
+ Tested up to: 4.3.1
7
  Stable tag: "trunk"
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
45
  * German
46
  * French, kindly provided by Thomas Bastide of http://www.omicronn.fr/
47
  * Serbian, kindly provided by Andrijana Nikolic of http://webhostinggeeks.com/
48
+ * Polish
49
  * Greek
50
 
51
  Please note that old desktop browsers or mobile browsers may not support all of the above functionalities. In order to get full functionality use the latest versions browsers, supporting HTML5, AJAX and CSS3.
132
 
133
  == Changelog ==
134
 
135
+ = 3.5.0 =
136
+ * textdomain changed to wp-file-upload to support the translation feature of wordpress.org
137
+ * added option in Maintenance Actions of plugin's area in Dashboard to export uploaded file data
138
+ * added pagination of non-admin logged user's Uploaded Files Browser
139
+ * added pagination of front-end File List Viewer
140
+ * added pagination of user permissions table in plugin's Settings
141
+ * added pagination of Log Viewer
142
+ * corrected bug in View Log that was not working when pressing on the link
143
+ * improvements to View Log feature
144
+ * improvements to file download function to avoid corruption of downloaded file due to set_time_limit function that may generate warnings
145
+ * added wfu_before_frontpage_scripts filter that executes right before frontpage scripts and styles are loaded
146
+ * added functionality to avoid incompatibilities with NextGen Gallery plugin
147
+
148
  = 3.4.1 =
149
+ * plugin's security improved to reject files that contain .php.js or similar extensions
150
 
151
  = 3.4.0 =
152
  * added fitmode attribute to make the plugin responsive
524
 
525
  == Upgrade Notice ==
526
 
527
+ = 3.5.0 =
528
+ Important upgrade to introduce some new features and fix some bugs.
529
+
530
  = 3.4.1 =
531
+ Important upgrade to address a security hole.
532
 
533
  = 3.4.0 =
534
  Important upgrade to introduce some new features and fix some bugs.
722
  = 1.0 =
723
  Initial version.
724
 
725
+ == Plugin Customization Options ==
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
726
 
727
+ Please visit the [support page](http://www.iptanus.com/support/wordpress-file-upload/ "Wordpress File Upload support page") of the plugin for detailed description of customization options.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
728
 
729
  == Requirements ==
730
 
release_notes.txt CHANGED
@@ -1 +1,8 @@
1
- <span><strong>Latest release notes: </strong>This is another important release, following the former 3.3.0 that introduced many form field types. With this release the plugin obtains two new features, <strong>responsiveness</strong> and the ability to be added in <strong>sidebars</strong>. The new attribute <strong>fitmode</strong> defines responsiveness. If it is set to <em>"fixed"</em> then nothing changes. However, if it is set to <em>"responsive"</em> then the plugin's element positions will be adjusted (wrapped) to fit inside the container page or post. Furthermore, a new widget, <strong>"Wordpress File Upload Form"</strong> has been added in the Widgets area of the Dashboard. If it is added inside a sidebar, then the uploader form will show up in place. Again, the shortcode can be configured either manually from the Dashboard or straight using the Shortcode Composer.</span>
 
 
 
 
 
 
 
1
+ <!-- --><span><strong>Latest release notes: </strong>This version introduces the following changes:</span>
2
+ <ul style="list-style:disc; padding-left:18px;">
3
+ <li>Added a new feature to <strong>export</strong> the uploaded files' data to a comma-separated (csv) file. This option is inside <em>Maintenance Actions</em> of the plugin's area in Dashboard.</li>
4
+ <li>Most of the plugin's tables have obtained <strong>pagination</strong>, so that their contents are spanned over several pages. These tables are the <em>users' permissions</em> in plugin's Settings in Dashboard, the <em>back-end Uploaded Files Browser</em>, the <em>front-end File List Viewer</em> and the <em>Log Viewer</em>.</li>
5
+ <li>A new filter is introduced, <strong>wfu_before_frontpage_scripts</strong>, which runs before any front-end scripts and styles are declared. This filter can assist in resolving incompatibilities with other plugins relating to jQuery modules, such as the <em>NextGen Gallery</em> plugin.</li>
6
+ <li>The text domain of the plugin has changed to <strong>wp-file-upload</strong>, so that it can be internationalized through the <a href="http://translate.wordpress.org">Translation</a> feature of wordpress.org.</li>
7
+ </ul>
8
+ <span>Furthermore, the professional version of the plugin has introduced a very important feature, the ability to upload files to a <strong>Dropbox</strong> account. You can check it at the plugin's <a href="http://www.iptanus.com/wordpress-plugins/wordpress-file-upload/">support page</a>.</span><!-- --><!-- -->
vendor/datetimepicker/jquery-ui-timepicker-addon.min.js CHANGED
@@ -1,2 +1,2 @@
1
- !function(e){"function"==typeof define&&define.amd?define(["jquery","jquery.ui"],e):e(jQuery)}(function($){if($.ui.timepicker=$.ui.timepicker||{},!$.ui.timepicker.version){$.extend($.ui,{timepicker:{version:"1.5.5"}});var Timepicker=function(){this.regional=[],this.regional[""]={currentText:"Now",closeText:"Done",amNames:["AM","A"],pmNames:["PM","P"],timeFormat:"HH:mm",timeSuffix:"",timeOnlyTitle:"Choose Time",timeText:"Time",hourText:"Hour",minuteText:"Minute",secondText:"Second",millisecText:"Millisecond",microsecText:"Microsecond",timezoneText:"Time Zone",isRTL:!1},this._defaults={showButtonPanel:!0,timeOnly:!1,timeOnlyShowDate:!1,showHour:null,showMinute:null,showSecond:null,showMillisec:null,showMicrosec:null,showTimezone:null,showTime:!0,stepHour:1,stepMinute:1,stepSecond:1,stepMillisec:1,stepMicrosec:1,hour:0,minute:0,second:0,millisec:0,microsec:0,timezone:null,hourMin:0,minuteMin:0,secondMin:0,millisecMin:0,microsecMin:0,hourMax:23,minuteMax:59,secondMax:59,millisecMax:999,microsecMax:999,minDateTime:null,maxDateTime:null,maxTime:null,minTime:null,onSelect:null,hourGrid:0,minuteGrid:0,secondGrid:0,millisecGrid:0,microsecGrid:0,alwaysSetTime:!0,separator:" ",altFieldTimeOnly:!0,altTimeFormat:null,altSeparator:null,altTimeSuffix:null,altRedirectFocus:!0,pickerTimeFormat:null,pickerTimeSuffix:null,showTimepicker:!0,timezoneList:null,addSliderAccess:!1,sliderAccessArgs:null,controlType:"slider",oneLine:!1,defaultValue:null,parse:"strict",afterInject:null},$.extend(this._defaults,this.regional[""])};$.extend(Timepicker.prototype,{$input:null,$altInput:null,$timeObj:null,inst:null,hour_slider:null,minute_slider:null,second_slider:null,millisec_slider:null,microsec_slider:null,timezone_select:null,maxTime:null,minTime:null,hour:0,minute:0,second:0,millisec:0,microsec:0,timezone:null,hourMinOriginal:null,minuteMinOriginal:null,secondMinOriginal:null,millisecMinOriginal:null,microsecMinOriginal:null,hourMaxOriginal:null,minuteMaxOriginal:null,secondMaxOriginal:null,millisecMaxOriginal:null,microsecMaxOriginal:null,ampm:"",formattedDate:"",formattedTime:"",formattedDateTime:"",timezoneList:null,units:["hour","minute","second","millisec","microsec"],support:{},control:null,setDefaults:function(e){return extendRemove(this._defaults,e||{}),this},_newInst:function($input,opts){var tp_inst=new Timepicker,inlineSettings={},fns={},overrides,i;for(var attrName in this._defaults)if(this._defaults.hasOwnProperty(attrName)){var attrValue=$input.attr("time:"+attrName);if(attrValue)try{inlineSettings[attrName]=eval(attrValue)}catch(err){inlineSettings[attrName]=attrValue}}overrides={beforeShow:function(e,t){return $.isFunction(tp_inst._defaults.evnts.beforeShow)?tp_inst._defaults.evnts.beforeShow.call($input[0],e,t,tp_inst):void 0},onChangeMonthYear:function(e,t,i){$.isFunction(tp_inst._defaults.evnts.onChangeMonthYear)&&tp_inst._defaults.evnts.onChangeMonthYear.call($input[0],e,t,i,tp_inst)},onClose:function(e,t){tp_inst.timeDefined===!0&&""!==$input.val()&&tp_inst._updateDateTime(t),$.isFunction(tp_inst._defaults.evnts.onClose)&&tp_inst._defaults.evnts.onClose.call($input[0],e,t,tp_inst)}};for(i in overrides)overrides.hasOwnProperty(i)&&(fns[i]=opts[i]||this._defaults[i]||null);tp_inst._defaults=$.extend({},this._defaults,inlineSettings,opts,overrides,{evnts:fns,timepicker:tp_inst}),tp_inst.amNames=$.map(tp_inst._defaults.amNames,function(e){return e.toUpperCase()}),tp_inst.pmNames=$.map(tp_inst._defaults.pmNames,function(e){return e.toUpperCase()}),tp_inst.support=detectSupport(tp_inst._defaults.timeFormat+(tp_inst._defaults.pickerTimeFormat?tp_inst._defaults.pickerTimeFormat:"")+(tp_inst._defaults.altTimeFormat?tp_inst._defaults.altTimeFormat:"")),"string"==typeof tp_inst._defaults.controlType?("slider"===tp_inst._defaults.controlType&&void 0===$.ui.slider&&(tp_inst._defaults.controlType="select"),tp_inst.control=tp_inst._controls[tp_inst._defaults.controlType]):tp_inst.control=tp_inst._defaults.controlType;var timezoneList=[-720,-660,-600,-570,-540,-480,-420,-360,-300,-270,-240,-210,-180,-120,-60,0,60,120,180,210,240,270,300,330,345,360,390,420,480,525,540,570,600,630,660,690,720,765,780,840];null!==tp_inst._defaults.timezoneList&&(timezoneList=tp_inst._defaults.timezoneList);var tzl=timezoneList.length,tzi=0,tzv=null;if(tzl>0&&"object"!=typeof timezoneList[0])for(;tzl>tzi;tzi++)tzv=timezoneList[tzi],timezoneList[tzi]={value:tzv,label:$.timepicker.timezoneOffsetString(tzv,tp_inst.support.iso8601)};return tp_inst._defaults.timezoneList=timezoneList,tp_inst.timezone=null!==tp_inst._defaults.timezone?$.timepicker.timezoneOffsetNumber(tp_inst._defaults.timezone):-1*(new Date).getTimezoneOffset(),tp_inst.hour=tp_inst._defaults.hour<tp_inst._defaults.hourMin?tp_inst._defaults.hourMin:tp_inst._defaults.hour>tp_inst._defaults.hourMax?tp_inst._defaults.hourMax:tp_inst._defaults.hour,tp_inst.minute=tp_inst._defaults.minute<tp_inst._defaults.minuteMin?tp_inst._defaults.minuteMin:tp_inst._defaults.minute>tp_inst._defaults.minuteMax?tp_inst._defaults.minuteMax:tp_inst._defaults.minute,tp_inst.second=tp_inst._defaults.second<tp_inst._defaults.secondMin?tp_inst._defaults.secondMin:tp_inst._defaults.second>tp_inst._defaults.secondMax?tp_inst._defaults.secondMax:tp_inst._defaults.second,tp_inst.millisec=tp_inst._defaults.millisec<tp_inst._defaults.millisecMin?tp_inst._defaults.millisecMin:tp_inst._defaults.millisec>tp_inst._defaults.millisecMax?tp_inst._defaults.millisecMax:tp_inst._defaults.millisec,tp_inst.microsec=tp_inst._defaults.microsec<tp_inst._defaults.microsecMin?tp_inst._defaults.microsecMin:tp_inst._defaults.microsec>tp_inst._defaults.microsecMax?tp_inst._defaults.microsecMax:tp_inst._defaults.microsec,tp_inst.ampm="",tp_inst.$input=$input,tp_inst._defaults.altField&&(tp_inst.$altInput=$(tp_inst._defaults.altField),tp_inst._defaults.altRedirectFocus===!0&&tp_inst.$altInput.css({cursor:"pointer"}).focus(function(){$input.trigger("focus")})),(0===tp_inst._defaults.minDate||0===tp_inst._defaults.minDateTime)&&(tp_inst._defaults.minDate=new Date),(0===tp_inst._defaults.maxDate||0===tp_inst._defaults.maxDateTime)&&(tp_inst._defaults.maxDate=new Date),void 0!==tp_inst._defaults.minDate&&tp_inst._defaults.minDate instanceof Date&&(tp_inst._defaults.minDateTime=new Date(tp_inst._defaults.minDate.getTime())),void 0!==tp_inst._defaults.minDateTime&&tp_inst._defaults.minDateTime instanceof Date&&(tp_inst._defaults.minDate=new Date(tp_inst._defaults.minDateTime.getTime())),void 0!==tp_inst._defaults.maxDate&&tp_inst._defaults.maxDate instanceof Date&&(tp_inst._defaults.maxDateTime=new Date(tp_inst._defaults.maxDate.getTime())),void 0!==tp_inst._defaults.maxDateTime&&tp_inst._defaults.maxDateTime instanceof Date&&(tp_inst._defaults.maxDate=new Date(tp_inst._defaults.maxDateTime.getTime())),tp_inst.$input.bind("focus",function(){tp_inst._onFocus()}),tp_inst},_addTimePicker:function(e){var t=$.trim(this.$altInput&&this._defaults.altFieldTimeOnly?this.$input.val()+" "+this.$altInput.val():this.$input.val());this.timeDefined=this._parseTime(t),this._limitMinMaxDateTime(e,!1),this._injectTimePicker(),this._afterInject()},_parseTime:function(e,t){if(this.inst||(this.inst=$.datepicker._getInst(this.$input[0])),t||!this._defaults.timeOnly){var i=$.datepicker._get(this.inst,"dateFormat");try{var s=parseDateTimeInternal(i,this._defaults.timeFormat,e,$.datepicker._getFormatConfig(this.inst),this._defaults);if(!s.timeObj)return!1;$.extend(this,s.timeObj)}catch(a){return $.timepicker.log("Error parsing the date/time string: "+a+"\ndate/time string = "+e+"\ntimeFormat = "+this._defaults.timeFormat+"\ndateFormat = "+i),!1}return!0}var n=$.datepicker.parseTime(this._defaults.timeFormat,e,this._defaults);return n?($.extend(this,n),!0):!1},_afterInject:function(){var e=this.inst.settings;$.isFunction(e.afterInject)&&e.afterInject.call(this)},_injectTimePicker:function(){var e=this.inst.dpDiv,t=this.inst.settings,i=this,s="",a="",n=null,r={},l={},o=null,c=0,u=0;if(0===e.find("div.ui-timepicker-div").length&&t.showTimepicker){var m=" ui_tpicker_unit_hide",d='<div class="ui-timepicker-div'+(t.isRTL?" ui-timepicker-rtl":"")+(t.oneLine&&"select"===t.controlType?" ui-timepicker-oneLine":"")+'"><dl><dt class="ui_tpicker_time_label'+(t.showTime?"":m)+'">'+t.timeText+'</dt><dd class="ui_tpicker_time '+(t.showTime?"":m)+'"></dd>';for(c=0,u=this.units.length;u>c;c++){if(s=this.units[c],a=s.substr(0,1).toUpperCase()+s.substr(1),n=null!==t["show"+a]?t["show"+a]:this.support[s],r[s]=parseInt(t[s+"Max"]-(t[s+"Max"]-t[s+"Min"])%t["step"+a],10),l[s]=0,d+='<dt class="ui_tpicker_'+s+"_label"+(n?"":m)+'">'+t[s+"Text"]+'</dt><dd class="ui_tpicker_'+s+(n?"":m)+'"><div class="ui_tpicker_'+s+"_slider"+(n?"":m)+'"></div>',n&&t[s+"Grid"]>0){if(d+='<div style="padding-left: 1px"><table class="ui-tpicker-grid-label"><tr>',"hour"===s)for(var h=t[s+"Min"];r[s]>=h;h+=parseInt(t[s+"Grid"],10)){l[s]++;var p=$.datepicker.formatTime(this.support.ampm?"hht":"HH",{hour:h},t);d+='<td data-for="'+s+'">'+p+"</td>"}else for(var _=t[s+"Min"];r[s]>=_;_+=parseInt(t[s+"Grid"],10))l[s]++,d+='<td data-for="'+s+'">'+(10>_?"0":"")+_+"</td>";d+="</tr></table></div>"}d+="</dd>"}var f=null!==t.showTimezone?t.showTimezone:this.support.timezone;d+='<dt class="ui_tpicker_timezone_label'+(f?"":m)+'">'+t.timezoneText+"</dt>",d+='<dd class="ui_tpicker_timezone'+(f?"":m)+'"></dd>',d+="</dl></div>";var g=$(d);for(t.timeOnly===!0&&(g.prepend('<div class="ui-widget-header ui-helper-clearfix ui-corner-all"><div class="ui-datepicker-title">'+t.timeOnlyTitle+"</div></div>"),e.find(".ui-datepicker-header, .ui-datepicker-calendar").hide()),c=0,u=i.units.length;u>c;c++)s=i.units[c],a=s.substr(0,1).toUpperCase()+s.substr(1),n=null!==t["show"+a]?t["show"+a]:this.support[s],i[s+"_slider"]=i.control.create(i,g.find(".ui_tpicker_"+s+"_slider"),s,i[s],t[s+"Min"],r[s],t["step"+a]),n&&t[s+"Grid"]>0&&(o=100*l[s]*t[s+"Grid"]/(r[s]-t[s+"Min"]),g.find(".ui_tpicker_"+s+" table").css({width:o+"%",marginLeft:t.isRTL?"0":o/(-2*l[s])+"%",marginRight:t.isRTL?o/(-2*l[s])+"%":"0",borderCollapse:"collapse"}).find("td").click(function(){var e=$(this),t=e.html(),a=parseInt(t.replace(/[^0-9]/g),10),n=t.replace(/[^apm]/gi),r=e.data("for");"hour"===r&&(-1!==n.indexOf("p")&&12>a?a+=12:-1!==n.indexOf("a")&&12===a&&(a=0)),i.control.value(i,i[r+"_slider"],s,a),i._onTimeChange(),i._onSelectHandler()}).css({cursor:"pointer",width:100/l[s]+"%",textAlign:"center",overflow:"hidden"}));if(this.timezone_select=g.find(".ui_tpicker_timezone").append("<select></select>").find("select"),$.fn.append.apply(this.timezone_select,$.map(t.timezoneList,function(e){return $("<option />").val("object"==typeof e?e.value:e).text("object"==typeof e?e.label:e)})),void 0!==this.timezone&&null!==this.timezone&&""!==this.timezone){var M=-1*new Date(this.inst.selectedYear,this.inst.selectedMonth,this.inst.selectedDay,12).getTimezoneOffset();M===this.timezone?selectLocalTimezone(i):this.timezone_select.val(this.timezone)}else void 0!==this.hour&&null!==this.hour&&""!==this.hour?this.timezone_select.val(t.timezone):selectLocalTimezone(i);this.timezone_select.change(function(){i._onTimeChange(),i._onSelectHandler(),i._afterInject()});var v=e.find(".ui-datepicker-buttonpane");if(v.length?v.before(g):e.append(g),this.$timeObj=g.find(".ui_tpicker_time"),null!==this.inst){var k=this.timeDefined;this._onTimeChange(),this.timeDefined=k}if(this._defaults.addSliderAccess){var T=this._defaults.sliderAccessArgs,D=this._defaults.isRTL;T.isRTL=D,setTimeout(function(){if(0===g.find(".ui-slider-access").length){g.find(".ui-slider:visible").sliderAccess(T);var e=g.find(".ui-slider-access:eq(0)").outerWidth(!0);e&&g.find("table:visible").each(function(){var t=$(this),i=t.outerWidth(),s=(""+t.css(D?"marginRight":"marginLeft")).replace("%",""),a=i-e,n=s*a/i+"%",r={width:a,marginRight:0,marginLeft:0};r[D?"marginRight":"marginLeft"]=n,t.css(r)})}},10)}i._limitMinMaxDateTime(this.inst,!0)}},_limitMinMaxDateTime:function(e,t){var i=this._defaults,s=new Date(e.selectedYear,e.selectedMonth,e.selectedDay);if(this._defaults.showTimepicker){if(null!==$.datepicker._get(e,"minDateTime")&&void 0!==$.datepicker._get(e,"minDateTime")&&s){var a=$.datepicker._get(e,"minDateTime"),n=new Date(a.getFullYear(),a.getMonth(),a.getDate(),0,0,0,0);(null===this.hourMinOriginal||null===this.minuteMinOriginal||null===this.secondMinOriginal||null===this.millisecMinOriginal||null===this.microsecMinOriginal)&&(this.hourMinOriginal=i.hourMin,this.minuteMinOriginal=i.minuteMin,this.secondMinOriginal=i.secondMin,this.millisecMinOriginal=i.millisecMin,this.microsecMinOriginal=i.microsecMin),e.settings.timeOnly||n.getTime()===s.getTime()?(this._defaults.hourMin=a.getHours(),this.hour<=this._defaults.hourMin?(this.hour=this._defaults.hourMin,this._defaults.minuteMin=a.getMinutes(),this.minute<=this._defaults.minuteMin?(this.minute=this._defaults.minuteMin,this._defaults.secondMin=a.getSeconds(),this.second<=this._defaults.secondMin?(this.second=this._defaults.secondMin,this._defaults.millisecMin=a.getMilliseconds(),this.millisec<=this._defaults.millisecMin?(this.millisec=this._defaults.millisecMin,this._defaults.microsecMin=a.getMicroseconds()):(this.microsec<this._defaults.microsecMin&&(this.microsec=this._defaults.microsecMin),this._defaults.microsecMin=this.microsecMinOriginal)):(this._defaults.millisecMin=this.millisecMinOriginal,this._defaults.microsecMin=this.microsecMinOriginal)):(this._defaults.secondMin=this.secondMinOriginal,this._defaults.millisecMin=this.millisecMinOriginal,this._defaults.microsecMin=this.microsecMinOriginal)):(this._defaults.minuteMin=this.minuteMinOriginal,this._defaults.secondMin=this.secondMinOriginal,this._defaults.millisecMin=this.millisecMinOriginal,this._defaults.microsecMin=this.microsecMinOriginal)):(this._defaults.hourMin=this.hourMinOriginal,this._defaults.minuteMin=this.minuteMinOriginal,this._defaults.secondMin=this.secondMinOriginal,this._defaults.millisecMin=this.millisecMinOriginal,this._defaults.microsecMin=this.microsecMinOriginal)}if(null!==$.datepicker._get(e,"maxDateTime")&&void 0!==$.datepicker._get(e,"maxDateTime")&&s){var r=$.datepicker._get(e,"maxDateTime"),l=new Date(r.getFullYear(),r.getMonth(),r.getDate(),0,0,0,0);(null===this.hourMaxOriginal||null===this.minuteMaxOriginal||null===this.secondMaxOriginal||null===this.millisecMaxOriginal)&&(this.hourMaxOriginal=i.hourMax,this.minuteMaxOriginal=i.minuteMax,this.secondMaxOriginal=i.secondMax,this.millisecMaxOriginal=i.millisecMax,this.microsecMaxOriginal=i.microsecMax),e.settings.timeOnly||l.getTime()===s.getTime()?(this._defaults.hourMax=r.getHours(),this.hour>=this._defaults.hourMax?(this.hour=this._defaults.hourMax,this._defaults.minuteMax=r.getMinutes(),this.minute>=this._defaults.minuteMax?(this.minute=this._defaults.minuteMax,this._defaults.secondMax=r.getSeconds(),this.second>=this._defaults.secondMax?(this.second=this._defaults.secondMax,this._defaults.millisecMax=r.getMilliseconds(),this.millisec>=this._defaults.millisecMax?(this.millisec=this._defaults.millisecMax,this._defaults.microsecMax=r.getMicroseconds()):(this.microsec>this._defaults.microsecMax&&(this.microsec=this._defaults.microsecMax),this._defaults.microsecMax=this.microsecMaxOriginal)):(this._defaults.millisecMax=this.millisecMaxOriginal,this._defaults.microsecMax=this.microsecMaxOriginal)):(this._defaults.secondMax=this.secondMaxOriginal,this._defaults.millisecMax=this.millisecMaxOriginal,this._defaults.microsecMax=this.microsecMaxOriginal)):(this._defaults.minuteMax=this.minuteMaxOriginal,this._defaults.secondMax=this.secondMaxOriginal,this._defaults.millisecMax=this.millisecMaxOriginal,this._defaults.microsecMax=this.microsecMaxOriginal)):(this._defaults.hourMax=this.hourMaxOriginal,this._defaults.minuteMax=this.minuteMaxOriginal,this._defaults.secondMax=this.secondMaxOriginal,this._defaults.millisecMax=this.millisecMaxOriginal,this._defaults.microsecMax=this.microsecMaxOriginal)}if(null!==e.settings.minTime){var o=new Date("01/01/1970 "+e.settings.minTime);this.hour<o.getHours()?(this.hour=this._defaults.hourMin=o.getHours(),this.minute=this._defaults.minuteMin=o.getMinutes()):this.hour===o.getHours()&&this.minute<o.getMinutes()?this.minute=this._defaults.minuteMin=o.getMinutes():this._defaults.hourMin<o.getHours()?(this._defaults.hourMin=o.getHours(),this._defaults.minuteMin=o.getMinutes()):this._defaults.minuteMin=this._defaults.hourMin===o.getHours()===this.hour&&this._defaults.minuteMin<o.getMinutes()?o.getMinutes():0}if(null!==e.settings.maxTime){var c=new Date("01/01/1970 "+e.settings.maxTime);this.hour>c.getHours()?(this.hour=this._defaults.hourMax=c.getHours(),this.minute=this._defaults.minuteMax=c.getMinutes()):this.hour===c.getHours()&&this.minute>c.getMinutes()?this.minute=this._defaults.minuteMax=c.getMinutes():this._defaults.hourMax>c.getHours()?(this._defaults.hourMax=c.getHours(),this._defaults.minuteMax=c.getMinutes()):this._defaults.minuteMax=this._defaults.hourMax===c.getHours()===this.hour&&this._defaults.minuteMax>c.getMinutes()?c.getMinutes():59}if(void 0!==t&&t===!0){var u=parseInt(this._defaults.hourMax-(this._defaults.hourMax-this._defaults.hourMin)%this._defaults.stepHour,10),m=parseInt(this._defaults.minuteMax-(this._defaults.minuteMax-this._defaults.minuteMin)%this._defaults.stepMinute,10),d=parseInt(this._defaults.secondMax-(this._defaults.secondMax-this._defaults.secondMin)%this._defaults.stepSecond,10),h=parseInt(this._defaults.millisecMax-(this._defaults.millisecMax-this._defaults.millisecMin)%this._defaults.stepMillisec,10),p=parseInt(this._defaults.microsecMax-(this._defaults.microsecMax-this._defaults.microsecMin)%this._defaults.stepMicrosec,10);this.hour_slider&&(this.control.options(this,this.hour_slider,"hour",{min:this._defaults.hourMin,max:u,step:this._defaults.stepHour}),this.control.value(this,this.hour_slider,"hour",this.hour-this.hour%this._defaults.stepHour)),this.minute_slider&&(this.control.options(this,this.minute_slider,"minute",{min:this._defaults.minuteMin,max:m,step:this._defaults.stepMinute}),this.control.value(this,this.minute_slider,"minute",this.minute-this.minute%this._defaults.stepMinute)),this.second_slider&&(this.control.options(this,this.second_slider,"second",{min:this._defaults.secondMin,max:d,step:this._defaults.stepSecond}),this.control.value(this,this.second_slider,"second",this.second-this.second%this._defaults.stepSecond)),this.millisec_slider&&(this.control.options(this,this.millisec_slider,"millisec",{min:this._defaults.millisecMin,max:h,step:this._defaults.stepMillisec}),this.control.value(this,this.millisec_slider,"millisec",this.millisec-this.millisec%this._defaults.stepMillisec)),this.microsec_slider&&(this.control.options(this,this.microsec_slider,"microsec",{min:this._defaults.microsecMin,max:p,step:this._defaults.stepMicrosec}),this.control.value(this,this.microsec_slider,"microsec",this.microsec-this.microsec%this._defaults.stepMicrosec))}}},_onTimeChange:function(){if(this._defaults.showTimepicker){var e=this.hour_slider?this.control.value(this,this.hour_slider,"hour"):!1,t=this.minute_slider?this.control.value(this,this.minute_slider,"minute"):!1,i=this.second_slider?this.control.value(this,this.second_slider,"second"):!1,s=this.millisec_slider?this.control.value(this,this.millisec_slider,"millisec"):!1,a=this.microsec_slider?this.control.value(this,this.microsec_slider,"microsec"):!1,n=this.timezone_select?this.timezone_select.val():!1,r=this._defaults,l=r.pickerTimeFormat||r.timeFormat,o=r.pickerTimeSuffix||r.timeSuffix;"object"==typeof e&&(e=!1),"object"==typeof t&&(t=!1),"object"==typeof i&&(i=!1),"object"==typeof s&&(s=!1),"object"==typeof a&&(a=!1),"object"==typeof n&&(n=!1),e!==!1&&(e=parseInt(e,10)),t!==!1&&(t=parseInt(t,10)),i!==!1&&(i=parseInt(i,10)),s!==!1&&(s=parseInt(s,10)),a!==!1&&(a=parseInt(a,10)),n!==!1&&(n=""+n);var c=r[12>e?"amNames":"pmNames"][0],u=e!==parseInt(this.hour,10)||t!==parseInt(this.minute,10)||i!==parseInt(this.second,10)||s!==parseInt(this.millisec,10)||a!==parseInt(this.microsec,10)||this.ampm.length>0&&12>e!=(-1!==$.inArray(this.ampm.toUpperCase(),this.amNames))||null!==this.timezone&&n!==""+this.timezone;u&&(e!==!1&&(this.hour=e),t!==!1&&(this.minute=t),i!==!1&&(this.second=i),s!==!1&&(this.millisec=s),a!==!1&&(this.microsec=a),n!==!1&&(this.timezone=n),this.inst||(this.inst=$.datepicker._getInst(this.$input[0])),this._limitMinMaxDateTime(this.inst,!0)),this.support.ampm&&(this.ampm=c),this.formattedTime=$.datepicker.formatTime(r.timeFormat,this,r),this.$timeObj&&this.$timeObj.text(l===r.timeFormat?this.formattedTime+o:$.datepicker.formatTime(l,this,r)+o),this.timeDefined=!0,u&&this._updateDateTime()}},_onSelectHandler:function(){var e=this._defaults.onSelect||this.inst.settings.onSelect,t=this.$input?this.$input[0]:null;e&&t&&e.apply(t,[this.formattedDateTime,this])},_updateDateTime:function(e){e=this.inst||e;var t=e.currentYear>0?new Date(e.currentYear,e.currentMonth,e.currentDay):new Date(e.selectedYear,e.selectedMonth,e.selectedDay),i=$.datepicker._daylightSavingAdjust(t),s=$.datepicker._get(e,"dateFormat"),a=$.datepicker._getFormatConfig(e),n=null!==i&&this.timeDefined;this.formattedDate=$.datepicker.formatDate(s,null===i?new Date:i,a);var r=this.formattedDate;if(""===e.lastVal&&(e.currentYear=e.selectedYear,e.currentMonth=e.selectedMonth,e.currentDay=e.selectedDay),this._defaults.timeOnly===!0&&this._defaults.timeOnlyShowDate===!1?r=this.formattedTime:(this._defaults.timeOnly!==!0&&(this._defaults.alwaysSetTime||n)||this._defaults.timeOnly===!0&&this._defaults.timeOnlyShowDate===!0)&&(r+=this._defaults.separator+this.formattedTime+this._defaults.timeSuffix),this.formattedDateTime=r,this._defaults.showTimepicker)if(this.$altInput&&this._defaults.timeOnly===!1&&this._defaults.altFieldTimeOnly===!0)this.$altInput.val(this.formattedTime),this.$input.val(this.formattedDate);else if(this.$altInput){this.$input.val(r);var l="",o=null!==this._defaults.altSeparator?this._defaults.altSeparator:this._defaults.separator,c=null!==this._defaults.altTimeSuffix?this._defaults.altTimeSuffix:this._defaults.timeSuffix;this._defaults.timeOnly||(l=this._defaults.altFormat?$.datepicker.formatDate(this._defaults.altFormat,null===i?new Date:i,a):this.formattedDate,l&&(l+=o)),l+=null!==this._defaults.altTimeFormat?$.datepicker.formatTime(this._defaults.altTimeFormat,this,this._defaults)+c:this.formattedTime+c,this.$altInput.val(l)}else this.$input.val(r);else this.$input.val(this.formattedDate);this.$input.trigger("change")},_onFocus:function(){if(!this.$input.val()&&this._defaults.defaultValue){this.$input.val(this._defaults.defaultValue);var e=$.datepicker._getInst(this.$input.get(0)),t=$.datepicker._get(e,"timepicker");if(t&&t._defaults.timeOnly&&e.input.val()!==e.lastVal)try{$.datepicker._updateDatepicker(e)}catch(i){$.timepicker.log(i)}}},_controls:{slider:{create:function(e,t,i,s,a,n,r){var l=e._defaults.isRTL;return t.prop("slide",null).slider({orientation:"horizontal",value:l?-1*s:s,min:l?-1*n:a,max:l?-1*a:n,step:r,slide:function(t,s){e.control.value(e,$(this),i,l?-1*s.value:s.value),e._onTimeChange()},stop:function(){e._onSelectHandler()}})},options:function(e,t,i,s,a){if(e._defaults.isRTL){if("string"==typeof s)return"min"===s||"max"===s?void 0!==a?t.slider(s,-1*a):Math.abs(t.slider(s)):t.slider(s);var n=s.min,r=s.max;return s.min=s.max=null,void 0!==n&&(s.max=-1*n),void 0!==r&&(s.min=-1*r),t.slider(s)}return"string"==typeof s&&void 0!==a?t.slider(s,a):t.slider(s)},value:function(e,t,i,s){return e._defaults.isRTL?void 0!==s?t.slider("value",-1*s):Math.abs(t.slider("value")):void 0!==s?t.slider("value",s):t.slider("value")}},select:{create:function(e,t,i,s,a,n,r){for(var l='<select class="ui-timepicker-select ui-state-default ui-corner-all" data-unit="'+i+'" data-min="'+a+'" data-max="'+n+'" data-step="'+r+'">',o=e._defaults.pickerTimeFormat||e._defaults.timeFormat,c=a;n>=c;c+=r)l+='<option value="'+c+'"'+(c===s?" selected":"")+">",l+="hour"===i?$.datepicker.formatTime($.trim(o.replace(/[^ht ]/gi,"")),{hour:c},e._defaults):"millisec"===i||"microsec"===i||c>=10?c:"0"+c,l+="</option>";return l+="</select>",t.children("select").remove(),$(l).appendTo(t).change(function(){e._onTimeChange(),e._onSelectHandler(),e._afterInject()}),t},options:function(e,t,i,s,a){var n={},r=t.children("select");if("string"==typeof s){if(void 0===a)return r.data(s);n[s]=a}else n=s;return e.control.create(e,t,r.data("unit"),r.val(),n.min>=0?n.min:r.data("min"),n.max||r.data("max"),n.step||r.data("step"))},value:function(e,t,i,s){var a=t.children("select");return void 0!==s?a.val(s):a.val()}}}}),$.fn.extend({timepicker:function(e){e=e||{};var t=Array.prototype.slice.call(arguments);return"object"==typeof e&&(t[0]=$.extend(e,{timeOnly:!0})),$(this).each(function(){$.fn.datetimepicker.apply($(this),t)})},datetimepicker:function(e){e=e||{};var t=arguments;return"string"==typeof e?"getDate"===e||"option"===e&&2===t.length&&"string"==typeof t[1]?$.fn.datepicker.apply($(this[0]),t):this.each(function(){var e=$(this);e.datepicker.apply(e,t)}):this.each(function(){var t=$(this);t.datepicker($.timepicker._newInst(t,e)._defaults)})}}),$.datepicker.parseDateTime=function(e,t,i,s,a){var n=parseDateTimeInternal(e,t,i,s,a);if(n.timeObj){var r=n.timeObj;n.date.setHours(r.hour,r.minute,r.second,r.millisec),n.date.setMicroseconds(r.microsec)}return n.date},$.datepicker.parseTime=function(e,t,i){var s=extendRemove(extendRemove({},$.timepicker._defaults),i||{});-1!==e.replace(/\'.*?\'/g,"").indexOf("Z");var a=function(e,t,i){var s,a=function(e,t){var i=[];return e&&$.merge(i,e),t&&$.merge(i,t),i=$.map(i,function(e){return e.replace(/[.*+?|()\[\]{}\\]/g,"\\$&")}),"("+i.join("|")+")?"},n=function(e){var t=e.toLowerCase().match(/(h{1,2}|m{1,2}|s{1,2}|l{1}|c{1}|t{1,2}|z|'.*?')/g),i={h:-1,m:-1,s:-1,l:-1,c:-1,t:-1,z:-1};if(t)for(var s=0;t.length>s;s++)-1===i[(""+t[s]).charAt(0)]&&(i[(""+t[s]).charAt(0)]=s+1);return i},r="^"+(""+e).replace(/([hH]{1,2}|mm?|ss?|[tT]{1,2}|[zZ]|[lc]|'.*?')/g,function(e){var t=e.length;switch(e.charAt(0).toLowerCase()){case"h":return 1===t?"(\\d?\\d)":"(\\d{"+t+"})";case"m":return 1===t?"(\\d?\\d)":"(\\d{"+t+"})";case"s":return 1===t?"(\\d?\\d)":"(\\d{"+t+"})";case"l":return"(\\d?\\d?\\d)";case"c":return"(\\d?\\d?\\d)";case"z":return"(z|[-+]\\d\\d:?\\d\\d|\\S+)?";case"t":return a(i.amNames,i.pmNames);default:return"("+e.replace(/\'/g,"").replace(/(\.|\$|\^|\\|\/|\(|\)|\[|\]|\?|\+|\*)/g,function(e){return"\\"+e})+")?"}}).replace(/\s/g,"\\s?")+i.timeSuffix+"$",l=n(e),o="";s=t.match(RegExp(r,"i"));var c={hour:0,minute:0,second:0,millisec:0,microsec:0};return s?(-1!==l.t&&(void 0===s[l.t]||0===s[l.t].length?(o="",c.ampm=""):(o=-1!==$.inArray(s[l.t].toUpperCase(),$.map(i.amNames,function(e){return e.toUpperCase()}))?"AM":"PM",c.ampm=i["AM"===o?"amNames":"pmNames"][0])),-1!==l.h&&(c.hour="AM"===o&&"12"===s[l.h]?0:"PM"===o&&"12"!==s[l.h]?parseInt(s[l.h],10)+12:Number(s[l.h])),-1!==l.m&&(c.minute=Number(s[l.m])),-1!==l.s&&(c.second=Number(s[l.s])),-1!==l.l&&(c.millisec=Number(s[l.l])),-1!==l.c&&(c.microsec=Number(s[l.c])),-1!==l.z&&void 0!==s[l.z]&&(c.timezone=$.timepicker.timezoneOffsetNumber(s[l.z])),c):!1},n=function(e,t,i){try{var s=new Date("2012-01-01 "+t);if(isNaN(s.getTime())&&(s=new Date("2012-01-01T"+t),isNaN(s.getTime())&&(s=new Date("01/01/2012 "+t),isNaN(s.getTime()))))throw"Unable to parse time with native Date: "+t;return{hour:s.getHours(),minute:s.getMinutes(),second:s.getSeconds(),millisec:s.getMilliseconds(),microsec:s.getMicroseconds(),timezone:-1*s.getTimezoneOffset()}}catch(n){try{return a(e,t,i)}catch(r){$.timepicker.log("Unable to parse \ntimeString: "+t+"\ntimeFormat: "+e)}}return!1};return"function"==typeof s.parse?s.parse(e,t,s):"loose"===s.parse?n(e,t,s):a(e,t,s)},$.datepicker.formatTime=function(e,t,i){i=i||{},i=$.extend({},$.timepicker._defaults,i),t=$.extend({hour:0,minute:0,second:0,millisec:0,microsec:0,timezone:null},t);var s=e,a=i.amNames[0],n=parseInt(t.hour,10);return n>11&&(a=i.pmNames[0]),s=s.replace(/(?:HH?|hh?|mm?|ss?|[tT]{1,2}|[zZ]|[lc]|'.*?')/g,function(e){switch(e){case"HH":return("0"+n).slice(-2);case"H":return n;case"hh":return("0"+convert24to12(n)).slice(-2);case"h":return convert24to12(n);case"mm":return("0"+t.minute).slice(-2);case"m":return t.minute;case"ss":return("0"+t.second).slice(-2);case"s":return t.second;case"l":return("00"+t.millisec).slice(-3);case"c":return("00"+t.microsec).slice(-3);case"z":return $.timepicker.timezoneOffsetString(null===t.timezone?i.timezone:t.timezone,!1);case"Z":return $.timepicker.timezoneOffsetString(null===t.timezone?i.timezone:t.timezone,!0);case"T":return a.charAt(0).toUpperCase();case"TT":return a.toUpperCase();case"t":return a.charAt(0).toLowerCase();case"tt":return a.toLowerCase();default:return e.replace(/'/g,"")}})},$.datepicker._base_selectDate=$.datepicker._selectDate,$.datepicker._selectDate=function(e,t){var i,s=this._getInst($(e)[0]),a=this._get(s,"timepicker");a&&s.settings.showTimepicker?(a._limitMinMaxDateTime(s,!0),i=s.inline,s.inline=s.stay_open=!0,this._base_selectDate(e,t),s.inline=i,s.stay_open=!1,this._notifyChange(s),this._updateDatepicker(s)):this._base_selectDate(e,t)},$.datepicker._base_updateDatepicker=$.datepicker._updateDatepicker,$.datepicker._updateDatepicker=function(e){var t=e.input[0];if(!($.datepicker._curInst&&$.datepicker._curInst!==e&&$.datepicker._datepickerShowing&&$.datepicker._lastInput!==t||"boolean"==typeof e.stay_open&&e.stay_open!==!1)){this._base_updateDatepicker(e);var i=this._get(e,"timepicker");i&&i._addTimePicker(e)}},$.datepicker._base_doKeyPress=$.datepicker._doKeyPress,$.datepicker._doKeyPress=function(e){var t=$.datepicker._getInst(e.target),i=$.datepicker._get(t,"timepicker");if(i&&$.datepicker._get(t,"constrainInput")){var s=i.support.ampm,a=null!==i._defaults.showTimezone?i._defaults.showTimezone:i.support.timezone,n=$.datepicker._possibleChars($.datepicker._get(t,"dateFormat")),r=(""+i._defaults.timeFormat).replace(/[hms]/g,"").replace(/TT/g,s?"APM":"").replace(/Tt/g,s?"AaPpMm":"").replace(/tT/g,s?"AaPpMm":"").replace(/T/g,s?"AP":"").replace(/tt/g,s?"apm":"").replace(/t/g,s?"ap":"")+" "+i._defaults.separator+i._defaults.timeSuffix+(a?i._defaults.timezoneList.join(""):"")+i._defaults.amNames.join("")+i._defaults.pmNames.join("")+n,l=String.fromCharCode(void 0===e.charCode?e.keyCode:e.charCode);return e.ctrlKey||" ">l||!n||r.indexOf(l)>-1}return $.datepicker._base_doKeyPress(e)},$.datepicker._base_updateAlternate=$.datepicker._updateAlternate,$.datepicker._updateAlternate=function(e){var t=this._get(e,"timepicker");if(t){var i=t._defaults.altField;if(i){var s=(t._defaults.altFormat||t._defaults.dateFormat,this._getDate(e)),a=$.datepicker._getFormatConfig(e),n="",r=t._defaults.altSeparator?t._defaults.altSeparator:t._defaults.separator,l=t._defaults.altTimeSuffix?t._defaults.altTimeSuffix:t._defaults.timeSuffix,o=null!==t._defaults.altTimeFormat?t._defaults.altTimeFormat:t._defaults.timeFormat;n+=$.datepicker.formatTime(o,t,t._defaults)+l,t._defaults.timeOnly||t._defaults.altFieldTimeOnly||null===s||(n=t._defaults.altFormat?$.datepicker.formatDate(t._defaults.altFormat,s,a)+r+n:t.formattedDate+r+n),$(i).val(e.input.val()?n:"")}}else $.datepicker._base_updateAlternate(e)},$.datepicker._base_doKeyUp=$.datepicker._doKeyUp,$.datepicker._doKeyUp=function(e){var t=$.datepicker._getInst(e.target),i=$.datepicker._get(t,"timepicker");if(i&&i._defaults.timeOnly&&t.input.val()!==t.lastVal)try{$.datepicker._updateDatepicker(t)}catch(s){$.timepicker.log(s)}return $.datepicker._base_doKeyUp(e)},$.datepicker._base_gotoToday=$.datepicker._gotoToday,$.datepicker._gotoToday=function(e){var t=this._getInst($(e)[0]);t.dpDiv;var i=this._get(t,"timepicker");selectLocalTimezone(i);var s=new Date;this._setTime(t,s),this._setDate(t,s),this._base_gotoToday(e)},$.datepicker._disableTimepickerDatepicker=function(e){var t=this._getInst(e);if(t){var i=this._get(t,"timepicker");$(e).datepicker("getDate"),i&&(t.settings.showTimepicker=!1,i._defaults.showTimepicker=!1,i._updateDateTime(t))
2
- }},$.datepicker._enableTimepickerDatepicker=function(e){var t=this._getInst(e);if(t){var i=this._get(t,"timepicker");$(e).datepicker("getDate"),i&&(t.settings.showTimepicker=!0,i._defaults.showTimepicker=!0,i._addTimePicker(t),i._updateDateTime(t))}},$.datepicker._setTime=function(e,t){var i=this._get(e,"timepicker");if(i){var s=i._defaults;i.hour=t?t.getHours():s.hour,i.minute=t?t.getMinutes():s.minute,i.second=t?t.getSeconds():s.second,i.millisec=t?t.getMilliseconds():s.millisec,i.microsec=t?t.getMicroseconds():s.microsec,i._limitMinMaxDateTime(e,!0),i._onTimeChange(),i._updateDateTime(e)}},$.datepicker._setTimeDatepicker=function(e,t,i){var s=this._getInst(e);if(s){var a=this._get(s,"timepicker");if(a){this._setDateFromField(s);var n;t&&("string"==typeof t?(a._parseTime(t,i),n=new Date,n.setHours(a.hour,a.minute,a.second,a.millisec),n.setMicroseconds(a.microsec)):(n=new Date(t.getTime()),n.setMicroseconds(t.getMicroseconds())),"Invalid Date"==""+n&&(n=void 0),this._setTime(s,n))}}},$.datepicker._base_setDateDatepicker=$.datepicker._setDateDatepicker,$.datepicker._setDateDatepicker=function(e,t){var i=this._getInst(e),s=t;if(i){"string"==typeof t&&(s=new Date(t),s.getTime()||(this._base_setDateDatepicker.apply(this,arguments),s=$(e).datepicker("getDate")));var a,n=this._get(i,"timepicker");s instanceof Date?(a=new Date(s.getTime()),a.setMicroseconds(s.getMicroseconds())):a=s,n&&a&&(n.support.timezone||null!==n._defaults.timezone||(n.timezone=-1*a.getTimezoneOffset()),s=$.timepicker.timezoneAdjust(s,n.timezone),a=$.timepicker.timezoneAdjust(a,n.timezone)),this._updateDatepicker(i),this._base_setDateDatepicker.apply(this,arguments),this._setTimeDatepicker(e,a,!0)}},$.datepicker._base_getDateDatepicker=$.datepicker._getDateDatepicker,$.datepicker._getDateDatepicker=function(e,t){var i=this._getInst(e);if(i){var s=this._get(i,"timepicker");if(s){void 0===i.lastVal&&this._setDateFromField(i,t);var a=this._getDate(i),n=$.trim(s.$altInput&&s._defaults.altFieldTimeOnly?s.$input.val()+" "+s.$altInput.val():s.$input.val());return a&&s._parseTime(n,!i.settings.timeOnly)&&(a.setHours(s.hour,s.minute,s.second,s.millisec),a.setMicroseconds(s.microsec),null!=s.timezone&&(s.support.timezone||null!==s._defaults.timezone||(s.timezone=-1*a.getTimezoneOffset()),a=$.timepicker.timezoneAdjust(a,s.timezone))),a}return this._base_getDateDatepicker(e,t)}},$.datepicker._base_parseDate=$.datepicker.parseDate,$.datepicker.parseDate=function(e,t,i){var s;try{s=this._base_parseDate(e,t,i)}catch(a){if(!(a.indexOf(":")>=0))throw a;s=this._base_parseDate(e,t.substring(0,t.length-(a.length-a.indexOf(":")-2)),i),$.timepicker.log("Error parsing the date string: "+a+"\ndate string = "+t+"\ndate format = "+e)}return s},$.datepicker._base_formatDate=$.datepicker._formatDate,$.datepicker._formatDate=function(e){var t=this._get(e,"timepicker");return t?(t._updateDateTime(e),t.$input.val()):this._base_formatDate(e)},$.datepicker._base_optionDatepicker=$.datepicker._optionDatepicker,$.datepicker._optionDatepicker=function(e,t,i){var s,a=this._getInst(e);if(!a)return null;var n=this._get(a,"timepicker");if(n){var r,l,o,c,u=null,m=null,d=null,h=n._defaults.evnts,p={};if("string"==typeof t){if("minDate"===t||"minDateTime"===t)u=i;else if("maxDate"===t||"maxDateTime"===t)m=i;else if("onSelect"===t)d=i;else if(h.hasOwnProperty(t)){if(void 0===i)return h[t];p[t]=i,s={}}}else if("object"==typeof t){t.minDate?u=t.minDate:t.minDateTime?u=t.minDateTime:t.maxDate?m=t.maxDate:t.maxDateTime&&(m=t.maxDateTime);for(r in h)h.hasOwnProperty(r)&&t[r]&&(p[r]=t[r])}for(r in p)p.hasOwnProperty(r)&&(h[r]=p[r],s||(s=$.extend({},t)),delete s[r]);if(s&&isEmptyObject(s))return;if(u?(u=0===u?new Date:new Date(u),n._defaults.minDate=u,n._defaults.minDateTime=u):m?(m=0===m?new Date:new Date(m),n._defaults.maxDate=m,n._defaults.maxDateTime=m):d&&(n._defaults.onSelect=d),u||m)return c=$(e),o=c.datetimepicker("getDate"),l=this._base_optionDatepicker.call($.datepicker,e,s||t,i),c.datetimepicker("setDate",o),l}return void 0===i?this._base_optionDatepicker.call($.datepicker,e,t):this._base_optionDatepicker.call($.datepicker,e,s||t,i)};var isEmptyObject=function(e){var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0},extendRemove=function(e,t){$.extend(e,t);for(var i in t)(null===t[i]||void 0===t[i])&&(e[i]=t[i]);return e},detectSupport=function(e){var t=e.replace(/'.*?'/g,"").toLowerCase(),i=function(e,t){return-1!==e.indexOf(t)?!0:!1};return{hour:i(t,"h"),minute:i(t,"m"),second:i(t,"s"),millisec:i(t,"l"),microsec:i(t,"c"),timezone:i(t,"z"),ampm:i(t,"t")&&i(e,"h"),iso8601:i(e,"Z")}},convert24to12=function(e){return e%=12,0===e&&(e=12),e+""},computeEffectiveSetting=function(e,t){return e&&e[t]?e[t]:$.timepicker._defaults[t]},splitDateTime=function(e,t){var i=computeEffectiveSetting(t,"separator"),s=computeEffectiveSetting(t,"timeFormat"),a=s.split(i),n=a.length,r=e.split(i),l=r.length;return l>1?{dateString:r.splice(0,l-n).join(i),timeString:r.splice(0,n).join(i)}:{dateString:e,timeString:""}},parseDateTimeInternal=function(e,t,i,s,a){var n,r,l;if(r=splitDateTime(i,a),n=$.datepicker._base_parseDate(e,r.dateString,s),""===r.timeString)return{date:n};if(l=$.datepicker.parseTime(t,r.timeString,a),!l)throw"Wrong time format";return{date:n,timeObj:l}},selectLocalTimezone=function(e,t){if(e&&e.timezone_select){var i=t||new Date;e.timezone_select.val(-i.getTimezoneOffset())}};$.timepicker=new Timepicker,$.timepicker.timezoneOffsetString=function(e,t){if(isNaN(e)||e>840||-720>e)return e;var i=e,s=i%60,a=(i-s)/60,n=t?":":"",r=(i>=0?"+":"-")+("0"+Math.abs(a)).slice(-2)+n+("0"+Math.abs(s)).slice(-2);return"+00:00"===r?"Z":r},$.timepicker.timezoneOffsetNumber=function(e){var t=(""+e).replace(":","");return"Z"===t.toUpperCase()?0:/^(\-|\+)\d{4}$/.test(t)?("-"===t.substr(0,1)?-1:1)*(60*parseInt(t.substr(1,2),10)+parseInt(t.substr(3,2),10)):e},$.timepicker.timezoneAdjust=function(e,t){var i=$.timepicker.timezoneOffsetNumber(t);return isNaN(i)||e.setMinutes(e.getMinutes()+-e.getTimezoneOffset()-i),e},$.timepicker.timeRange=function(e,t,i){return $.timepicker.handleRange("timepicker",e,t,i)},$.timepicker.datetimeRange=function(e,t,i){$.timepicker.handleRange("datetimepicker",e,t,i)},$.timepicker.dateRange=function(e,t,i){$.timepicker.handleRange("datepicker",e,t,i)},$.timepicker.handleRange=function(e,t,i,s){function a(a,n){var r=t[e]("getDate"),l=i[e]("getDate"),o=a[e]("getDate");if(null!==r){var c=new Date(r.getTime()),u=new Date(r.getTime());c.setMilliseconds(c.getMilliseconds()+s.minInterval),u.setMilliseconds(u.getMilliseconds()+s.maxInterval),s.minInterval>0&&c>l?i[e]("setDate",c):s.maxInterval>0&&l>u?i[e]("setDate",u):r>l&&n[e]("setDate",o)}}function n(t,i,a){if(t.val()){var n=t[e].call(t,"getDate");null!==n&&s.minInterval>0&&("minDate"===a&&n.setMilliseconds(n.getMilliseconds()+s.minInterval),"maxDate"===a&&n.setMilliseconds(n.getMilliseconds()-s.minInterval)),n.getTime&&i[e].call(i,"option",a,n)}}s=$.extend({},{minInterval:0,maxInterval:0,start:{},end:{}},s);var r=!1;return"timepicker"===e&&(r=!0,e="datetimepicker"),$.fn[e].call(t,$.extend({timeOnly:r,onClose:function(){a($(this),i)},onSelect:function(){n($(this),i,"minDate")}},s,s.start)),$.fn[e].call(i,$.extend({timeOnly:r,onClose:function(){a($(this),t)},onSelect:function(){n($(this),t,"maxDate")}},s,s.end)),a(t,i),n(t,i,"minDate"),n(i,t,"maxDate"),$([t.get(0),i.get(0)])},$.timepicker.log=function(){window.console&&window.console.log.apply(window.console,Array.prototype.slice.call(arguments))},$.timepicker._util={_extendRemove:extendRemove,_isEmptyObject:isEmptyObject,_convert24to12:convert24to12,_detectSupport:detectSupport,_selectLocalTimezone:selectLocalTimezone,_computeEffectiveSetting:computeEffectiveSetting,_splitDateTime:splitDateTime,_parseDateTimeInternal:parseDateTimeInternal},Date.prototype.getMicroseconds||(Date.prototype.microseconds=0,Date.prototype.getMicroseconds=function(){return this.microseconds},Date.prototype.setMicroseconds=function(e){return this.setMilliseconds(this.getMilliseconds()+Math.floor(e/1e3)),this.microseconds=e%1e3,this}),$.timepicker.version="1.5.5"}});
1
+ !function(e){"function"==typeof define&&define.amd?define(["jquery","jquery.ui"],e):e(jQuery)}(function($){if($.ui.timepicker=$.ui.timepicker||{},!$.ui.timepicker.version){$.extend($.ui,{timepicker:{version:"1.5.5"}});var Timepicker=function(){this.regional=[],this.regional[""]={currentText:"Now",closeText:"Done",amNames:["AM","A"],pmNames:["PM","P"],timeFormat:"HH:mm",timeSuffix:"",timeOnlyTitle:"Choose Time",timeText:"Time",hourText:"Hour",minuteText:"Minute",secondText:"Second",millisecText:"Millisecond",microsecText:"Microsecond",timezoneText:"Time Zone",isRTL:!1},this._defaults={showButtonPanel:!0,timeOnly:!1,timeOnlyShowDate:!1,showHour:null,showMinute:null,showSecond:null,showMillisec:null,showMicrosec:null,showTimezone:null,showTime:!0,stepHour:1,stepMinute:1,stepSecond:1,stepMillisec:1,stepMicrosec:1,hour:0,minute:0,second:0,millisec:0,microsec:0,timezone:null,hourMin:0,minuteMin:0,secondMin:0,millisecMin:0,microsecMin:0,hourMax:23,minuteMax:59,secondMax:59,millisecMax:999,microsecMax:999,minDateTime:null,maxDateTime:null,maxTime:null,minTime:null,onSelect:null,hourGrid:0,minuteGrid:0,secondGrid:0,millisecGrid:0,microsecGrid:0,alwaysSetTime:!0,separator:" ",altFieldTimeOnly:!0,altTimeFormat:null,altSeparator:null,altTimeSuffix:null,altRedirectFocus:!0,pickerTimeFormat:null,pickerTimeSuffix:null,showTimepicker:!0,timezoneList:null,addSliderAccess:!1,sliderAccessArgs:null,controlType:"slider",oneLine:!1,defaultValue:null,parse:"strict",afterInject:null},$.extend(this._defaults,this.regional[""])};$.extend(Timepicker.prototype,{$input:null,$altInput:null,$timeObj:null,inst:null,hour_slider:null,minute_slider:null,second_slider:null,millisec_slider:null,microsec_slider:null,timezone_select:null,maxTime:null,minTime:null,hour:0,minute:0,second:0,millisec:0,microsec:0,timezone:null,hourMinOriginal:null,minuteMinOriginal:null,secondMinOriginal:null,millisecMinOriginal:null,microsecMinOriginal:null,hourMaxOriginal:null,minuteMaxOriginal:null,secondMaxOriginal:null,millisecMaxOriginal:null,microsecMaxOriginal:null,ampm:"",formattedDate:"",formattedTime:"",formattedDateTime:"",timezoneList:null,units:["hour","minute","second","millisec","microsec"],support:{},control:null,setDefaults:function(e){return extendRemove(this._defaults,e||{}),this},_newInst:function($input,opts){var tp_inst=new Timepicker,inlineSettings={},fns={},overrides,i;for(var attrName in this._defaults)if(this._defaults.hasOwnProperty(attrName)){var attrValue=$input.attr("time:"+attrName);if(attrValue)try{inlineSettings[attrName]=eval(attrValue)}catch(err){inlineSettings[attrName]=attrValue}}overrides={beforeShow:function(e,t){return $.isFunction(tp_inst._defaults.evnts.beforeShow)?tp_inst._defaults.evnts.beforeShow.call($input[0],e,t,tp_inst):void 0},onChangeMonthYear:function(e,t,i){$.isFunction(tp_inst._defaults.evnts.onChangeMonthYear)&&tp_inst._defaults.evnts.onChangeMonthYear.call($input[0],e,t,i,tp_inst)},onClose:function(e,t){tp_inst.timeDefined===!0&&""!==$input.val()&&tp_inst._updateDateTime(t),$.isFunction(tp_inst._defaults.evnts.onClose)&&tp_inst._defaults.evnts.onClose.call($input[0],e,t,tp_inst)}};for(i in overrides)overrides.hasOwnProperty(i)&&(fns[i]=opts[i]||this._defaults[i]||null);tp_inst._defaults=$.extend({},this._defaults,inlineSettings,opts,overrides,{evnts:fns,timepicker:tp_inst}),tp_inst.amNames=$.map(tp_inst._defaults.amNames,function(e){return e.toUpperCase()}),tp_inst.pmNames=$.map(tp_inst._defaults.pmNames,function(e){return e.toUpperCase()}),tp_inst.support=detectSupport(tp_inst._defaults.timeFormat+(tp_inst._defaults.pickerTimeFormat?tp_inst._defaults.pickerTimeFormat:"")+(tp_inst._defaults.altTimeFormat?tp_inst._defaults.altTimeFormat:"")),"string"==typeof tp_inst._defaults.controlType?("slider"===tp_inst._defaults.controlType&&void 0===$.ui.slider&&(tp_inst._defaults.controlType="select"),tp_inst.control=tp_inst._controls[tp_inst._defaults.controlType]):tp_inst.control=tp_inst._defaults.controlType;var timezoneList=[-720,-660,-600,-570,-540,-480,-420,-360,-300,-270,-240,-210,-180,-120,-60,0,60,120,180,210,240,270,300,330,345,360,390,420,480,525,540,570,600,630,660,690,720,765,780,840];null!==tp_inst._defaults.timezoneList&&(timezoneList=tp_inst._defaults.timezoneList);var tzl=timezoneList.length,tzi=0,tzv=null;if(tzl>0&&"object"!=typeof timezoneList[0])for(;tzl>tzi;tzi++)tzv=timezoneList[tzi],timezoneList[tzi]={value:tzv,label:$.timepicker.timezoneOffsetString(tzv,tp_inst.support.iso8601)};return tp_inst._defaults.timezoneList=timezoneList,tp_inst.timezone=null!==tp_inst._defaults.timezone?$.timepicker.timezoneOffsetNumber(tp_inst._defaults.timezone):-1*(new Date).getTimezoneOffset(),tp_inst.hour=tp_inst._defaults.hour<tp_inst._defaults.hourMin?tp_inst._defaults.hourMin:tp_inst._defaults.hour>tp_inst._defaults.hourMax?tp_inst._defaults.hourMax:tp_inst._defaults.hour,tp_inst.minute=tp_inst._defaults.minute<tp_inst._defaults.minuteMin?tp_inst._defaults.minuteMin:tp_inst._defaults.minute>tp_inst._defaults.minuteMax?tp_inst._defaults.minuteMax:tp_inst._defaults.minute,tp_inst.second=tp_inst._defaults.second<tp_inst._defaults.secondMin?tp_inst._defaults.secondMin:tp_inst._defaults.second>tp_inst._defaults.secondMax?tp_inst._defaults.secondMax:tp_inst._defaults.second,tp_inst.millisec=tp_inst._defaults.millisec<tp_inst._defaults.millisecMin?tp_inst._defaults.millisecMin:tp_inst._defaults.millisec>tp_inst._defaults.millisecMax?tp_inst._defaults.millisecMax:tp_inst._defaults.millisec,tp_inst.microsec=tp_inst._defaults.microsec<tp_inst._defaults.microsecMin?tp_inst._defaults.microsecMin:tp_inst._defaults.microsec>tp_inst._defaults.microsecMax?tp_inst._defaults.microsecMax:tp_inst._defaults.microsec,tp_inst.ampm="",tp_inst.$input=$input,tp_inst._defaults.altField&&(tp_inst.$altInput=$(tp_inst._defaults.altField),tp_inst._defaults.altRedirectFocus===!0&&tp_inst.$altInput.css({cursor:"pointer"}).focus(function(){$input.trigger("focus")})),(0===tp_inst._defaults.minDate||0===tp_inst._defaults.minDateTime)&&(tp_inst._defaults.minDate=new Date),(0===tp_inst._defaults.maxDate||0===tp_inst._defaults.maxDateTime)&&(tp_inst._defaults.maxDate=new Date),void 0!==tp_inst._defaults.minDate&&tp_inst._defaults.minDate instanceof Date&&(tp_inst._defaults.minDateTime=new Date(tp_inst._defaults.minDate.getTime())),void 0!==tp_inst._defaults.minDateTime&&tp_inst._defaults.minDateTime instanceof Date&&(tp_inst._defaults.minDate=new Date(tp_inst._defaults.minDateTime.getTime())),void 0!==tp_inst._defaults.maxDate&&tp_inst._defaults.maxDate instanceof Date&&(tp_inst._defaults.maxDateTime=new Date(tp_inst._defaults.maxDate.getTime())),void 0!==tp_inst._defaults.maxDateTime&&tp_inst._defaults.maxDateTime instanceof Date&&(tp_inst._defaults.maxDate=new Date(tp_inst._defaults.maxDateTime.getTime())),tp_inst.$input.bind("focus",function(){tp_inst._onFocus()}),tp_inst},_addTimePicker:function(e){var t=$.trim(this.$altInput&&this._defaults.altFieldTimeOnly?this.$input.val()+" "+this.$altInput.val():this.$input.val());this.timeDefined=this._parseTime(t),this._limitMinMaxDateTime(e,!1),this._injectTimePicker(),this._afterInject()},_parseTime:function(e,t){if(this.inst||(this.inst=$.datepicker._getInst(this.$input[0])),t||!this._defaults.timeOnly){var i=$.datepicker._get(this.inst,"dateFormat");try{var s=parseDateTimeInternal(i,this._defaults.timeFormat,e,$.datepicker._getFormatConfig(this.inst),this._defaults);if(!s.timeObj)return!1;$.extend(this,s.timeObj)}catch(a){return $.timepicker.log("Error parsing the date/time string: "+a+"\ndate/time string = "+e+"\ntimeFormat = "+this._defaults.timeFormat+"\ndateFormat = "+i),!1}return!0}var n=$.datepicker.parseTime(this._defaults.timeFormat,e,this._defaults);return n?($.extend(this,n),!0):!1},_afterInject:function(){var e=this.inst.settings;$.isFunction(e.afterInject)&&e.afterInject.call(this)},_injectTimePicker:function(){var e=this.inst.dpDiv,t=this.inst.settings,i=this,s="",a="",n=null,r={},l={},o=null,c=0,u=0;if(0===e.find("div.ui-timepicker-div").length&&t.showTimepicker){var m=" ui_tpicker_unit_hide",d='<div class="ui-timepicker-div'+(t.isRTL?" ui-timepicker-rtl":"")+(t.oneLine&&"select"===t.controlType?" ui-timepicker-oneLine":"")+'"><dl><dt class="ui_tpicker_time_label'+(t.showTime?"":m)+'">'+t.timeText+'</dt><dd class="ui_tpicker_time '+(t.showTime?"":m)+'"></dd>';for(c=0,u=this.units.length;u>c;c++){if(s=this.units[c],a=s.substr(0,1).toUpperCase()+s.substr(1),n=null!==t["show"+a]?t["show"+a]:this.support[s],r[s]=parseInt(t[s+"Max"]-(t[s+"Max"]-t[s+"Min"])%t["step"+a],10),l[s]=0,d+='<dt class="ui_tpicker_'+s+"_label"+(n?"":m)+'">'+t[s+"Text"]+'</dt><dd class="ui_tpicker_'+s+(n?"":m)+'"><div class="ui_tpicker_'+s+"_slider"+(n?"":m)+'"></div>',n&&t[s+"Grid"]>0){if(d+='<div style="padding-left: 1px"><table class="ui-tpicker-grid-label"><tr>',"hour"===s)for(var h=t[s+"Min"];r[s]>=h;h+=parseInt(t[s+"Grid"],10)){l[s]++;var p=$.datepicker.formatTime(this.support.ampm?"hht":"HH",{hour:h},t);d+='<td data-for="'+s+'">'+p+"</td>"}else for(var _=t[s+"Min"];r[s]>=_;_+=parseInt(t[s+"Grid"],10))l[s]++,d+='<td data-for="'+s+'">'+(10>_?"0":"")+_+"</td>";d+="</tr></table></div>"}d+="</dd>"}var f=null!==t.showTimezone?t.showTimezone:this.support.timezone;d+='<dt class="ui_tpicker_timezone_label'+(f?"":m)+'">'+t.timezoneText+"</dt>",d+='<dd class="ui_tpicker_timezone'+(f?"":m)+'"></dd>',d+="</dl></div>";var g=$(d);for(t.timeOnly===!0&&(g.prepend('<div class="ui-widget-header ui-helper-clearfix ui-corner-all"><div class="ui-datepicker-title">'+t.timeOnlyTitle+"</div></div>"),e.find(".ui-datepicker-header, .ui-datepicker-calendar").hide()),c=0,u=i.units.length;u>c;c++)s=i.units[c],a=s.substr(0,1).toUpperCase()+s.substr(1),n=null!==t["show"+a]?t["show"+a]:this.support[s],i[s+"_slider"]=i.control.create(i,g.find(".ui_tpicker_"+s+"_slider"),s,i[s],t[s+"Min"],r[s],t["step"+a]),n&&t[s+"Grid"]>0&&(o=100*l[s]*t[s+"Grid"]/(r[s]-t[s+"Min"]),g.find(".ui_tpicker_"+s+" table").css({width:o+"%",marginLeft:t.isRTL?"0":o/(-2*l[s])+"%",marginRight:t.isRTL?o/(-2*l[s])+"%":"0",borderCollapse:"collapse"}).find("td").click(function(){var e=$(this),t=e.html(),a=parseInt(t.replace(/[^0-9]/g),10),n=t.replace(/[^apm]/gi),r=e.data("for");"hour"===r&&(-1!==n.indexOf("p")&&12>a?a+=12:-1!==n.indexOf("a")&&12===a&&(a=0)),i.control.value(i,i[r+"_slider"],s,a),i._onTimeChange(),i._onSelectHandler()}).css({cursor:"pointer",width:100/l[s]+"%",textAlign:"center",overflow:"hidden"}));if(this.timezone_select=g.find(".ui_tpicker_timezone").append("<select></select>").find("select"),$.fn.append.apply(this.timezone_select,$.map(t.timezoneList,function(e){return $("<option />").val("object"==typeof e?e.value:e).text("object"==typeof e?e.label:e)})),void 0!==this.timezone&&null!==this.timezone&&""!==this.timezone){var M=-1*new Date(this.inst.selectedYear,this.inst.selectedMonth,this.inst.selectedDay,12).getTimezoneOffset();M===this.timezone?selectLocalTimezone(i):this.timezone_select.val(this.timezone)}else void 0!==this.hour&&null!==this.hour&&""!==this.hour?this.timezone_select.val(t.timezone):selectLocalTimezone(i);this.timezone_select.change(function(){i._onTimeChange(),i._onSelectHandler(),i._afterInject()});var v=e.find(".ui-datepicker-buttonpane");if(v.length?v.before(g):e.append(g),this.$timeObj=g.find(".ui_tpicker_time"),null!==this.inst){var k=this.timeDefined;this._onTimeChange(),this.timeDefined=k}if(this._defaults.addSliderAccess){var T=this._defaults.sliderAccessArgs,D=this._defaults.isRTL;T.isRTL=D,setTimeout(function(){if(0===g.find(".ui-slider-access").length){g.find(".ui-slider:visible").sliderAccess(T);var e=g.find(".ui-slider-access:eq(0)").outerWidth(!0);e&&g.find("table:visible").each(function(){var t=$(this),i=t.outerWidth(),s=(""+t.css(D?"marginRight":"marginLeft")).replace("%",""),a=i-e,n=s*a/i+"%",r={width:a,marginRight:0,marginLeft:0};r[D?"marginRight":"marginLeft"]=n,t.css(r)})}},10)}i._limitMinMaxDateTime(this.inst,!0)}},_limitMinMaxDateTime:function(e,t){var i=this._defaults,s=new Date(e.selectedYear,e.selectedMonth,e.selectedDay);if(this._defaults.showTimepicker){if(null!==$.datepicker._get(e,"minDateTime")&&void 0!==$.datepicker._get(e,"minDateTime")&&s){var a=$.datepicker._get(e,"minDateTime"),n=new Date(a.getFullYear(),a.getMonth(),a.getDate(),0,0,0,0);(null===this.hourMinOriginal||null===this.minuteMinOriginal||null===this.secondMinOriginal||null===this.millisecMinOriginal||null===this.microsecMinOriginal)&&(this.hourMinOriginal=i.hourMin,this.minuteMinOriginal=i.minuteMin,this.secondMinOriginal=i.secondMin,this.millisecMinOriginal=i.millisecMin,this.microsecMinOriginal=i.microsecMin),e.settings.timeOnly||n.getTime()===s.getTime()?(this._defaults.hourMin=a.getHours(),this.hour<=this._defaults.hourMin?(this.hour=this._defaults.hourMin,this._defaults.minuteMin=a.getMinutes(),this.minute<=this._defaults.minuteMin?(this.minute=this._defaults.minuteMin,this._defaults.secondMin=a.getSeconds(),this.second<=this._defaults.secondMin?(this.second=this._defaults.secondMin,this._defaults.millisecMin=a.getMilliseconds(),this.millisec<=this._defaults.millisecMin?(this.millisec=this._defaults.millisecMin,this._defaults.microsecMin=a.getMicroseconds()):(this.microsec<this._defaults.microsecMin&&(this.microsec=this._defaults.microsecMin),this._defaults.microsecMin=this.microsecMinOriginal)):(this._defaults.millisecMin=this.millisecMinOriginal,this._defaults.microsecMin=this.microsecMinOriginal)):(this._defaults.secondMin=this.secondMinOriginal,this._defaults.millisecMin=this.millisecMinOriginal,this._defaults.microsecMin=this.microsecMinOriginal)):(this._defaults.minuteMin=this.minuteMinOriginal,this._defaults.secondMin=this.secondMinOriginal,this._defaults.millisecMin=this.millisecMinOriginal,this._defaults.microsecMin=this.microsecMinOriginal)):(this._defaults.hourMin=this.hourMinOriginal,this._defaults.minuteMin=this.minuteMinOriginal,this._defaults.secondMin=this.secondMinOriginal,this._defaults.millisecMin=this.millisecMinOriginal,this._defaults.microsecMin=this.microsecMinOriginal)}if(null!==$.datepicker._get(e,"maxDateTime")&&void 0!==$.datepicker._get(e,"maxDateTime")&&s){var r=$.datepicker._get(e,"maxDateTime"),l=new Date(r.getFullYear(),r.getMonth(),r.getDate(),0,0,0,0);(null===this.hourMaxOriginal||null===this.minuteMaxOriginal||null===this.secondMaxOriginal||null===this.millisecMaxOriginal)&&(this.hourMaxOriginal=i.hourMax,this.minuteMaxOriginal=i.minuteMax,this.secondMaxOriginal=i.secondMax,this.millisecMaxOriginal=i.millisecMax,this.microsecMaxOriginal=i.microsecMax),e.settings.timeOnly||l.getTime()===s.getTime()?(this._defaults.hourMax=r.getHours(),this.hour>=this._defaults.hourMax?(this.hour=this._defaults.hourMax,this._defaults.minuteMax=r.getMinutes(),this.minute>=this._defaults.minuteMax?(this.minute=this._defaults.minuteMax,this._defaults.secondMax=r.getSeconds(),this.second>=this._defaults.secondMax?(this.second=this._defaults.secondMax,this._defaults.millisecMax=r.getMilliseconds(),this.millisec>=this._defaults.millisecMax?(this.millisec=this._defaults.millisecMax,this._defaults.microsecMax=r.getMicroseconds()):(this.microsec>this._defaults.microsecMax&&(this.microsec=this._defaults.microsecMax),this._defaults.microsecMax=this.microsecMaxOriginal)):(this._defaults.millisecMax=this.millisecMaxOriginal,this._defaults.microsecMax=this.microsecMaxOriginal)):(this._defaults.secondMax=this.secondMaxOriginal,this._defaults.millisecMax=this.millisecMaxOriginal,this._defaults.microsecMax=this.microsecMaxOriginal)):(this._defaults.minuteMax=this.minuteMaxOriginal,this._defaults.secondMax=this.secondMaxOriginal,this._defaults.millisecMax=this.millisecMaxOriginal,this._defaults.microsecMax=this.microsecMaxOriginal)):(this._defaults.hourMax=this.hourMaxOriginal,this._defaults.minuteMax=this.minuteMaxOriginal,this._defaults.secondMax=this.secondMaxOriginal,this._defaults.millisecMax=this.millisecMaxOriginal,this._defaults.microsecMax=this.microsecMaxOriginal)}if(null!==e.settings.minTime){var o=new Date("01/01/1970 "+e.settings.minTime);this.hour<o.getHours()?(this.hour=this._defaults.hourMin=o.getHours(),this.minute=this._defaults.minuteMin=o.getMinutes()):this.hour===o.getHours()&&this.minute<o.getMinutes()?this.minute=this._defaults.minuteMin=o.getMinutes():this._defaults.hourMin<o.getHours()?(this._defaults.hourMin=o.getHours(),this._defaults.minuteMin=o.getMinutes()):this._defaults.minuteMin=this._defaults.hourMin===o.getHours()===this.hour&&this._defaults.minuteMin<o.getMinutes()?o.getMinutes():0}if(null!==e.settings.maxTime){var c=new Date("01/01/1970 "+e.settings.maxTime);this.hour>c.getHours()?(this.hour=this._defaults.hourMax=c.getHours(),this.minute=this._defaults.minuteMax=c.getMinutes()):this.hour===c.getHours()&&this.minute>c.getMinutes()?this.minute=this._defaults.minuteMax=c.getMinutes():this._defaults.hourMax>c.getHours()?(this._defaults.hourMax=c.getHours(),this._defaults.minuteMax=c.getMinutes()):this._defaults.minuteMax=this._defaults.hourMax===c.getHours()===this.hour&&this._defaults.minuteMax>c.getMinutes()?c.getMinutes():59}if(void 0!==t&&t===!0){var u=parseInt(this._defaults.hourMax-(this._defaults.hourMax-this._defaults.hourMin)%this._defaults.stepHour,10),m=parseInt(this._defaults.minuteMax-(this._defaults.minuteMax-this._defaults.minuteMin)%this._defaults.stepMinute,10),d=parseInt(this._defaults.secondMax-(this._defaults.secondMax-this._defaults.secondMin)%this._defaults.stepSecond,10),h=parseInt(this._defaults.millisecMax-(this._defaults.millisecMax-this._defaults.millisecMin)%this._defaults.stepMillisec,10),p=parseInt(this._defaults.microsecMax-(this._defaults.microsecMax-this._defaults.microsecMin)%this._defaults.stepMicrosec,10);this.hour_slider&&(this.control.options(this,this.hour_slider,"hour",{min:this._defaults.hourMin,max:u,step:this._defaults.stepHour}),this.control.value(this,this.hour_slider,"hour",this.hour-this.hour%this._defaults.stepHour)),this.minute_slider&&(this.control.options(this,this.minute_slider,"minute",{min:this._defaults.minuteMin,max:m,step:this._defaults.stepMinute}),this.control.value(this,this.minute_slider,"minute",this.minute-this.minute%this._defaults.stepMinute)),this.second_slider&&(this.control.options(this,this.second_slider,"second",{min:this._defaults.secondMin,max:d,step:this._defaults.stepSecond}),this.control.value(this,this.second_slider,"second",this.second-this.second%this._defaults.stepSecond)),this.millisec_slider&&(this.control.options(this,this.millisec_slider,"millisec",{min:this._defaults.millisecMin,max:h,step:this._defaults.stepMillisec}),this.control.value(this,this.millisec_slider,"millisec",this.millisec-this.millisec%this._defaults.stepMillisec)),this.microsec_slider&&(this.control.options(this,this.microsec_slider,"microsec",{min:this._defaults.microsecMin,max:p,step:this._defaults.stepMicrosec}),this.control.value(this,this.microsec_slider,"microsec",this.microsec-this.microsec%this._defaults.stepMicrosec))}}},_onTimeChange:function(){if(this._defaults.showTimepicker){var e=this.hour_slider?this.control.value(this,this.hour_slider,"hour"):!1,t=this.minute_slider?this.control.value(this,this.minute_slider,"minute"):!1,i=this.second_slider?this.control.value(this,this.second_slider,"second"):!1,s=this.millisec_slider?this.control.value(this,this.millisec_slider,"millisec"):!1,a=this.microsec_slider?this.control.value(this,this.microsec_slider,"microsec"):!1,n=this.timezone_select?this.timezone_select.val():!1,r=this._defaults,l=r.pickerTimeFormat||r.timeFormat,o=r.pickerTimeSuffix||r.timeSuffix;"object"==typeof e&&(e=!1),"object"==typeof t&&(t=!1),"object"==typeof i&&(i=!1),"object"==typeof s&&(s=!1),"object"==typeof a&&(a=!1),"object"==typeof n&&(n=!1),e!==!1&&(e=parseInt(e,10)),t!==!1&&(t=parseInt(t,10)),i!==!1&&(i=parseInt(i,10)),s!==!1&&(s=parseInt(s,10)),a!==!1&&(a=parseInt(a,10)),n!==!1&&(n=""+n);var c=r[12>e?"amNames":"pmNames"][0],u=e!==parseInt(this.hour,10)||t!==parseInt(this.minute,10)||i!==parseInt(this.second,10)||s!==parseInt(this.millisec,10)||a!==parseInt(this.microsec,10)||this.ampm.length>0&&12>e!=(-1!==$.inArray(this.ampm.toUpperCase(),this.amNames))||null!==this.timezone&&n!==""+this.timezone;u&&(e!==!1&&(this.hour=e),t!==!1&&(this.minute=t),i!==!1&&(this.second=i),s!==!1&&(this.millisec=s),a!==!1&&(this.microsec=a),n!==!1&&(this.timezone=n),this.inst||(this.inst=$.datepicker._getInst(this.$input[0])),this._limitMinMaxDateTime(this.inst,!0)),this.support.ampm&&(this.ampm=c),this.formattedTime=$.datepicker.formatTime(r.timeFormat,this,r),this.$timeObj&&(l===r.timeFormat?this.$timeObj.text(this.formattedTime+o):this.$timeObj.text($.datepicker.formatTime(l,this,r)+o)),this.timeDefined=!0,u&&this._updateDateTime()}},_onSelectHandler:function(){var e=this._defaults.onSelect||this.inst.settings.onSelect,t=this.$input?this.$input[0]:null;e&&t&&e.apply(t,[this.formattedDateTime,this])},_updateDateTime:function(e){e=this.inst||e;var t=e.currentYear>0?new Date(e.currentYear,e.currentMonth,e.currentDay):new Date(e.selectedYear,e.selectedMonth,e.selectedDay),i=$.datepicker._daylightSavingAdjust(t),s=$.datepicker._get(e,"dateFormat"),a=$.datepicker._getFormatConfig(e),n=null!==i&&this.timeDefined;this.formattedDate=$.datepicker.formatDate(s,null===i?new Date:i,a);var r=this.formattedDate;if(""===e.lastVal&&(e.currentYear=e.selectedYear,e.currentMonth=e.selectedMonth,e.currentDay=e.selectedDay),this._defaults.timeOnly===!0&&this._defaults.timeOnlyShowDate===!1?r=this.formattedTime:(this._defaults.timeOnly!==!0&&(this._defaults.alwaysSetTime||n)||this._defaults.timeOnly===!0&&this._defaults.timeOnlyShowDate===!0)&&(r+=this._defaults.separator+this.formattedTime+this._defaults.timeSuffix),this.formattedDateTime=r,this._defaults.showTimepicker)if(this.$altInput&&this._defaults.timeOnly===!1&&this._defaults.altFieldTimeOnly===!0)this.$altInput.val(this.formattedTime),this.$input.val(this.formattedDate);else if(this.$altInput){this.$input.val(r);var l="",o=null!==this._defaults.altSeparator?this._defaults.altSeparator:this._defaults.separator,c=null!==this._defaults.altTimeSuffix?this._defaults.altTimeSuffix:this._defaults.timeSuffix;this._defaults.timeOnly||(l=this._defaults.altFormat?$.datepicker.formatDate(this._defaults.altFormat,null===i?new Date:i,a):this.formattedDate,l&&(l+=o)),l+=null!==this._defaults.altTimeFormat?$.datepicker.formatTime(this._defaults.altTimeFormat,this,this._defaults)+c:this.formattedTime+c,this.$altInput.val(l)}else this.$input.val(r);else this.$input.val(this.formattedDate);this.$input.trigger("change")},_onFocus:function(){if(!this.$input.val()&&this._defaults.defaultValue){this.$input.val(this._defaults.defaultValue);var e=$.datepicker._getInst(this.$input.get(0)),t=$.datepicker._get(e,"timepicker");if(t&&t._defaults.timeOnly&&e.input.val()!==e.lastVal)try{$.datepicker._updateDatepicker(e)}catch(i){$.timepicker.log(i)}}},_controls:{slider:{create:function(e,t,i,s,a,n,r){var l=e._defaults.isRTL;return t.prop("slide",null).slider({orientation:"horizontal",value:l?-1*s:s,min:l?-1*n:a,max:l?-1*a:n,step:r,slide:function(t,s){e.control.value(e,$(this),i,l?-1*s.value:s.value),e._onTimeChange()},stop:function(){e._onSelectHandler()}})},options:function(e,t,i,s,a){if(e._defaults.isRTL){if("string"==typeof s)return"min"===s||"max"===s?void 0!==a?t.slider(s,-1*a):Math.abs(t.slider(s)):t.slider(s);var n=s.min,r=s.max;return s.min=s.max=null,void 0!==n&&(s.max=-1*n),void 0!==r&&(s.min=-1*r),t.slider(s)}return"string"==typeof s&&void 0!==a?t.slider(s,a):t.slider(s)},value:function(e,t,i,s){return e._defaults.isRTL?void 0!==s?t.slider("value",-1*s):Math.abs(t.slider("value")):void 0!==s?t.slider("value",s):t.slider("value")}},select:{create:function(e,t,i,s,a,n,r){for(var l='<select class="ui-timepicker-select ui-state-default ui-corner-all" data-unit="'+i+'" data-min="'+a+'" data-max="'+n+'" data-step="'+r+'">',o=e._defaults.pickerTimeFormat||e._defaults.timeFormat,c=a;n>=c;c+=r)l+='<option value="'+c+'"'+(c===s?" selected":"")+">",l+="hour"===i?$.datepicker.formatTime($.trim(o.replace(/[^ht ]/gi,"")),{hour:c},e._defaults):"millisec"===i||"microsec"===i||c>=10?c:"0"+c,l+="</option>";return l+="</select>",t.children("select").remove(),$(l).appendTo(t).change(function(){e._onTimeChange(),e._onSelectHandler(),e._afterInject()}),t},options:function(e,t,i,s,a){var n={},r=t.children("select");if("string"==typeof s){if(void 0===a)return r.data(s);n[s]=a}else n=s;return e.control.create(e,t,r.data("unit"),r.val(),n.min>=0?n.min:r.data("min"),n.max||r.data("max"),n.step||r.data("step"))},value:function(e,t,i,s){var a=t.children("select");return void 0!==s?a.val(s):a.val()}}}}),$.fn.extend({timepicker:function(e){e=e||{};var t=Array.prototype.slice.call(arguments);return"object"==typeof e&&(t[0]=$.extend(e,{timeOnly:!0})),$(this).each(function(){$.fn.datetimepicker.apply($(this),t)})},datetimepicker:function(e){e=e||{};var t=arguments;return"string"==typeof e?"getDate"===e||"option"===e&&2===t.length&&"string"==typeof t[1]?$.fn.datepicker.apply($(this[0]),t):this.each(function(){var e=$(this);e.datepicker.apply(e,t)}):this.each(function(){var t=$(this);t.datepicker($.timepicker._newInst(t,e)._defaults)})}}),$.datepicker.parseDateTime=function(e,t,i,s,a){var n=parseDateTimeInternal(e,t,i,s,a);if(n.timeObj){var r=n.timeObj;n.date.setHours(r.hour,r.minute,r.second,r.millisec),n.date.setMicroseconds(r.microsec)}return n.date},$.datepicker.parseTime=function(e,t,i){var s=extendRemove(extendRemove({},$.timepicker._defaults),i||{});-1!==e.replace(/\'.*?\'/g,"").indexOf("Z");var a=function(e,t,i){var s,a=function(e,t){var i=[];return e&&$.merge(i,e),t&&$.merge(i,t),i=$.map(i,function(e){return e.replace(/[.*+?|()\[\]{}\\]/g,"\\$&")}),"("+i.join("|")+")?"},n=function(e){var t=e.toLowerCase().match(/(h{1,2}|m{1,2}|s{1,2}|l{1}|c{1}|t{1,2}|z|'.*?')/g),i={h:-1,m:-1,s:-1,l:-1,c:-1,t:-1,z:-1};if(t)for(var s=0;t.length>s;s++)-1===i[(""+t[s]).charAt(0)]&&(i[(""+t[s]).charAt(0)]=s+1);return i},r="^"+(""+e).replace(/([hH]{1,2}|mm?|ss?|[tT]{1,2}|[zZ]|[lc]|'.*?')/g,function(e){var t=e.length;switch(e.charAt(0).toLowerCase()){case"h":return 1===t?"(\\d?\\d)":"(\\d{"+t+"})";case"m":return 1===t?"(\\d?\\d)":"(\\d{"+t+"})";case"s":return 1===t?"(\\d?\\d)":"(\\d{"+t+"})";case"l":return"(\\d?\\d?\\d)";case"c":return"(\\d?\\d?\\d)";case"z":return"(z|[-+]\\d\\d:?\\d\\d|\\S+)?";case"t":return a(i.amNames,i.pmNames);default:return"("+e.replace(/\'/g,"").replace(/(\.|\$|\^|\\|\/|\(|\)|\[|\]|\?|\+|\*)/g,function(e){return"\\"+e})+")?"}}).replace(/\s/g,"\\s?")+i.timeSuffix+"$",l=n(e),o="";s=t.match(RegExp(r,"i"));var c={hour:0,minute:0,second:0,millisec:0,microsec:0};return s?(-1!==l.t&&(void 0===s[l.t]||0===s[l.t].length?(o="",c.ampm=""):(o=-1!==$.inArray(s[l.t].toUpperCase(),$.map(i.amNames,function(e){return e.toUpperCase()}))?"AM":"PM",c.ampm=i["AM"===o?"amNames":"pmNames"][0])),-1!==l.h&&(c.hour="AM"===o&&"12"===s[l.h]?0:"PM"===o&&"12"!==s[l.h]?parseInt(s[l.h],10)+12:Number(s[l.h])),-1!==l.m&&(c.minute=Number(s[l.m])),-1!==l.s&&(c.second=Number(s[l.s])),-1!==l.l&&(c.millisec=Number(s[l.l])),-1!==l.c&&(c.microsec=Number(s[l.c])),-1!==l.z&&void 0!==s[l.z]&&(c.timezone=$.timepicker.timezoneOffsetNumber(s[l.z])),c):!1},n=function(e,t,i){try{var s=new Date("2012-01-01 "+t);if(isNaN(s.getTime())&&(s=new Date("2012-01-01T"+t),isNaN(s.getTime())&&(s=new Date("01/01/2012 "+t),isNaN(s.getTime()))))throw"Unable to parse time with native Date: "+t;return{hour:s.getHours(),minute:s.getMinutes(),second:s.getSeconds(),millisec:s.getMilliseconds(),microsec:s.getMicroseconds(),timezone:-1*s.getTimezoneOffset()}}catch(n){try{return a(e,t,i)}catch(r){$.timepicker.log("Unable to parse \ntimeString: "+t+"\ntimeFormat: "+e)}}return!1};return"function"==typeof s.parse?s.parse(e,t,s):"loose"===s.parse?n(e,t,s):a(e,t,s)},$.datepicker.formatTime=function(e,t,i){i=i||{},i=$.extend({},$.timepicker._defaults,i),t=$.extend({hour:0,minute:0,second:0,millisec:0,microsec:0,timezone:null},t);var s=e,a=i.amNames[0],n=parseInt(t.hour,10);return n>11&&(a=i.pmNames[0]),s=s.replace(/(?:HH?|hh?|mm?|ss?|[tT]{1,2}|[zZ]|[lc]|'.*?')/g,function(e){switch(e){case"HH":return("0"+n).slice(-2);case"H":return n;case"hh":return("0"+convert24to12(n)).slice(-2);case"h":return convert24to12(n);case"mm":return("0"+t.minute).slice(-2);case"m":return t.minute;case"ss":return("0"+t.second).slice(-2);case"s":return t.second;case"l":return("00"+t.millisec).slice(-3);case"c":return("00"+t.microsec).slice(-3);case"z":return $.timepicker.timezoneOffsetString(null===t.timezone?i.timezone:t.timezone,!1);case"Z":return $.timepicker.timezoneOffsetString(null===t.timezone?i.timezone:t.timezone,!0);case"T":return a.charAt(0).toUpperCase();case"TT":return a.toUpperCase();case"t":return a.charAt(0).toLowerCase();case"tt":return a.toLowerCase();default:return e.replace(/'/g,"")}})},$.datepicker._base_selectDate=$.datepicker._selectDate,$.datepicker._selectDate=function(e,t){var i,s=this._getInst($(e)[0]),a=this._get(s,"timepicker");a&&s.settings.showTimepicker?(a._limitMinMaxDateTime(s,!0),i=s.inline,s.inline=s.stay_open=!0,this._base_selectDate(e,t),s.inline=i,s.stay_open=!1,this._notifyChange(s),this._updateDatepicker(s)):this._base_selectDate(e,t)},$.datepicker._base_updateDatepicker=$.datepicker._updateDatepicker,$.datepicker._updateDatepicker=function(e){var t=e.input[0];if(!($.datepicker._curInst&&$.datepicker._curInst!==e&&$.datepicker._datepickerShowing&&$.datepicker._lastInput!==t||"boolean"==typeof e.stay_open&&e.stay_open!==!1)){this._base_updateDatepicker(e);var i=this._get(e,"timepicker");i&&i._addTimePicker(e)}},$.datepicker._base_doKeyPress=$.datepicker._doKeyPress,$.datepicker._doKeyPress=function(e){var t=$.datepicker._getInst(e.target),i=$.datepicker._get(t,"timepicker");if(i&&$.datepicker._get(t,"constrainInput")){var s=i.support.ampm,a=null!==i._defaults.showTimezone?i._defaults.showTimezone:i.support.timezone,n=$.datepicker._possibleChars($.datepicker._get(t,"dateFormat")),r=(""+i._defaults.timeFormat).replace(/[hms]/g,"").replace(/TT/g,s?"APM":"").replace(/Tt/g,s?"AaPpMm":"").replace(/tT/g,s?"AaPpMm":"").replace(/T/g,s?"AP":"").replace(/tt/g,s?"apm":"").replace(/t/g,s?"ap":"")+" "+i._defaults.separator+i._defaults.timeSuffix+(a?i._defaults.timezoneList.join(""):"")+i._defaults.amNames.join("")+i._defaults.pmNames.join("")+n,l=String.fromCharCode(void 0===e.charCode?e.keyCode:e.charCode);return e.ctrlKey||" ">l||!n||r.indexOf(l)>-1}return $.datepicker._base_doKeyPress(e)},$.datepicker._base_updateAlternate=$.datepicker._updateAlternate,$.datepicker._updateAlternate=function(e){var t=this._get(e,"timepicker");if(t){var i=t._defaults.altField;if(i){var s=(t._defaults.altFormat||t._defaults.dateFormat,this._getDate(e)),a=$.datepicker._getFormatConfig(e),n="",r=t._defaults.altSeparator?t._defaults.altSeparator:t._defaults.separator,l=t._defaults.altTimeSuffix?t._defaults.altTimeSuffix:t._defaults.timeSuffix,o=null!==t._defaults.altTimeFormat?t._defaults.altTimeFormat:t._defaults.timeFormat;n+=$.datepicker.formatTime(o,t,t._defaults)+l,t._defaults.timeOnly||t._defaults.altFieldTimeOnly||null===s||(n=t._defaults.altFormat?$.datepicker.formatDate(t._defaults.altFormat,s,a)+r+n:t.formattedDate+r+n),$(i).val(e.input.val()?n:"")}}else $.datepicker._base_updateAlternate(e)},$.datepicker._base_doKeyUp=$.datepicker._doKeyUp,$.datepicker._doKeyUp=function(e){var t=$.datepicker._getInst(e.target),i=$.datepicker._get(t,"timepicker");if(i&&i._defaults.timeOnly&&t.input.val()!==t.lastVal)try{$.datepicker._updateDatepicker(t)}catch(s){$.timepicker.log(s)}return $.datepicker._base_doKeyUp(e)},$.datepicker._base_gotoToday=$.datepicker._gotoToday,$.datepicker._gotoToday=function(e){var t=this._getInst($(e)[0]);t.dpDiv;var i=this._get(t,"timepicker");selectLocalTimezone(i);var s=new Date;this._setTime(t,s),this._setDate(t,s),this._base_gotoToday(e)},$.datepicker._disableTimepickerDatepicker=function(e){var t=this._getInst(e);if(t){var i=this._get(t,"timepicker");$(e).datepicker("getDate"),i&&(t.settings.showTimepicker=!1,
2
+ i._defaults.showTimepicker=!1,i._updateDateTime(t))}},$.datepicker._enableTimepickerDatepicker=function(e){var t=this._getInst(e);if(t){var i=this._get(t,"timepicker");$(e).datepicker("getDate"),i&&(t.settings.showTimepicker=!0,i._defaults.showTimepicker=!0,i._addTimePicker(t),i._updateDateTime(t))}},$.datepicker._setTime=function(e,t){var i=this._get(e,"timepicker");if(i){var s=i._defaults;i.hour=t?t.getHours():s.hour,i.minute=t?t.getMinutes():s.minute,i.second=t?t.getSeconds():s.second,i.millisec=t?t.getMilliseconds():s.millisec,i.microsec=t?t.getMicroseconds():s.microsec,i._limitMinMaxDateTime(e,!0),i._onTimeChange(),i._updateDateTime(e)}},$.datepicker._setTimeDatepicker=function(e,t,i){var s=this._getInst(e);if(s){var a=this._get(s,"timepicker");if(a){this._setDateFromField(s);var n;t&&("string"==typeof t?(a._parseTime(t,i),n=new Date,n.setHours(a.hour,a.minute,a.second,a.millisec),n.setMicroseconds(a.microsec)):(n=new Date(t.getTime()),n.setMicroseconds(t.getMicroseconds())),"Invalid Date"==""+n&&(n=void 0),this._setTime(s,n))}}},$.datepicker._base_setDateDatepicker=$.datepicker._setDateDatepicker,$.datepicker._setDateDatepicker=function(e,t){var i=this._getInst(e),s=t;if(i){"string"==typeof t&&(s=new Date(t),s.getTime()||(this._base_setDateDatepicker.apply(this,arguments),s=$(e).datepicker("getDate")));var a,n=this._get(i,"timepicker");s instanceof Date?(a=new Date(s.getTime()),a.setMicroseconds(s.getMicroseconds())):a=s,n&&a&&(n.support.timezone||null!==n._defaults.timezone||(n.timezone=-1*a.getTimezoneOffset()),s=$.timepicker.timezoneAdjust(s,n.timezone),a=$.timepicker.timezoneAdjust(a,n.timezone)),this._updateDatepicker(i),this._base_setDateDatepicker.apply(this,arguments),this._setTimeDatepicker(e,a,!0)}},$.datepicker._base_getDateDatepicker=$.datepicker._getDateDatepicker,$.datepicker._getDateDatepicker=function(e,t){var i=this._getInst(e);if(i){var s=this._get(i,"timepicker");if(s){void 0===i.lastVal&&this._setDateFromField(i,t);var a=this._getDate(i),n=$.trim(s.$altInput&&s._defaults.altFieldTimeOnly?s.$input.val()+" "+s.$altInput.val():s.$input.val());return a&&s._parseTime(n,!i.settings.timeOnly)&&(a.setHours(s.hour,s.minute,s.second,s.millisec),a.setMicroseconds(s.microsec),null!=s.timezone&&(s.support.timezone||null!==s._defaults.timezone||(s.timezone=-1*a.getTimezoneOffset()),a=$.timepicker.timezoneAdjust(a,s.timezone))),a}return this._base_getDateDatepicker(e,t)}},$.datepicker._base_parseDate=$.datepicker.parseDate,$.datepicker.parseDate=function(e,t,i){var s;try{s=this._base_parseDate(e,t,i)}catch(a){if(!(a.indexOf(":")>=0))throw a;s=this._base_parseDate(e,t.substring(0,t.length-(a.length-a.indexOf(":")-2)),i),$.timepicker.log("Error parsing the date string: "+a+"\ndate string = "+t+"\ndate format = "+e)}return s},$.datepicker._base_formatDate=$.datepicker._formatDate,$.datepicker._formatDate=function(e){var t=this._get(e,"timepicker");return t?(t._updateDateTime(e),t.$input.val()):this._base_formatDate(e)},$.datepicker._base_optionDatepicker=$.datepicker._optionDatepicker,$.datepicker._optionDatepicker=function(e,t,i){var s,a=this._getInst(e);if(!a)return null;var n=this._get(a,"timepicker");if(n){var r,l,o,c,u=null,m=null,d=null,h=n._defaults.evnts,p={};if("string"==typeof t){if("minDate"===t||"minDateTime"===t)u=i;else if("maxDate"===t||"maxDateTime"===t)m=i;else if("onSelect"===t)d=i;else if(h.hasOwnProperty(t)){if(void 0===i)return h[t];p[t]=i,s={}}}else if("object"==typeof t){t.minDate?u=t.minDate:t.minDateTime?u=t.minDateTime:t.maxDate?m=t.maxDate:t.maxDateTime&&(m=t.maxDateTime);for(r in h)h.hasOwnProperty(r)&&t[r]&&(p[r]=t[r])}for(r in p)p.hasOwnProperty(r)&&(h[r]=p[r],s||(s=$.extend({},t)),delete s[r]);if(s&&isEmptyObject(s))return;if(u?(u=0===u?new Date:new Date(u),n._defaults.minDate=u,n._defaults.minDateTime=u):m?(m=0===m?new Date:new Date(m),n._defaults.maxDate=m,n._defaults.maxDateTime=m):d&&(n._defaults.onSelect=d),u||m)return c=$(e),o=c.datetimepicker("getDate"),l=this._base_optionDatepicker.call($.datepicker,e,s||t,i),c.datetimepicker("setDate",o),l}return void 0===i?this._base_optionDatepicker.call($.datepicker,e,t):this._base_optionDatepicker.call($.datepicker,e,s||t,i)};var isEmptyObject=function(e){var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0},extendRemove=function(e,t){$.extend(e,t);for(var i in t)(null===t[i]||void 0===t[i])&&(e[i]=t[i]);return e},detectSupport=function(e){var t=e.replace(/'.*?'/g,"").toLowerCase(),i=function(e,t){return-1!==e.indexOf(t)?!0:!1};return{hour:i(t,"h"),minute:i(t,"m"),second:i(t,"s"),millisec:i(t,"l"),microsec:i(t,"c"),timezone:i(t,"z"),ampm:i(t,"t")&&i(e,"h"),iso8601:i(e,"Z")}},convert24to12=function(e){return e%=12,0===e&&(e=12),e+""},computeEffectiveSetting=function(e,t){return e&&e[t]?e[t]:$.timepicker._defaults[t]},splitDateTime=function(e,t){var i=computeEffectiveSetting(t,"separator"),s=computeEffectiveSetting(t,"timeFormat"),a=s.split(i),n=a.length,r=e.split(i),l=r.length;return l>1?{dateString:r.splice(0,l-n).join(i),timeString:r.splice(0,n).join(i)}:{dateString:e,timeString:""}},parseDateTimeInternal=function(e,t,i,s,a){var n,r,l;if(r=splitDateTime(i,a),n=$.datepicker._base_parseDate(e,r.dateString,s),""===r.timeString)return{date:n};if(l=$.datepicker.parseTime(t,r.timeString,a),!l)throw"Wrong time format";return{date:n,timeObj:l}},selectLocalTimezone=function(e,t){if(e&&e.timezone_select){var i=t||new Date;e.timezone_select.val(-i.getTimezoneOffset())}};$.timepicker=new Timepicker,$.timepicker.timezoneOffsetString=function(e,t){if(isNaN(e)||e>840||-720>e)return e;var i=e,s=i%60,a=(i-s)/60,n=t?":":"",r=(i>=0?"+":"-")+("0"+Math.abs(a)).slice(-2)+n+("0"+Math.abs(s)).slice(-2);return"+00:00"===r?"Z":r},$.timepicker.timezoneOffsetNumber=function(e){var t=(""+e).replace(":","");return"Z"===t.toUpperCase()?0:/^(\-|\+)\d{4}$/.test(t)?("-"===t.substr(0,1)?-1:1)*(60*parseInt(t.substr(1,2),10)+parseInt(t.substr(3,2),10)):e},$.timepicker.timezoneAdjust=function(e,t){var i=$.timepicker.timezoneOffsetNumber(t);return isNaN(i)||e.setMinutes(e.getMinutes()+-e.getTimezoneOffset()-i),e},$.timepicker.timeRange=function(e,t,i){return $.timepicker.handleRange("timepicker",e,t,i)},$.timepicker.datetimeRange=function(e,t,i){$.timepicker.handleRange("datetimepicker",e,t,i)},$.timepicker.dateRange=function(e,t,i){$.timepicker.handleRange("datepicker",e,t,i)},$.timepicker.handleRange=function(e,t,i,s){function a(a,n){var r=t[e]("getDate"),l=i[e]("getDate"),o=a[e]("getDate");if(null!==r){var c=new Date(r.getTime()),u=new Date(r.getTime());c.setMilliseconds(c.getMilliseconds()+s.minInterval),u.setMilliseconds(u.getMilliseconds()+s.maxInterval),s.minInterval>0&&c>l?i[e]("setDate",c):s.maxInterval>0&&l>u?i[e]("setDate",u):r>l&&n[e]("setDate",o)}}function n(t,i,a){if(t.val()){var n=t[e].call(t,"getDate");null!==n&&s.minInterval>0&&("minDate"===a&&n.setMilliseconds(n.getMilliseconds()+s.minInterval),"maxDate"===a&&n.setMilliseconds(n.getMilliseconds()-s.minInterval)),n.getTime&&i[e].call(i,"option",a,n)}}s=$.extend({},{minInterval:0,maxInterval:0,start:{},end:{}},s);var r=!1;return"timepicker"===e&&(r=!0,e="datetimepicker"),$.fn[e].call(t,$.extend({timeOnly:r,onClose:function(){a($(this),i)},onSelect:function(){n($(this),i,"minDate")}},s,s.start)),$.fn[e].call(i,$.extend({timeOnly:r,onClose:function(){a($(this),t)},onSelect:function(){n($(this),t,"maxDate")}},s,s.end)),a(t,i),n(t,i,"minDate"),n(i,t,"maxDate"),$([t.get(0),i.get(0)])},$.timepicker.log=function(){window.console&&window.console.log.apply(window.console,Array.prototype.slice.call(arguments))},$.timepicker._util={_extendRemove:extendRemove,_isEmptyObject:isEmptyObject,_convert24to12:convert24to12,_detectSupport:detectSupport,_selectLocalTimezone:selectLocalTimezone,_computeEffectiveSetting:computeEffectiveSetting,_splitDateTime:splitDateTime,_parseDateTimeInternal:parseDateTimeInternal},Date.prototype.getMicroseconds||(Date.prototype.microseconds=0,Date.prototype.getMicroseconds=function(){return this.microseconds},Date.prototype.setMicroseconds=function(e){return this.setMilliseconds(this.getMilliseconds()+Math.floor(e/1e3)),this.microseconds=e%1e3,this}),$.timepicker.version="1.5.5"}});
wfu_file_downloader.php CHANGED
@@ -7,17 +7,33 @@ function wfu_download_file() {
7
  $file_code = (isset($_POST['file']) ? $_POST['file'] : (isset($_GET['file']) ? $_GET['file'] : ''));
8
  $ticket = (isset($_POST['ticket']) ? $_POST['ticket'] : (isset($_GET['ticket']) ? $_GET['ticket'] : ''));
9
  if ( $file_code == '' || $ticket == '' ) die();
 
 
10
  //if download ticket does not exist or is expired die
11
  if ( !isset($_SESSION['wfu_download_ticket_'.$ticket]) || time() > $_SESSION['wfu_download_ticket_'.$ticket] ) die();
12
  //destroy ticket so it cannot be used again
13
  unset($_SESSION['wfu_download_ticket_'.$ticket]);
14
 
15
- // $filepath = wfu_plugin_decode_string($file_code);
16
- $filepath = wfu_get_filepath_from_safe($file_code);
17
- if ( $filepath === false ) die();
18
- $filepath = wfu_flatten_path($filepath);
19
- if ( substr($filepath, 0, 1) == "/" ) $filepath = substr($filepath, 1);
20
- $filepath = ( substr($filepath, 0, 6) == 'ftp://' || substr($filepath, 0, 7) == 'ftps://' || substr($filepath, 0, 7) == 'sftp://' ? $filepath : $_SESSION['wfu_ABSPATH'].$filepath );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  //reject download of php files for security reasons
22
  if ( wfu_file_extension_restricted($filepath) ) {
23
  $_SESSION['wfu_download_status_'.$ticket] = 'failed';
@@ -30,12 +46,11 @@ function wfu_download_file() {
30
  }
31
  //get mime type
32
 
33
- set_time_limit(0); // disable the time limit for this script
34
  $fsize = filesize($filepath);
35
- $path_parts = pathinfo($filepath);
36
  if ( $fd = @fopen ($filepath, "rb") ) {
37
  header('Content-Type: application/octet-stream');
38
- header("Content-Disposition: attachment; filename=\"".$path_parts["basename"]."\"");
39
  header('Content-Transfer-Encoding: binary');
40
  header('Connection: Keep-Alive');
41
  header('Expires: 0');
@@ -57,6 +72,8 @@ function wfu_download_file() {
57
  }
58
  else $failed = true;
59
 
 
 
60
  if ( !$failed ) {
61
  $_SESSION['wfu_download_status_'.$ticket] = 'downloaded';
62
  die();
7
  $file_code = (isset($_POST['file']) ? $_POST['file'] : (isset($_GET['file']) ? $_GET['file'] : ''));
8
  $ticket = (isset($_POST['ticket']) ? $_POST['ticket'] : (isset($_GET['ticket']) ? $_GET['ticket'] : ''));
9
  if ( $file_code == '' || $ticket == '' ) die();
10
+
11
+ $ticket = wfu_sanitize_code($ticket);
12
  //if download ticket does not exist or is expired die
13
  if ( !isset($_SESSION['wfu_download_ticket_'.$ticket]) || time() > $_SESSION['wfu_download_ticket_'.$ticket] ) die();
14
  //destroy ticket so it cannot be used again
15
  unset($_SESSION['wfu_download_ticket_'.$ticket]);
16
 
17
+ $file_code = wfu_sanitize_code($file_code);
18
+ //if file_code starts with exportdata, then this is a request for export of
19
+ //uploaded file data, so disposition_name will not be the filename of the file
20
+ //but wfu_export.csv; also set flag to delete file after download operation
21
+ if ( substr($file_code, 0, 10) == "exportdata" ) {
22
+ $file_code = substr($file_code, 10);
23
+ $filepath = wfu_get_filepath_from_safe($file_code);
24
+ $disposition_name = "wfu_export.csv";
25
+ $delete_file = true;
26
+ }
27
+ else {
28
+ $filepath = wfu_get_filepath_from_safe($file_code);
29
+ if ( $filepath === false ) die();
30
+ $filepath = wfu_flatten_path($filepath);
31
+ if ( substr($filepath, 0, 1) == "/" ) $filepath = substr($filepath, 1);
32
+ $filepath = ( substr($filepath, 0, 6) == 'ftp://' || substr($filepath, 0, 7) == 'ftps://' || substr($filepath, 0, 7) == 'sftp://' ? $filepath : $_SESSION['wfu_ABSPATH'].$filepath );
33
+ $path_parts = pathinfo($filepath);
34
+ $disposition_name = $path_parts["basename"];
35
+ $delete_file = false;
36
+ }
37
  //reject download of php files for security reasons
38
  if ( wfu_file_extension_restricted($filepath) ) {
39
  $_SESSION['wfu_download_status_'.$ticket] = 'failed';
46
  }
47
  //get mime type
48
 
49
+ @set_time_limit(0); // disable the time limit for this script
50
  $fsize = filesize($filepath);
 
51
  if ( $fd = @fopen ($filepath, "rb") ) {
52
  header('Content-Type: application/octet-stream');
53
+ header("Content-Disposition: attachment; filename=\"".$disposition_name."\"");
54
  header('Content-Transfer-Encoding: binary');
55
  header('Connection: Keep-Alive');
56
  header('Expires: 0');
72
  }
73
  else $failed = true;
74
 
75
+ if ( $delete_file ) unset($filepath);
76
+
77
  if ( !$failed ) {
78
  $_SESSION['wfu_download_status_'.$ticket] = 'downloaded';
79
  die();
wordpress_file_upload.php CHANGED
@@ -4,7 +4,7 @@ if( !session_id() ) { session_start(); }
4
  /*
5
  Plugin URI: http://www.iptanus.com/support/wordpress-file-upload
6
  Description: Simple interface to upload files from a page.
7
- Version: 3.4.1
8
  Author: Nickolas Bossinas
9
  Author URI: http://www.iptanus.com
10
  */
@@ -34,8 +34,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
34
  //wfu_tb_log_version v3.0 changes:
35
  // uploadtime field added
36
  // blogid field added
37
- $wfu_tb_log_version = "3.0";
 
 
38
  $wfu_tb_userdata_version = "1.0";
 
39
 
40
  /* do not load plugin if this is the login page */
41
  $uri = $_SERVER['REQUEST_URI'];
@@ -46,7 +49,7 @@ DEFINE("WPFILEUPLOAD_DIR", '/'.substr(WP_PLUGIN_DIR, strlen(ABSPATH)) .'/'.dirna
46
  DEFINE("ABSWPFILEUPLOAD_DIR", ( substr(ABSPATH, -1) == "/" ? substr(ABSPATH, 0, -1) : ABSPATH ).WPFILEUPLOAD_DIR);
47
  $_SESSION['wfu_ABSPATH'] = ABSPATH;
48
  add_shortcode("wordpress_file_upload", "wordpress_file_upload_handler");
49
- load_plugin_textdomain('wordpress-file-upload', false, dirname(plugin_basename (__FILE__)).'/languages');
50
  /* load styles and scripts for front pages */
51
  if ( !is_admin() ) {
52
  add_action( 'wp_enqueue_scripts', 'wfu_enqueue_frontpage_scripts' );
@@ -70,6 +73,7 @@ add_action('wp_ajax_nopriv_wfu_ajax_action_download_file_invoker', 'wfu_ajax_act
70
  add_action('wp_ajax_wfu_ajax_action_download_file_monitor', 'wfu_ajax_action_download_file_monitor');
71
  add_action('wp_ajax_nopriv_wfu_ajax_action_download_file_monitor', 'wfu_ajax_action_download_file_monitor');
72
  add_action('wp_ajax_wfu_ajax_action_edit_shortcode', 'wfu_ajax_action_edit_shortcode');
 
73
  wfu_include_lib();
74
  //widget
75
  add_action( 'widgets_init', 'register_wfu_widget' );
@@ -82,6 +86,9 @@ function wfu_enqueue_frontpage_scripts() {
82
  $plugin_options = wfu_decode_plugin_options(get_option( "wordpress_file_upload_options" ));
83
  $relaxcss = false;
84
  if ( isset($plugin_options['relaxcss']) ) $relaxcss = ( $plugin_options['relaxcss'] == '1' );
 
 
 
85
 
86
  if ( $relaxcss ) {
87
  wp_enqueue_style('wordpress-file-upload-style', WPFILEUPLOAD_DIR.'css/wordpress_file_upload_style_relaxed.css',false,'1.0','all');
@@ -91,7 +98,8 @@ function wfu_enqueue_frontpage_scripts() {
91
  wp_enqueue_style('wordpress-file-upload-style', WPFILEUPLOAD_DIR.'css/wordpress_file_upload_style.css',false,'1.0','all');
92
  wp_enqueue_style('wordpress-file-upload-style-safe', WPFILEUPLOAD_DIR.'css/wordpress_file_upload_style_safe.css',false,'1.0','all');
93
  }
94
- wp_enqueue_style('jquery-ui-css', '//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css');
 
95
  wp_enqueue_style('jquery-ui-timepicker-addon-css', WPFILEUPLOAD_DIR.'vendor/datetimepicker/jquery-ui-timepicker-addon.min.css',false,'1.0','all');
96
  wp_enqueue_script('json_class', WPFILEUPLOAD_DIR.'js/json2.js');
97
  wp_enqueue_script('wordpress_file_upload_script', WPFILEUPLOAD_DIR.'js/wordpress_file_upload_functions.js');
@@ -104,7 +112,7 @@ function wfu_include_lib() {
104
  if ( $handle = opendir(plugin_dir_path( __FILE__ )."lib/") ) {
105
  $blacklist = array('.', '..');
106
  while ( false !== ($file = readdir($handle)) )
107
- if ( !in_array($file, $blacklist) )
108
  include_once plugin_dir_path( __FILE__ )."lib/".$file;
109
  closedir($handle);
110
  }
@@ -274,7 +282,7 @@ function wordpress_file_upload_function($incomingfromhandler) {
274
  $section_array = array( $params["fitmode"] );
275
  foreach ( $items_in_section as $item_in_section ) {
276
  $item_in_section = strtolower(trim($item_in_section));
277
- if ( $components_indexed[$item_in_section]['multiplacements'] || $components_indexed[$item_in_section]['occurrencies'] == 0 ) {
278
  $components_indexed[$item_in_section]['occurrencies'] ++;
279
  $occurrence_index = ( $components_indexed[$item_in_section]['multiplacements'] ? $components_indexed[$item_in_section]['occurrencies'] : 0 );
280
  if ( $item_in_section == "title" ) array_push($section_array, wfu_prepare_title_block($params, $additional_params, $occurrence_index));
4
  /*
5
  Plugin URI: http://www.iptanus.com/support/wordpress-file-upload
6
  Description: Simple interface to upload files from a page.
7
+ Version: 3.5.0
8
  Author: Nickolas Bossinas
9
  Author URI: http://www.iptanus.com
10
  */
34
  //wfu_tb_log_version v3.0 changes:
35
  // uploadtime field added
36
  // blogid field added
37
+ //wfu_tb_log_version v4.0 changes:
38
+ // filedata field added
39
+ $wfu_tb_log_version = "4.0";
40
  $wfu_tb_userdata_version = "1.0";
41
+ $wfu_tb_dbxqueue_version = "1.0";
42
 
43
  /* do not load plugin if this is the login page */
44
  $uri = $_SERVER['REQUEST_URI'];
49
  DEFINE("ABSWPFILEUPLOAD_DIR", ( substr(ABSPATH, -1) == "/" ? substr(ABSPATH, 0, -1) : ABSPATH ).WPFILEUPLOAD_DIR);
50
  $_SESSION['wfu_ABSPATH'] = ABSPATH;
51
  add_shortcode("wordpress_file_upload", "wordpress_file_upload_handler");
52
+ load_plugin_textdomain('wp-file-upload', false, dirname(plugin_basename (__FILE__)).'/languages');
53
  /* load styles and scripts for front pages */
54
  if ( !is_admin() ) {
55
  add_action( 'wp_enqueue_scripts', 'wfu_enqueue_frontpage_scripts' );
73
  add_action('wp_ajax_wfu_ajax_action_download_file_monitor', 'wfu_ajax_action_download_file_monitor');
74
  add_action('wp_ajax_nopriv_wfu_ajax_action_download_file_monitor', 'wfu_ajax_action_download_file_monitor');
75
  add_action('wp_ajax_wfu_ajax_action_edit_shortcode', 'wfu_ajax_action_edit_shortcode');
76
+ add_action('wp_ajax_wfu_ajax_action_get_historylog_page', 'wfu_ajax_action_get_historylog_page');
77
  wfu_include_lib();
78
  //widget
79
  add_action( 'widgets_init', 'register_wfu_widget' );
86
  $plugin_options = wfu_decode_plugin_options(get_option( "wordpress_file_upload_options" ));
87
  $relaxcss = false;
88
  if ( isset($plugin_options['relaxcss']) ) $relaxcss = ( $plugin_options['relaxcss'] == '1' );
89
+ //apply wfu_before_frontpage_scripts to get additional settings
90
+ $changable_data = array();
91
+ $ret_data = apply_filters('wfu_before_frontpage_scripts', $changable_data);
92
 
93
  if ( $relaxcss ) {
94
  wp_enqueue_style('wordpress-file-upload-style', WPFILEUPLOAD_DIR.'css/wordpress_file_upload_style_relaxed.css',false,'1.0','all');
98
  wp_enqueue_style('wordpress-file-upload-style', WPFILEUPLOAD_DIR.'css/wordpress_file_upload_style.css',false,'1.0','all');
99
  wp_enqueue_style('wordpress-file-upload-style-safe', WPFILEUPLOAD_DIR.'css/wordpress_file_upload_style_safe.css',false,'1.0','all');
100
  }
101
+ if ( !isset($ret_data["correct_NextGenGallery_incompatibility"]) || $ret_data["correct_NextGenGallery_incompatibility"] != "true" )
102
+ wp_enqueue_style('jquery-ui-css', '//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css');
103
  wp_enqueue_style('jquery-ui-timepicker-addon-css', WPFILEUPLOAD_DIR.'vendor/datetimepicker/jquery-ui-timepicker-addon.min.css',false,'1.0','all');
104
  wp_enqueue_script('json_class', WPFILEUPLOAD_DIR.'js/json2.js');
105
  wp_enqueue_script('wordpress_file_upload_script', WPFILEUPLOAD_DIR.'js/wordpress_file_upload_functions.js');
112
  if ( $handle = opendir(plugin_dir_path( __FILE__ )."lib/") ) {
113
  $blacklist = array('.', '..');
114
  while ( false !== ($file = readdir($handle)) )
115
+ if ( !in_array($file, $blacklist) && substr($file, 0, 1) != "_" )
116
  include_once plugin_dir_path( __FILE__ )."lib/".$file;
117
  closedir($handle);
118
  }
282
  $section_array = array( $params["fitmode"] );
283
  foreach ( $items_in_section as $item_in_section ) {
284
  $item_in_section = strtolower(trim($item_in_section));
285
+ if ( isset($components_indexed[$item_in_section]) && ( $components_indexed[$item_in_section]['multiplacements'] || $components_indexed[$item_in_section]['occurrencies'] == 0 ) ) {
286
  $components_indexed[$item_in_section]['occurrencies'] ++;
287
  $occurrence_index = ( $components_indexed[$item_in_section]['multiplacements'] ? $components_indexed[$item_in_section]['occurrencies'] : 0 );
288
  if ( $item_in_section == "title" ) array_push($section_array, wfu_prepare_title_block($params, $additional_params, $occurrence_index));