Version Description
- added fitmode attribute to make the plugin responsive
- added widget "Wordpress File Upload Form", so that the uploader can be installed in a sidebar
- changes to Shortcode Composer so that it can edit plugin instances existing in sidebars as widgets
- changes to Uploader Instances in plugin's area in Dashboard to show also instances existing inside sidebars
- added the ability to define dimensions (width and height) for the whole plugin
- dimensioning of plugin's elements improved when fitmode is set to "responsive"
- filter and non-object warnings of front-end file browser, appearing when DEBUG mode is ON, removed
- bug fixed to front-end file browser to hide Shortcode Composer button for non-admin users
- logic changed to front-end file browser to allow users to download files uploaded by other users
- code changed to front-end file browser to show a message when a user attempts to delete a file that was not uploaded by him/her
Download this release
Release Info
Developer | nickboss |
Plugin | WordPress File Upload |
Version | 3.4.0 |
Comparing to | |
See all releases |
Code changes from version 3.3.1 to 3.4.0
- css/wordpress_file_upload_style.css +1 -1
- css/wordpress_file_upload_style_relaxed.css +1 -1
- images/Version Comparison.png +0 -0
- js/wordpress_file_upload_adminfunctions.js +2 -2
- js/wordpress_file_upload_functions.js +1 -1
- languages/wordpress-file-upload-de_DE.mo +0 -0
- languages/wordpress-file-upload-de_DE.po +125 -113
- languages/wordpress-file-upload-el_GR.mo +0 -0
- languages/wordpress-file-upload-el_GR.po +125 -113
- languages/wordpress-file-upload-fr_FR.mo +0 -0
- languages/wordpress-file-upload-fr_FR.po +125 -113
- languages/wordpress-file-upload-sr_RS.mo +0 -0
- languages/wordpress-file-upload-sr_RS.po +125 -113
- languages/wordpress-file-upload.pot +125 -113
- lib/wfu_admin.php +44 -9
- lib/wfu_admin_composer.php +13 -2
- lib/wfu_ajaxactions.php +63 -33
- lib/wfu_attributes.php +30 -2
- lib/wfu_blocks.php +65 -14
- lib/wfu_constants.php +1 -0
- lib/wfu_functions.php +47 -16
- lib/wfu_widget.php +110 -0
- readme.txt +30 -12
- release_notes.txt +1 -1
- screenshot-6.jpg +0 -0
- screenshot-7.jpg +0 -0
- screenshot-8.jpg +0 -0
- wordpress_file_upload.php +17 -5
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{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[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:auto;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,div.file_space_clean,div.subfolder_container,span.subfolder_label,table.file_table_clean,td.file_td_clean{padding:0;background:0 0}div.file_div_clean{display:table;position:relative;margin:0;border-style:none;color:#000;line-height:1}div.file_space_clean{display:block;margin:0 0 2px;border-style:none;color:#000}table.file_table_clean{margin:0;border:none;border-spacing:0;color:#000;width:auto}td.file_td_clean{margin:0;border:none;border-spacing:0;color:#000;vertical-align:middle}span.subfolder_label{margin:0;border-style:none;color:#000}div.subfolder_container{margin:0;height:25px;border-style:none;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{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}
|
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}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:auto;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_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}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{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}
|
images/Version Comparison.png
CHANGED
Binary file
|
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("*"," "),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+=" ";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(7),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;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"]);var d=colourNameToHex(ct[0]);d||(d=ct[0]),jQuery("#wfu_attribute_"+e+"_color").wpColorPicker("color",d);
|
3 |
-
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+=" ",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+=" ";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"),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("*"," "),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+=" ";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+=" ",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+=" ";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)}})});
|
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¶ms_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(5),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;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)),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¶ms_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();
|
languages/wordpress-file-upload-de_DE.mo
CHANGED
Binary file
|
languages/wordpress-file-upload-de_DE.po
CHANGED
@@ -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-
|
6 |
-
"PO-Revision-Date: 2015-09-
|
7 |
"Last-Translator: nickboss <info@iptanus.com>\n"
|
8 |
"Language-Team: Iptanus Team <info@iptanus.com>\n"
|
9 |
"Language: de_DE\n"
|
@@ -29,11 +29,11 @@ msgstr "Datei auswählen"
|
|
29 |
msgid "Upload File"
|
30 |
msgstr "Datei hochladen"
|
31 |
|
32 |
-
#: lib/wfu_constants.php:
|
33 |
msgid "File Upload Notification"
|
34 |
msgstr "Datei-Upload-Benachrichtigung"
|
35 |
|
36 |
-
#: lib/wfu_constants.php:
|
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"
|
@@ -41,29 +41,29 @@ 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:
|
45 |
#, php-format
|
46 |
msgid "File %filename% uploaded successfully"
|
47 |
msgstr "Datei %filename% erfolgreich hochgeladen"
|
48 |
|
49 |
-
#: lib/wfu_constants.php:
|
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:
|
55 |
msgid "File %filename% not uploaded"
|
56 |
msgstr "Datei% filename% nicht hochgeladen"
|
57 |
|
58 |
-
#: lib/wfu_constants.php:
|
59 |
msgid "File %filename% is being uploaded"
|
60 |
msgstr "Datei %filename% wird hochgeladen"
|
61 |
|
62 |
-
#: lib/wfu_constants.php:
|
63 |
msgid "Your message"
|
64 |
msgstr "Ihre Nachricht"
|
65 |
|
66 |
-
#: lib/wfu_constants.php:
|
67 |
msgid ""
|
68 |
"Error. Could not resolve ftp target filedir. Check the domain in 'ftpinfo' "
|
69 |
"attribute."
|
@@ -71,12 +71,12 @@ 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:
|
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:
|
80 |
msgid ""
|
81 |
"Error. Could not extract ftp information from 'ftpinfo' attribute. Check its "
|
82 |
"syntax."
|
@@ -84,7 +84,7 @@ 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:
|
88 |
msgid ""
|
89 |
"Error. Could not resolve ftp target filename. Check the domain in 'ftpinfo' "
|
90 |
"attribute."
|
@@ -92,7 +92,7 @@ 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:
|
96 |
msgid ""
|
97 |
"Error. The upload size limit of PHP directive upload_max_filesize is "
|
98 |
"preventing the upload of big files.\n"
|
@@ -102,7 +102,7 @@ msgstr ""
|
|
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:
|
106 |
msgid ""
|
107 |
"The upload time limit of PHP directive max_input_time is preventing the "
|
108 |
"upload of big files.\n"
|
@@ -112,7 +112,7 @@ msgstr ""
|
|
112 |
"Hochladen von großen Dateien. \n"
|
113 |
"Das max_input_time Limit ist derzeit:"
|
114 |
|
115 |
-
#: lib/wfu_constants.php:
|
116 |
msgid ""
|
117 |
"Error. Permission denied to write to target folder.\n"
|
118 |
"Check and correct read/write permissions of target folder."
|
@@ -120,35 +120,35 @@ 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:
|
124 |
msgid "Targer folder doesn't exist."
|
125 |
msgstr "Ziel-Ordner nicht vorhanden ist."
|
126 |
|
127 |
-
#: lib/wfu_constants.php:
|
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:
|
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:
|
138 |
msgid "File not allowed."
|
139 |
msgstr "Dateiformat nicht erlaubt"
|
140 |
|
141 |
-
#: lib/wfu_constants.php:
|
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:
|
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:
|
152 |
msgid ""
|
153 |
"Upload failed! The uploaded file exceeds the file size limit of the server. "
|
154 |
"Please contact the administrator."
|
@@ -156,7 +156,7 @@ 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:
|
160 |
msgid ""
|
161 |
"Upload failed! The duration of the upload exceeded the time limit of the "
|
162 |
"server. Please contact the administrator."
|
@@ -165,7 +165,7 @@ msgstr ""
|
|
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:
|
169 |
msgid ""
|
170 |
"Upload failed! The uploaded file exceeds the MAX_FILE_SIZE directive that "
|
171 |
"was specified in the HTML form."
|
@@ -173,21 +173,21 @@ 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:
|
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:
|
181 |
msgid "Upload failed! No file was uploaded."
|
182 |
msgstr "Hochladen fehlgeschlagen! Es wurde keine Datei hochgeladen."
|
183 |
|
184 |
-
#: lib/wfu_constants.php:
|
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:
|
191 |
msgid ""
|
192 |
"Upload failed! Error occured while moving temporary file. Please contact "
|
193 |
"administrator."
|
@@ -195,7 +195,7 @@ 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:
|
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 "
|
@@ -206,21 +206,21 @@ msgstr ""
|
|
206 |
"Upload-Stopp verursacht, zur Prüfung der Liste der geladenen Erweiterungen "
|
207 |
"kann phpinfo() helfen."
|
208 |
|
209 |
-
#: lib/wfu_constants.php:
|
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:
|
216 |
msgid "Upload failed!"
|
217 |
msgstr "Hochladen fehlgeschlagen!"
|
218 |
|
219 |
-
#: lib/wfu_constants.php:
|
220 |
msgid "No file!"
|
221 |
msgstr "Keine Datei!"
|
222 |
|
223 |
-
#: lib/wfu_constants.php:
|
224 |
msgid ""
|
225 |
"Upload failed! The upload has been canceled by the user or the browser "
|
226 |
"dropped the connection."
|
@@ -228,27 +228,27 @@ 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:
|
232 |
msgid "Upload failed! Unknown error."
|
233 |
msgstr "Hochladen fehlgeschlagen! Unbekannter Fehler."
|
234 |
|
235 |
-
#: lib/wfu_constants.php:
|
236 |
msgid "Please contact the administrator."
|
237 |
msgstr "Bitte kontaktieren Sie den Administrator."
|
238 |
|
239 |
-
#: lib/wfu_constants.php:
|
240 |
msgid "No result from remote server!"
|
241 |
msgstr "Kein Ergebnis vom Remote-Server!"
|
242 |
|
243 |
-
#: lib/wfu_constants.php:
|
244 |
msgid " but with warnings"
|
245 |
msgstr " aber mit Warnhinweisen"
|
246 |
|
247 |
-
#: lib/wfu_constants.php:
|
248 |
msgid "Warning: JSON parse error."
|
249 |
msgstr "Warnung: JSON-Parser-Fehler."
|
250 |
|
251 |
-
#: lib/wfu_constants.php:
|
252 |
msgid ""
|
253 |
"Upload parameters of this file, passed as JSON string to the handler, could "
|
254 |
"not be parsed."
|
@@ -256,21 +256,21 @@ 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:
|
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:
|
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:
|
274 |
msgid ""
|
275 |
"Redirection to classic form functionality occurred because AJAX is not "
|
276 |
"supported."
|
@@ -278,7 +278,7 @@ 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:
|
282 |
msgid ""
|
283 |
"Redirection to classic form functionality occurred because HTML5 is not "
|
284 |
"supported."
|
@@ -286,59 +286,59 @@ 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:
|
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:
|
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:
|
302 |
msgid "cannot be empty!"
|
303 |
msgstr "darf nicht leer sein!"
|
304 |
|
305 |
-
#: lib/wfu_constants.php:
|
306 |
msgid "number not valid!"
|
307 |
msgstr "Nummer nicht gültig!"
|
308 |
|
309 |
-
#: lib/wfu_constants.php:
|
310 |
msgid "email not valid!"
|
311 |
msgstr "email adresse ist ungültig!"
|
312 |
|
313 |
-
#: lib/wfu_constants.php:
|
314 |
msgid "emails do not match!"
|
315 |
msgstr "emails stimmen nicht überein!"
|
316 |
|
317 |
-
#: lib/wfu_constants.php:
|
318 |
msgid "no base email field in group!"
|
319 |
msgstr "keine basis email feld in der gruppe!"
|
320 |
|
321 |
-
#: lib/wfu_constants.php:
|
322 |
msgid "passwords do not match!"
|
323 |
msgstr "passwörter stimmen nicht überein"
|
324 |
|
325 |
-
#: lib/wfu_constants.php:
|
326 |
msgid "no base password field in group!"
|
327 |
msgstr "keine basispasswortfeld in der gruppe!"
|
328 |
|
329 |
-
#: lib/wfu_constants.php:
|
330 |
msgid "checkbox unchecked!"
|
331 |
msgstr "checkBox nicht aktiviert!"
|
332 |
|
333 |
-
#: lib/wfu_constants.php:
|
334 |
msgid "no option selected!"
|
335 |
msgstr "keine optionen selektiert!"
|
336 |
|
337 |
-
#: lib/wfu_constants.php:
|
338 |
msgid "no item selected!"
|
339 |
msgstr "keine dateien ausgewählt!"
|
340 |
|
341 |
-
#: lib/wfu_constants.php:
|
342 |
msgid ""
|
343 |
"There are more than one instances of the plugin in this page with the same "
|
344 |
"id. Please change it."
|
@@ -346,7 +346,7 @@ 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:
|
350 |
msgid ""
|
351 |
"Cannot edit the shortcode because the page has been modified. Please reload "
|
352 |
"the page."
|
@@ -354,27 +354,27 @@ 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:
|
358 |
msgid "Upload skipped! File already exists."
|
359 |
msgstr "Hochladen abgebrochen! Datei ist bereits vorhanden."
|
360 |
|
361 |
-
#: lib/wfu_constants.php:
|
362 |
msgid "No files have been selected!"
|
363 |
msgstr "Keine Dateien ausgewählt!"
|
364 |
|
365 |
-
#: lib/wfu_constants.php:
|
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:
|
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:
|
378 |
msgid ""
|
379 |
"Notification email was not sent because no recipients were defined. Please "
|
380 |
"check notifyrecipients attribute in the shortcode."
|
@@ -383,7 +383,7 @@ msgstr ""
|
|
383 |
"definiert wurde. Bitte überprüfen Sie das notifyrecipients-Attribut im "
|
384 |
"Shortcode."
|
385 |
|
386 |
-
#: lib/wfu_constants.php:
|
387 |
msgid ""
|
388 |
"Notification email was not sent due to an error. Please check "
|
389 |
"notifyrecipients, notifysubject and notifymessage attributes for errors."
|
@@ -391,7 +391,7 @@ 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:
|
395 |
msgid ""
|
396 |
"Redirection not executed because redirection link is empty. Please check "
|
397 |
"redirectlink attribute."
|
@@ -399,76 +399,76 @@ 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:
|
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:
|
410 |
msgid "Test Mode"
|
411 |
msgstr "Test Modus"
|
412 |
|
413 |
-
#: lib/wfu_constants.php:
|
414 |
msgid "select dir..."
|
415 |
msgstr "Wählen Sie das Verzeichnis ..."
|
416 |
|
417 |
-
#: lib/wfu_constants.php:
|
418 |
msgid "type dir"
|
419 |
msgstr "Geben Sie das Verzeichnis ein"
|
420 |
|
421 |
-
#: lib/wfu_constants.php:
|
422 |
msgid "Upload path: %filepath%"
|
423 |
msgstr "Upload-Pfad: %filepath%"
|
424 |
|
425 |
-
#: lib/wfu_constants.php:
|
426 |
msgid "Failed upload path: %filepath%"
|
427 |
msgstr "Fehlerhafter Upload-Pfad: %filepath%"
|
428 |
|
429 |
-
#: lib/wfu_constants.php:
|
430 |
msgid " (required)"
|
431 |
msgstr "(erforderlich)"
|
432 |
|
433 |
-
#: lib/wfu_constants.php:
|
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:
|
440 |
msgid "This is a test message"
|
441 |
msgstr "This is a test message"
|
442 |
|
443 |
-
#: lib/wfu_constants.php:
|
444 |
msgid "This is a test administrator message"
|
445 |
msgstr "Dies ist eine Test-Admin-Nachricht"
|
446 |
|
447 |
-
#: lib/wfu_constants.php:
|
448 |
msgid "File testfile 1 under test"
|
449 |
msgstr "Datei testfile 1 wird getestet"
|
450 |
|
451 |
-
#: lib/wfu_constants.php:
|
452 |
msgid "File testfile 1 message"
|
453 |
msgstr "Datei testfile 1 Nachricht"
|
454 |
|
455 |
-
#: lib/wfu_constants.php:
|
456 |
msgid "File testfile 1 administrator message"
|
457 |
msgstr "Datei testfile 1 Admin-Nachricht"
|
458 |
|
459 |
-
#: lib/wfu_constants.php:
|
460 |
msgid "File testfile 2 under test"
|
461 |
msgstr "File testfile 2 wird getestet"
|
462 |
|
463 |
-
#: lib/wfu_constants.php:
|
464 |
msgid "File testfile 2 message"
|
465 |
msgstr "Datei testfile 2 Nachricht"
|
466 |
|
467 |
-
#: lib/wfu_constants.php:
|
468 |
msgid "File testfile 2 administrator message"
|
469 |
msgstr "Datei testfile 2 Admin-Nachricht"
|
470 |
|
471 |
-
#: lib/wfu_constants.php:
|
472 |
msgid ""
|
473 |
"Failed to add the shortcode to the page/post. Please try again. If the "
|
474 |
"message persists, contact administrator."
|
@@ -477,7 +477,7 @@ msgstr ""
|
|
477 |
"versuche es erneut. Wenn die Meldung weiterhin, wenden Sie sich "
|
478 |
"Administrator."
|
479 |
|
480 |
-
#: lib/wfu_constants.php:
|
481 |
msgid ""
|
482 |
"Failed to edit the shortcode because the contents of the page changed. Try "
|
483 |
"again to edit the shortcode."
|
@@ -485,7 +485,7 @@ 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:
|
489 |
msgid ""
|
490 |
"Failed to delete the shortcode because the contents of the page changed. Try "
|
491 |
"again to delete it."
|
@@ -493,7 +493,7 @@ 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:
|
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."
|
@@ -501,7 +501,7 @@ 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:
|
505 |
msgid ""
|
506 |
"Failed to update the shortcode because the contents of the page changed. Go "
|
507 |
"back to reload the shortcode."
|
@@ -509,7 +509,7 @@ 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:
|
513 |
msgid ""
|
514 |
"Failed to update the shortcode. Please try again. If the problem persists, "
|
515 |
"go back and reload the shortcode."
|
@@ -518,7 +518,7 @@ msgstr ""
|
|
518 |
"Wenn das Problem weiterhin besteht, gehen Sie zurück und laden Sie den "
|
519 |
"Shortcode neu."
|
520 |
|
521 |
-
#: lib/wfu_constants.php:
|
522 |
msgid ""
|
523 |
"Insert variable %userid% inside text. It will be replaced by the id of the "
|
524 |
"current user."
|
@@ -526,7 +526,7 @@ 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:
|
530 |
msgid ""
|
531 |
"Insert variable %username% inside text. It will be replaced by the username "
|
532 |
"of the current user."
|
@@ -534,7 +534,7 @@ 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:
|
538 |
msgid ""
|
539 |
"Insert variable %useremail% inside text. It will be replaced by the email of "
|
540 |
"the current user."
|
@@ -542,7 +542,7 @@ 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:
|
546 |
msgid ""
|
547 |
"Insert variable %filename% inside text. It will be replaced by the filename "
|
548 |
"of the uploaded file."
|
@@ -550,7 +550,7 @@ 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:
|
554 |
msgid ""
|
555 |
"Insert variable %filepath% inside text. It will be replaced by the full "
|
556 |
"filepath of the uploaded file."
|
@@ -558,7 +558,7 @@ 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:
|
562 |
msgid ""
|
563 |
"Insert variable %blogid% inside text. It will be replaced by the blog id of "
|
564 |
"the website."
|
@@ -566,7 +566,7 @@ 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:
|
570 |
msgid ""
|
571 |
"Insert variable %pageid% inside text. It will be replaced by the id of the "
|
572 |
"current page."
|
@@ -574,7 +574,7 @@ 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:
|
578 |
msgid ""
|
579 |
"Insert variable %pagetitle% inside text. It will be replaced by the title of "
|
580 |
"the current page."
|
@@ -582,7 +582,7 @@ 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:
|
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 "
|
@@ -592,76 +592,88 @@ msgstr ""
|
|
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:
|
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:
|
602 |
msgid "Upload in progress"
|
603 |
msgstr "Upload läuft"
|
604 |
|
605 |
-
#: lib/wfu_constants.php:
|
606 |
msgid "Upload in progress with warnings!"
|
607 |
msgstr "Upload läuft mit Warnhinweisen!"
|
608 |
|
609 |
-
#: lib/wfu_constants.php:
|
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:
|
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:
|
618 |
msgid "All files uploaded successfully"
|
619 |
msgstr "Alle Dateien erfolgreich hochgeladen"
|
620 |
|
621 |
-
#: lib/wfu_constants.php:
|
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:
|
626 |
msgid "File uploaded successfully but there are warnings!"
|
627 |
msgstr "Datei erfolgreich hochgeladen, aber es gibt Warnhinweise!"
|
628 |
|
629 |
-
#: lib/wfu_constants.php:
|
630 |
msgid "Some files failed to upload!"
|
631 |
msgstr "Einige Dateien konnten nicht hochgeladen werden!"
|
632 |
|
633 |
-
#: lib/wfu_constants.php:
|
634 |
msgid "All files failed to upload"
|
635 |
msgstr "Alle Dateien konnten nicht hochgeladen werden"
|
636 |
|
637 |
-
#: lib/wfu_constants.php:
|
638 |
msgid "File failed to upload"
|
639 |
msgstr "Datei konnte nicht hochgeladen werden"
|
640 |
|
641 |
-
#: lib/wfu_constants.php:
|
642 |
msgid "There are no files to upload!"
|
643 |
msgstr "Es gibt keine Dateien zum Hochladen!"
|
644 |
|
645 |
-
#: lib/wfu_constants.php:
|
646 |
msgid "Test upload message"
|
647 |
msgstr "Test-Upload-Nachricht"
|
648 |
|
649 |
-
#: lib/wfu_constants.php:
|
650 |
msgid "JSON parse warning!"
|
651 |
msgstr "JSON parse Warnung!"
|
652 |
|
653 |
-
#: lib/wfu_constants.php:
|
654 |
msgid "please wait while redirecting..."
|
655 |
msgstr "Bitte warten Sie, Sie werden umgeleitet ..."
|
656 |
|
657 |
-
#: lib/wfu_constants.php:
|
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:
|
662 |
msgid "loading visual editor"
|
663 |
msgstr "visueller Editor laden"
|
664 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
665 |
#~ msgid "Select File/Select Files"
|
666 |
#~ msgstr "Wählen Sie Datei/Dateien Auswählen"
|
667 |
|
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"
|
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"
|
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."
|
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."
|
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."
|
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"
|
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"
|
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."
|
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."
|
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."
|
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."
|
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."
|
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 "
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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 "
|
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 |
|
languages/wordpress-file-upload-el_GR.mo
CHANGED
Binary file
|
languages/wordpress-file-upload-el_GR.po
CHANGED
@@ -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-
|
6 |
-
"PO-Revision-Date: 2015-09-
|
7 |
"Last-Translator: nickboss <info@iptanus.com>\n"
|
8 |
"Language-Team: Iptanus Team <info@iptanus.com>\n"
|
9 |
"Language: el\n"
|
@@ -29,11 +29,11 @@ msgstr "Επιλογή Αρχείου"
|
|
29 |
msgid "Upload File"
|
30 |
msgstr "Αποστολή Αρχείου"
|
31 |
|
32 |
-
#: lib/wfu_constants.php:
|
33 |
msgid "File Upload Notification"
|
34 |
msgstr "Ειδοποίηση Αποστολής Αρχείου"
|
35 |
|
36 |
-
#: lib/wfu_constants.php:
|
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"
|
@@ -41,29 +41,29 @@ msgstr ""
|
|
41 |
"Αγαπητέ Παραλήπτη,%n%%n% Αυτό είναι ένα αυτοματοποιημένο μήνυμα για να σας "
|
42 |
"ενημερώσει ότι απεστάλη ένα νέο αρχείο.%n%%n%Φιλικούς Χαιρετισμούς"
|
43 |
|
44 |
-
#: lib/wfu_constants.php:
|
45 |
#, php-format
|
46 |
msgid "File %filename% uploaded successfully"
|
47 |
msgstr "Το αρχείο %filename% απεστάλη επιτυχώς"
|
48 |
|
49 |
-
#: lib/wfu_constants.php:
|
50 |
#, php-format
|
51 |
msgid "File %filename% uploaded successfully but with warnings"
|
52 |
msgstr "Το αρχείο %filename% απεστάλη επιτυχώς αλλά με προειδοποιήσεις"
|
53 |
|
54 |
-
#: lib/wfu_constants.php:
|
55 |
msgid "File %filename% not uploaded"
|
56 |
msgstr "Το αρχείο %filename% δεν απεστάλη"
|
57 |
|
58 |
-
#: lib/wfu_constants.php:
|
59 |
msgid "File %filename% is being uploaded"
|
60 |
msgstr "Το αρχείο %filename% αποστέλλεται"
|
61 |
|
62 |
-
#: lib/wfu_constants.php:
|
63 |
msgid "Your message"
|
64 |
msgstr "Το μήνυμά σας"
|
65 |
|
66 |
-
#: lib/wfu_constants.php:
|
67 |
msgid ""
|
68 |
"Error. Could not resolve ftp target filedir. Check the domain in 'ftpinfo' "
|
69 |
"attribute."
|
@@ -71,11 +71,11 @@ msgstr ""
|
|
71 |
"Σφάλμα. Δεν ήταν δυνατή η επίλυση του καταλόγου προορισμού ftp. Ελέγξτε το "
|
72 |
"domain στην ιδιότητα 'ftpinfo'."
|
73 |
|
74 |
-
#: lib/wfu_constants.php:
|
75 |
msgid "Error. Invalid ftp information. Check 'ftpinfo' attribute."
|
76 |
msgstr "Σφάλμα. Μη έγκυρες πληροφορίες ftp. Ελέγξτε την ιδιότητα 'ftpinfo'."
|
77 |
|
78 |
-
#: lib/wfu_constants.php:
|
79 |
msgid ""
|
80 |
"Error. Could not extract ftp information from 'ftpinfo' attribute. Check its "
|
81 |
"syntax."
|
@@ -83,7 +83,7 @@ msgstr ""
|
|
83 |
"Σφάλμα. Δεν ήταν δυνατή η εξαγωγή πληροφοριών ftp από την ιδιότητα "
|
84 |
"'ftpinfo'. Ελέγξτε τη σύνταξή της."
|
85 |
|
86 |
-
#: lib/wfu_constants.php:
|
87 |
msgid ""
|
88 |
"Error. Could not resolve ftp target filename. Check the domain in 'ftpinfo' "
|
89 |
"attribute."
|
@@ -91,7 +91,7 @@ msgstr ""
|
|
91 |
"Σφάλμα. Δεν ήταν δυνατή η επίλυση του ονόματος αρχείου προορισμού ftp. "
|
92 |
"Ελέγξτε το domain στην ιδιότητα 'ftpinfo'."
|
93 |
|
94 |
-
#: lib/wfu_constants.php:
|
95 |
msgid ""
|
96 |
"Error. The upload size limit of PHP directive upload_max_filesize is "
|
97 |
"preventing the upload of big files.\n"
|
@@ -101,7 +101,7 @@ msgstr ""
|
|
101 |
"εμποδίζει την αποστολή μεγάλων αρχείων.\n"
|
102 |
"Το όριο της PHP ιδιότητας upload_max_filesize είναι:"
|
103 |
|
104 |
-
#: lib/wfu_constants.php:
|
105 |
msgid ""
|
106 |
"The upload time limit of PHP directive max_input_time is preventing the "
|
107 |
"upload of big files.\n"
|
@@ -111,7 +111,7 @@ msgstr ""
|
|
111 |
"εμποδίζει την αποστολή μεγάλων αρχείων.\n"
|
112 |
"Το όριο της PHP ιδιότητας max_input_time είναι:"
|
113 |
|
114 |
-
#: lib/wfu_constants.php:
|
115 |
msgid ""
|
116 |
"Error. Permission denied to write to target folder.\n"
|
117 |
"Check and correct read/write permissions of target folder."
|
@@ -119,33 +119,33 @@ msgstr ""
|
|
119 |
"Σφάλμα. Δεν επιτρέπεται η εγραφή στο φάκελο προορισμού.\n"
|
120 |
"Ελέγξτε και διορθώστε τα δικαιώματα ανάγνωσης/εγγραφής στο φάκελο προορισμού."
|
121 |
|
122 |
-
#: lib/wfu_constants.php:
|
123 |
msgid "Targer folder doesn't exist."
|
124 |
msgstr "Ο φάκελος προορισμού δεν υπάρχει."
|
125 |
|
126 |
-
#: lib/wfu_constants.php:
|
127 |
msgid "Upload failed! Missing a temporary folder."
|
128 |
msgstr "Η αποστολή απέτυχε! Λείπει ο προσωρινός φάκελος."
|
129 |
|
130 |
-
#: lib/wfu_constants.php:
|
131 |
msgid "Upload failed! Permission denied to write to target folder."
|
132 |
msgstr "Η αποστολή απέτυχε! Δεν επιτρέπεται η εγγραφή στο φάκελο προορισμού."
|
133 |
|
134 |
-
#: lib/wfu_constants.php:
|
135 |
msgid "File not allowed."
|
136 |
msgstr "Το αρχείο δεν επιτρέπεται."
|
137 |
|
138 |
-
#: lib/wfu_constants.php:
|
139 |
msgid "The uploaded file exceeds the file size limit."
|
140 |
msgstr "Το αποστελλόμενο αρχείο υπερβαίνει το όριο μεγέθους αρχείου."
|
141 |
|
142 |
-
#: lib/wfu_constants.php:
|
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:
|
149 |
msgid ""
|
150 |
"Upload failed! The uploaded file exceeds the file size limit of the server. "
|
151 |
"Please contact the administrator."
|
@@ -153,7 +153,7 @@ msgstr ""
|
|
153 |
"Η αποστολή απέτυχε! Το αποστελλόμενο αρχείο υπερβαίνει το όριο μεγέθους "
|
154 |
"αρχείου του server. Παρακαλούμε επικοινωνήστε με το διαχειριστή."
|
155 |
|
156 |
-
#: lib/wfu_constants.php:
|
157 |
msgid ""
|
158 |
"Upload failed! The duration of the upload exceeded the time limit of the "
|
159 |
"server. Please contact the administrator."
|
@@ -161,7 +161,7 @@ msgstr ""
|
|
161 |
"Η αποστολή απέτυχε! Η διάρκεια αποστολής υπερέβη το όριο χρόνου του server. "
|
162 |
"Παρακαλούμε επικοινωνήστε με το διαχειριστή."
|
163 |
|
164 |
-
#: lib/wfu_constants.php:
|
165 |
msgid ""
|
166 |
"Upload failed! The uploaded file exceeds the MAX_FILE_SIZE directive that "
|
167 |
"was specified in the HTML form."
|
@@ -169,19 +169,19 @@ msgstr ""
|
|
169 |
"Η αποστολή απέτυχε! Το αποστελλόμενο αρχείο υπερβαίνει την ιδιότητα "
|
170 |
"MAX_FILE_SIZE που ορίστηκε στη φόρμα HTML."
|
171 |
|
172 |
-
#: lib/wfu_constants.php:
|
173 |
msgid "Upload failed! The uploaded file was only partially uploaded."
|
174 |
msgstr "Η αποστολή απέτυχε: Το αποστελλόμενο αρχείο απεστάλλη μερικώς."
|
175 |
|
176 |
-
#: lib/wfu_constants.php:
|
177 |
msgid "Upload failed! No file was uploaded."
|
178 |
msgstr "Η αποστολή απέτυχε. Κανένα αρχείο δεν απεστάλη."
|
179 |
|
180 |
-
#: lib/wfu_constants.php:
|
181 |
msgid "Upload failed! Failed to write file to disk."
|
182 |
msgstr "Η αποστολή απέτυχε. Δεν κατέστη δυνατή η εγγραφή στο δίσκο."
|
183 |
|
184 |
-
#: lib/wfu_constants.php:
|
185 |
msgid ""
|
186 |
"Upload failed! Error occured while moving temporary file. Please contact "
|
187 |
"administrator."
|
@@ -189,7 +189,7 @@ msgstr ""
|
|
189 |
"Η αποστολή απέτυχε! Ένα σφάλμα συνέβη κατά τη μετακίνηση του προσωρινού "
|
190 |
"αρχείου. Παρακαλούμε επικοινωνήστε με το διαχειριστή."
|
191 |
|
192 |
-
#: lib/wfu_constants.php:
|
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 "
|
@@ -200,20 +200,20 @@ msgstr ""
|
|
200 |
"εξέταση της λίστας των επεκτάσεων που έχουν φορτωθεί με την phpinfo() να "
|
201 |
"βοηθήσει."
|
202 |
|
203 |
-
#: lib/wfu_constants.php:
|
204 |
msgid "Upload failed! Error occured while attemting to upload the file."
|
205 |
msgstr ""
|
206 |
"Η αποστολή απέτυχε! Συνέβη κάποιο σφάλμα κατά την αποστολή του αρχείου."
|
207 |
|
208 |
-
#: lib/wfu_constants.php:
|
209 |
msgid "Upload failed!"
|
210 |
msgstr "Η αποστολή απέτυχε!"
|
211 |
|
212 |
-
#: lib/wfu_constants.php:
|
213 |
msgid "No file!"
|
214 |
msgstr "Κανένα αρχείο!"
|
215 |
|
216 |
-
#: lib/wfu_constants.php:
|
217 |
msgid ""
|
218 |
"Upload failed! The upload has been canceled by the user or the browser "
|
219 |
"dropped the connection."
|
@@ -221,27 +221,27 @@ msgstr ""
|
|
221 |
"Η αποστολή απέτυχε! Είτε η αποστολή ακυρώθηκε από το χρήστη ή ο browser "
|
222 |
"έχασε τη σύνδεση."
|
223 |
|
224 |
-
#: lib/wfu_constants.php:
|
225 |
msgid "Upload failed! Unknown error."
|
226 |
msgstr "Η αποστολή απέτυχε! Άγνωστο σφάλμα."
|
227 |
|
228 |
-
#: lib/wfu_constants.php:
|
229 |
msgid "Please contact the administrator."
|
230 |
msgstr "Παρακαλούμε επικοινωνήστε με το διαχειριστή."
|
231 |
|
232 |
-
#: lib/wfu_constants.php:
|
233 |
msgid "No result from remote server!"
|
234 |
msgstr "Καμία απάντηση από τον απομακρυσμένο server!"
|
235 |
|
236 |
-
#: lib/wfu_constants.php:
|
237 |
msgid " but with warnings"
|
238 |
msgstr " αλλά με προειδοποιήσεις"
|
239 |
|
240 |
-
#: lib/wfu_constants.php:
|
241 |
msgid "Warning: JSON parse error."
|
242 |
msgstr "Προειδοποίηση: Σφάλμα μετατροπής JSON."
|
243 |
|
244 |
-
#: lib/wfu_constants.php:
|
245 |
msgid ""
|
246 |
"Upload parameters of this file, passed as JSON string to the handler, could "
|
247 |
"not be parsed."
|
@@ -249,19 +249,19 @@ msgstr ""
|
|
249 |
"Οι παράμετροι αποστολής αυτού του αρχείου, οι οποίες πέρασαν στο χειριστή ως "
|
250 |
"συμβολοσειρά JSON, δεν μπόρεσαν να μετατραπούν."
|
251 |
|
252 |
-
#: lib/wfu_constants.php:
|
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:
|
260 |
msgid ""
|
261 |
"Redirection to classic form functionality occurred due to unknown error."
|
262 |
msgstr "Προκλήθηκε μετάπτωση σε λειτουργία κλασικής φόρμας λόγω σφάλματος."
|
263 |
|
264 |
-
#: lib/wfu_constants.php:
|
265 |
msgid ""
|
266 |
"Redirection to classic form functionality occurred because AJAX is not "
|
267 |
"supported."
|
@@ -269,7 +269,7 @@ msgstr ""
|
|
269 |
"Προκλήθηκε μετάπτωση σε λειτουργία κλασικής φόρμας διότι δεν υποστηρίζεται η "
|
270 |
"AJAX."
|
271 |
|
272 |
-
#: lib/wfu_constants.php:
|
273 |
msgid ""
|
274 |
"Redirection to classic form functionality occurred because HTML5 is not "
|
275 |
"supported."
|
@@ -277,60 +277,60 @@ msgstr ""
|
|
277 |
"Προκλήθηκε μετάπτωση σε λειτουργία κλασικής φόρμας διότι δεν υποστηρίζεται η "
|
278 |
"HTML5."
|
279 |
|
280 |
-
#: lib/wfu_constants.php:
|
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:
|
288 |
msgid "Please enable popup windows from the browser's settings!"
|
289 |
msgstr ""
|
290 |
"Παρακαλούμε ενεργοποιήστε τα αναδυόμενα παράθυρα από τις ρυθμίσεις του "
|
291 |
"προγράμματος περιήγησης!"
|
292 |
|
293 |
-
#: lib/wfu_constants.php:
|
294 |
msgid "cannot be empty!"
|
295 |
msgstr "δεν μπορεί να είναι κενό!"
|
296 |
|
297 |
-
#: lib/wfu_constants.php:
|
298 |
msgid "number not valid!"
|
299 |
msgstr "μη έγκυρος αριθμός!"
|
300 |
|
301 |
-
#: lib/wfu_constants.php:
|
302 |
msgid "email not valid!"
|
303 |
msgstr "το email δεν είναι έγκυρο!"
|
304 |
|
305 |
-
#: lib/wfu_constants.php:
|
306 |
msgid "emails do not match!"
|
307 |
msgstr "τα emails δεν ταιριάζουν!"
|
308 |
|
309 |
-
#: lib/wfu_constants.php:
|
310 |
msgid "no base email field in group!"
|
311 |
msgstr "δεν υπάρχει αρχικό πεδίο email στο group!"
|
312 |
|
313 |
-
#: lib/wfu_constants.php:
|
314 |
msgid "passwords do not match!"
|
315 |
msgstr "οι κωδικοί δεν ταιριάζουν!"
|
316 |
|
317 |
-
#: lib/wfu_constants.php:
|
318 |
msgid "no base password field in group!"
|
319 |
msgstr "δεν υπάρχει αρχικό πεδίο κωδικού στο group!"
|
320 |
|
321 |
-
#: lib/wfu_constants.php:
|
322 |
msgid "checkbox unchecked!"
|
323 |
msgstr "το checkbox είναι μη επιλεγμένο!"
|
324 |
|
325 |
-
#: lib/wfu_constants.php:
|
326 |
msgid "no option selected!"
|
327 |
msgstr "δεν έχει γίνει επιλογή!"
|
328 |
|
329 |
-
#: lib/wfu_constants.php:
|
330 |
msgid "no item selected!"
|
331 |
msgstr "δεν έχει γίνει επιλογή!"
|
332 |
|
333 |
-
#: lib/wfu_constants.php:
|
334 |
msgid ""
|
335 |
"There are more than one instances of the plugin in this page with the same "
|
336 |
"id. Please change it."
|
@@ -338,7 +338,7 @@ msgstr ""
|
|
338 |
"Υπάρχουν περισσότερες από μία εμφανίσεις του plugin σε αυτή τη σελίδα με το "
|
339 |
"ίδιο id. Παρακαλούμε να το αλλάξετε."
|
340 |
|
341 |
-
#: lib/wfu_constants.php:
|
342 |
msgid ""
|
343 |
"Cannot edit the shortcode because the page has been modified. Please reload "
|
344 |
"the page."
|
@@ -346,24 +346,24 @@ msgstr ""
|
|
346 |
"Δεν είναι δυνατή η επεξεργασία του shortcode διότι η σελίδα τροποποιήθηκε. "
|
347 |
"Παρακαλούμε ξαναφορτώστε τη σελίδα."
|
348 |
|
349 |
-
#: lib/wfu_constants.php:
|
350 |
msgid "Upload skipped! File already exists."
|
351 |
msgstr "Η αποστολή παραβλέφθηκε! Το αρχείο υπάρχει ήδη."
|
352 |
|
353 |
-
#: lib/wfu_constants.php:
|
354 |
msgid "No files have been selected!"
|
355 |
msgstr "Δεν επιλέχθηκαν αρχεία!"
|
356 |
|
357 |
-
#: lib/wfu_constants.php:
|
358 |
msgid "WPFilebase Plugin not updated because there were no files uploaded."
|
359 |
msgstr "Το plugin WPFilebase δεν ενημερώθηκε διότι δεν απεστάλη κανένα αρχείο."
|
360 |
|
361 |
-
#: lib/wfu_constants.php:
|
362 |
msgid "Notification email was not sent because there were no files uploaded."
|
363 |
msgstr ""
|
364 |
"Δεν πραγματοποιήθηκε ειδοποίηση με email διότι δεν απεστάλη κανένα αρχείο."
|
365 |
|
366 |
-
#: lib/wfu_constants.php:
|
367 |
msgid ""
|
368 |
"Notification email was not sent because no recipients were defined. Please "
|
369 |
"check notifyrecipients attribute in the shortcode."
|
@@ -371,7 +371,7 @@ msgstr ""
|
|
371 |
"Δεν πραγματοποιήθηκε ειδοποίηση με email διότι δεν ορίστηκαν παραλήπτες. "
|
372 |
"Παρακαλούμε ελέγξτε την ιδιότητα notifyrecipients στο shortcode."
|
373 |
|
374 |
-
#: lib/wfu_constants.php:
|
375 |
msgid ""
|
376 |
"Notification email was not sent due to an error. Please check "
|
377 |
"notifyrecipients, notifysubject and notifymessage attributes for errors."
|
@@ -379,7 +379,7 @@ msgstr ""
|
|
379 |
"Δεν πραγματοποιήθηκε ειδοποίηση με email λόγω σφάλματος. Παρακαλούμε ελέγξτε "
|
380 |
"τις ιδιότητες notifyrecipients, notifysubject και notifymessage για σφάλματα."
|
381 |
|
382 |
-
#: lib/wfu_constants.php:
|
383 |
msgid ""
|
384 |
"Redirection not executed because redirection link is empty. Please check "
|
385 |
"redirectlink attribute."
|
@@ -387,75 +387,75 @@ msgstr ""
|
|
387 |
"Δεν πραγματοποιήθηκε αναδρομολόγηση διότι ο σύνδεσμος αναδρομολόγησης είναι "
|
388 |
"κενός. Παρακαλούμε ελέγξτε την ιδιότητα redirectlink."
|
389 |
|
390 |
-
#: lib/wfu_constants.php:
|
391 |
msgid ""
|
392 |
"Redirection not executed because not all files were successfully uploaded."
|
393 |
msgstr ""
|
394 |
"Δεν πραγματοποιήθηκε αναδρομολόγηση διότι δεν αποεστάλησαν όλα τα αρχεία "
|
395 |
"επιτυχώς."
|
396 |
|
397 |
-
#: lib/wfu_constants.php:
|
398 |
msgid "Test Mode"
|
399 |
msgstr "Κατάσταση Ελέγχου"
|
400 |
|
401 |
-
#: lib/wfu_constants.php:
|
402 |
msgid "select dir..."
|
403 |
msgstr "επιλογή καταλόγου..."
|
404 |
|
405 |
-
#: lib/wfu_constants.php:
|
406 |
msgid "type dir"
|
407 |
msgstr "εισάγετε κατάλογο"
|
408 |
|
409 |
-
#: lib/wfu_constants.php:
|
410 |
msgid "Upload path: %filepath%"
|
411 |
msgstr "Διαδρομή προορισμού: %filepath%"
|
412 |
|
413 |
-
#: lib/wfu_constants.php:
|
414 |
msgid "Failed upload path: %filepath%"
|
415 |
msgstr "Εσφαλμένη διαδρομή προορισμού: %filepath%"
|
416 |
|
417 |
-
#: lib/wfu_constants.php:
|
418 |
msgid " (required)"
|
419 |
msgstr " (απαραίτητο)"
|
420 |
|
421 |
-
#: lib/wfu_constants.php:
|
422 |
msgid "Files are being uploaded. Are you sure you want to exit the page?"
|
423 |
msgstr ""
|
424 |
"Υπάρχουν αρχεία που αποστέλλονται. Σίγουρα θέλετε να φύγετε από τη σελίδα;"
|
425 |
|
426 |
-
#: lib/wfu_constants.php:
|
427 |
msgid "This is a test message"
|
428 |
msgstr "Αυτό είναι ένα μήνυμα ελέγχου"
|
429 |
|
430 |
-
#: lib/wfu_constants.php:
|
431 |
msgid "This is a test administrator message"
|
432 |
msgstr "Αυτό είναι ένα μήνυμα διαχειριστή ελέγχου"
|
433 |
|
434 |
-
#: lib/wfu_constants.php:
|
435 |
msgid "File testfile 1 under test"
|
436 |
msgstr "Αρχείο testfile 1 υπό έλεγχο"
|
437 |
|
438 |
-
#: lib/wfu_constants.php:
|
439 |
msgid "File testfile 1 message"
|
440 |
msgstr "Μήνυμα αρχείου testfile 1"
|
441 |
|
442 |
-
#: lib/wfu_constants.php:
|
443 |
msgid "File testfile 1 administrator message"
|
444 |
msgstr "Μήνυμα διαχειριστή αρχείου testfile 1"
|
445 |
|
446 |
-
#: lib/wfu_constants.php:
|
447 |
msgid "File testfile 2 under test"
|
448 |
msgstr "Αρχείο testfile 2 υπό έλεγχο"
|
449 |
|
450 |
-
#: lib/wfu_constants.php:
|
451 |
msgid "File testfile 2 message"
|
452 |
msgstr "Μήνυμα αρχείου testfile 2"
|
453 |
|
454 |
-
#: lib/wfu_constants.php:
|
455 |
msgid "File testfile 2 administrator message"
|
456 |
msgstr "Μήνυμα διαχειριστή αρχείου testfile 2"
|
457 |
|
458 |
-
#: lib/wfu_constants.php:
|
459 |
msgid ""
|
460 |
"Failed to add the shortcode to the page/post. Please try again. If the "
|
461 |
"message persists, contact administrator."
|
@@ -463,7 +463,7 @@ msgstr ""
|
|
463 |
"Δεν κατέστη δυνατή η προσθήκη του shortcode στη σελίδα / άρθρο. Παρακαλώ "
|
464 |
"προσπάθησε ξανά. Αν το μήνυμα συνεχίζει, επικοινωνήστε με το διαχειριστή."
|
465 |
|
466 |
-
#: lib/wfu_constants.php:
|
467 |
msgid ""
|
468 |
"Failed to edit the shortcode because the contents of the page changed. Try "
|
469 |
"again to edit the shortcode."
|
@@ -471,7 +471,7 @@ msgstr ""
|
|
471 |
"Δεν ήταν δυνατή η επεξεργασία του shortcode διότι τα περιεχόμενα της σελίδας "
|
472 |
"άλλαξαν. Παρακαλούμε δοκιμάστε ξανά να επεξεργαστείτε το shortcode."
|
473 |
|
474 |
-
#: lib/wfu_constants.php:
|
475 |
msgid ""
|
476 |
"Failed to delete the shortcode because the contents of the page changed. Try "
|
477 |
"again to delete it."
|
@@ -479,7 +479,7 @@ msgstr ""
|
|
479 |
"Δεν ήταν δυνατή η διαγραφή του shortcode διότι τα περιεχόμενα της σελίδας "
|
480 |
"άλλαξαν. Παρακαλούμε δοκιμάστε ξανά να διαγράψετε το shortcode."
|
481 |
|
482 |
-
#: lib/wfu_constants.php:
|
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."
|
@@ -487,7 +487,7 @@ msgstr ""
|
|
487 |
"Η σελίδα που περιέχει το shortcode τροποποιήθηκε και δεν είναι πλέον σε "
|
488 |
"ισχύ. Παρακαλούμε πηγαίνετε πίσω και ξαναφορτώστε το shortcode."
|
489 |
|
490 |
-
#: lib/wfu_constants.php:
|
491 |
msgid ""
|
492 |
"Failed to update the shortcode because the contents of the page changed. Go "
|
493 |
"back to reload the shortcode."
|
@@ -495,7 +495,7 @@ msgstr ""
|
|
495 |
"Δεν ήταν δυνατή η ενημέρωση του shortcode διότι τα περιεχόμενα της σελίδας "
|
496 |
"άλλαξαν. Πηγαίνετε πίσω και ξαναφορτώστε το shortcode."
|
497 |
|
498 |
-
#: lib/wfu_constants.php:
|
499 |
msgid ""
|
500 |
"Failed to update the shortcode. Please try again. If the problem persists, "
|
501 |
"go back and reload the shortcode."
|
@@ -503,7 +503,7 @@ msgstr ""
|
|
503 |
"Δεν ήταν δυνατή η ενημέρωση του shortcode. Παρακαλούμε ξαναδοκιμάστε. Αν το "
|
504 |
"πρόβλημα παραμείνει, πηγαίνετε πίσω και ξαναφορτώστε το shortcode."
|
505 |
|
506 |
-
#: lib/wfu_constants.php:
|
507 |
msgid ""
|
508 |
"Insert variable %userid% inside text. It will be replaced by the id of the "
|
509 |
"current user."
|
@@ -511,7 +511,7 @@ msgstr ""
|
|
511 |
"Εισάγετε τη μεταβλητή %userid% στο κείμενο. Θα αντικατασταθεί από το id του "
|
512 |
"τρέχοντος χρήστη."
|
513 |
|
514 |
-
#: lib/wfu_constants.php:
|
515 |
msgid ""
|
516 |
"Insert variable %username% inside text. It will be replaced by the username "
|
517 |
"of the current user."
|
@@ -519,7 +519,7 @@ msgstr ""
|
|
519 |
"Εισάγετε τη μεταβλητή %username% στο κείμενο. Θα αντικατασταθεί από το όνομα "
|
520 |
"του τρέχοντος χρήστη."
|
521 |
|
522 |
-
#: lib/wfu_constants.php:
|
523 |
msgid ""
|
524 |
"Insert variable %useremail% inside text. It will be replaced by the email of "
|
525 |
"the current user."
|
@@ -527,7 +527,7 @@ msgstr ""
|
|
527 |
"Εισάγετε τη μεταβλητή %useremail% στο κείμενο. Θα αντικατασταθεί από το "
|
528 |
"email του τρέχοντος χρήστη."
|
529 |
|
530 |
-
#: lib/wfu_constants.php:
|
531 |
msgid ""
|
532 |
"Insert variable %filename% inside text. It will be replaced by the filename "
|
533 |
"of the uploaded file."
|
@@ -535,7 +535,7 @@ msgstr ""
|
|
535 |
"Εισάγετε τη μεταβλητή %filename% στο κείμενο. Θα αντικατασταθεί από το όνομα "
|
536 |
"του αποστελλομένου αρχείου."
|
537 |
|
538 |
-
#: lib/wfu_constants.php:
|
539 |
msgid ""
|
540 |
"Insert variable %filepath% inside text. It will be replaced by the full "
|
541 |
"filepath of the uploaded file."
|
@@ -543,7 +543,7 @@ msgstr ""
|
|
543 |
"Εισάγετε τη μεταβλητή %filepath% στο κείμενο. Θα αντικατασταθεί από την "
|
544 |
"πλήρη διαδρομή του αποστελλομένου αρχείου."
|
545 |
|
546 |
-
#: lib/wfu_constants.php:
|
547 |
msgid ""
|
548 |
"Insert variable %blogid% inside text. It will be replaced by the blog id of "
|
549 |
"the website."
|
@@ -551,7 +551,7 @@ msgstr ""
|
|
551 |
"Εισάγετε τη μεταβλητή %blogid% στο κείμενο. Θα αντικατασταθεί από το blog id "
|
552 |
"της ιστοσελίδας."
|
553 |
|
554 |
-
#: lib/wfu_constants.php:
|
555 |
msgid ""
|
556 |
"Insert variable %pageid% inside text. It will be replaced by the id of the "
|
557 |
"current page."
|
@@ -559,7 +559,7 @@ msgstr ""
|
|
559 |
"Εισάγετε τη μεταβλητή %pageid% στο κείμενο. Θα αντικατασταθεί από το id της "
|
560 |
"τρέχουσας σελίδας."
|
561 |
|
562 |
-
#: lib/wfu_constants.php:
|
563 |
msgid ""
|
564 |
"Insert variable %pagetitle% inside text. It will be replaced by the title of "
|
565 |
"the current page."
|
@@ -567,7 +567,7 @@ msgstr ""
|
|
567 |
"Εισάγετε τη μεταβλητή %pagetitle% στο κείμενο. Θα αντικατασταθεί από τον "
|
568 |
"τίτλο της τρέχουσας σελίδας."
|
569 |
|
570 |
-
#: lib/wfu_constants.php:
|
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 "
|
@@ -577,75 +577,87 @@ msgstr ""
|
|
577 |
"από την εμφανιζόμενη dropdown λίστα. Θα αντικατασταθεί από την τιμή που "
|
578 |
"εισήγαγε ο χρήστης σε αυτό το πεδίο."
|
579 |
|
580 |
-
#: lib/wfu_constants.php:
|
581 |
msgid "Insert variable %n% inside text to denote a line change."
|
582 |
msgstr ""
|
583 |
"Εισάγετε τη μεταβλητή %n% στο κείμενο για να υποδείξετε αλλαγή γραμμής."
|
584 |
|
585 |
-
#: lib/wfu_constants.php:
|
586 |
msgid "Upload in progress"
|
587 |
msgstr "Αποστολή σε εξέλιξη"
|
588 |
|
589 |
-
#: lib/wfu_constants.php:
|
590 |
msgid "Upload in progress with warnings!"
|
591 |
msgstr "Αποστολή σε εξέλιξη με προειδοποιήσεις!"
|
592 |
|
593 |
-
#: lib/wfu_constants.php:
|
594 |
msgid "Upload in progress but some files already failed!"
|
595 |
msgstr "Αποστολή σε εξέλιξη αλλά κάποια αρχεία ήδη απέτυχαν!"
|
596 |
|
597 |
-
#: lib/wfu_constants.php:
|
598 |
msgid "Upload in progress but no files uploaded so far!"
|
599 |
msgstr "Αποστολή σε εξέλιξη αλλά δεν απεστάλη κανένα αρχείο μέχρι τώρα!"
|
600 |
|
601 |
-
#: lib/wfu_constants.php:
|
602 |
msgid "All files uploaded successfully"
|
603 |
msgstr "Όλα τα αρχεία απεστάλησαν επιτυχώς"
|
604 |
|
605 |
-
#: lib/wfu_constants.php:
|
606 |
msgid "All files uploaded successfully but there are warnings!"
|
607 |
msgstr "Όλα τα αρχεία απεστάλησαν επιτυχώς αλλά υπάρχουν προειδοποιήσεις!"
|
608 |
|
609 |
-
#: lib/wfu_constants.php:
|
610 |
msgid "File uploaded successfully but there are warnings!"
|
611 |
msgstr "Το αρχείο απεστάλη επιτυχώς αλλά υπάρχουν προειδοποιήσεις!"
|
612 |
|
613 |
-
#: lib/wfu_constants.php:
|
614 |
msgid "Some files failed to upload!"
|
615 |
msgstr "Μερικά αρχεία απέτυχαν να αποσταλούν!"
|
616 |
|
617 |
-
#: lib/wfu_constants.php:
|
618 |
msgid "All files failed to upload"
|
619 |
msgstr "Όλα τα αρχεία απέτυχαν να αποσταλούν"
|
620 |
|
621 |
-
#: lib/wfu_constants.php:
|
622 |
msgid "File failed to upload"
|
623 |
msgstr "Το αρχείο απέτυχε να αποσταλεί"
|
624 |
|
625 |
-
#: lib/wfu_constants.php:
|
626 |
msgid "There are no files to upload!"
|
627 |
msgstr "Δεν υπάρχουν αρχεία για αποστολή!"
|
628 |
|
629 |
-
#: lib/wfu_constants.php:
|
630 |
msgid "Test upload message"
|
631 |
msgstr "Μήνυμα αποστολής ελέγχου"
|
632 |
|
633 |
-
#: lib/wfu_constants.php:
|
634 |
msgid "JSON parse warning!"
|
635 |
msgstr "Προειδοποίηση μετατροπής JSON!"
|
636 |
|
637 |
-
#: lib/wfu_constants.php:
|
638 |
msgid "please wait while redirecting..."
|
639 |
msgstr "παρακαλούμε περιμένετε ενώ γίνεται αναδρομολόγηση..."
|
640 |
|
641 |
-
#: lib/wfu_constants.php:
|
642 |
msgid "Open visual shortcode editor in new window"
|
643 |
msgstr "Ανοίξτε τη γραφική επεξεργασία του shortcode σε νέο παράθυρο"
|
644 |
|
645 |
-
#: lib/wfu_constants.php:
|
646 |
msgid "loading visual editor"
|
647 |
msgstr "φόρτωση του γραφικού επεξεργαστή"
|
648 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
649 |
#~ msgid "Select File/Select Files"
|
650 |
#~ msgstr "Επιλογή Αρχείου/Επιλογή Αρχείων"
|
651 |
|
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"
|
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"
|
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."
|
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."
|
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."
|
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"
|
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"
|
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."
|
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."
|
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."
|
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."
|
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."
|
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 "
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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 "
|
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 |
|
languages/wordpress-file-upload-fr_FR.mo
CHANGED
Binary file
|
languages/wordpress-file-upload-fr_FR.po
CHANGED
@@ -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-
|
6 |
-
"PO-Revision-Date: 2015-09-
|
7 |
"Last-Translator: nickboss <nickboss@iptanus.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"Language: fr_FR\n"
|
@@ -28,11 +28,11 @@ msgstr "Sélectionnez un fichier"
|
|
28 |
msgid "Upload File"
|
29 |
msgstr "Envoyer de fichier"
|
30 |
|
31 |
-
#: lib/wfu_constants.php:
|
32 |
msgid "File Upload Notification"
|
33 |
msgstr "Notification d'envoi de fichier"
|
34 |
|
35 |
-
#: lib/wfu_constants.php:
|
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"
|
@@ -40,30 +40,30 @@ 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:
|
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:
|
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:
|
55 |
msgid "File %filename% not uploaded"
|
56 |
msgstr "Le fichier %filename% n'a pas été envoyé"
|
57 |
|
58 |
-
#: lib/wfu_constants.php:
|
59 |
msgid "File %filename% is being uploaded"
|
60 |
msgstr "Le fichier %filename% est en cours d'envoi"
|
61 |
|
62 |
-
#: lib/wfu_constants.php:
|
63 |
msgid "Your message"
|
64 |
msgstr "Votre message"
|
65 |
|
66 |
-
#: lib/wfu_constants.php:
|
67 |
msgid ""
|
68 |
"Error. Could not resolve ftp target filedir. Check the domain in 'ftpinfo' "
|
69 |
"attribute."
|
@@ -71,13 +71,13 @@ 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:
|
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:
|
81 |
msgid ""
|
82 |
"Error. Could not extract ftp information from 'ftpinfo' attribute. Check its "
|
83 |
"syntax."
|
@@ -85,7 +85,7 @@ msgstr ""
|
|
85 |
"Erreur. Impossible d'obtenir les informations dans l'attribut 'ftpinfo'. "
|
86 |
"Vérifez sa syntax."
|
87 |
|
88 |
-
#: lib/wfu_constants.php:
|
89 |
msgid ""
|
90 |
"Error. Could not resolve ftp target filename. Check the domain in 'ftpinfo' "
|
91 |
"attribute."
|
@@ -93,7 +93,7 @@ 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:
|
97 |
msgid ""
|
98 |
"Error. The upload size limit of PHP directive upload_max_filesize is "
|
99 |
"preventing the upload of big files.\n"
|
@@ -103,7 +103,7 @@ msgstr ""
|
|
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:
|
107 |
msgid ""
|
108 |
"The upload time limit of PHP directive max_input_time is preventing the "
|
109 |
"upload of big files.\n"
|
@@ -113,7 +113,7 @@ msgstr ""
|
|
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:
|
117 |
msgid ""
|
118 |
"Error. Permission denied to write to target folder.\n"
|
119 |
"Check and correct read/write permissions of target folder."
|
@@ -122,34 +122,34 @@ msgstr ""
|
|
122 |
"Vérifiez et corrigez les permission en lecture/ecriture du repertoire de "
|
123 |
"destination."
|
124 |
|
125 |
-
#: lib/wfu_constants.php:
|
126 |
msgid "Targer folder doesn't exist."
|
127 |
msgstr "Le répertoire de destination n'existe pas."
|
128 |
|
129 |
-
#: lib/wfu_constants.php:
|
130 |
msgid "Upload failed! Missing a temporary folder."
|
131 |
msgstr "Envoi impossible! Il manque un répertoire temporaire."
|
132 |
|
133 |
-
#: lib/wfu_constants.php:
|
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:
|
139 |
msgid "File not allowed."
|
140 |
msgstr "Type de fichier non autorisé."
|
141 |
|
142 |
-
#: lib/wfu_constants.php:
|
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:
|
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:
|
153 |
msgid ""
|
154 |
"Upload failed! The uploaded file exceeds the file size limit of the server. "
|
155 |
"Please contact the administrator."
|
@@ -157,7 +157,7 @@ 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:
|
161 |
msgid ""
|
162 |
"Upload failed! The duration of the upload exceeded the time limit of the "
|
163 |
"server. Please contact the administrator."
|
@@ -165,7 +165,7 @@ 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:
|
169 |
msgid ""
|
170 |
"Upload failed! The uploaded file exceeds the MAX_FILE_SIZE directive that "
|
171 |
"was specified in the HTML form."
|
@@ -173,19 +173,19 @@ 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:
|
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:
|
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:
|
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:
|
189 |
msgid ""
|
190 |
"Upload failed! Error occured while moving temporary file. Please contact "
|
191 |
"administrator."
|
@@ -193,7 +193,7 @@ 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:
|
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 "
|
@@ -203,21 +203,21 @@ msgstr ""
|
|
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:
|
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:
|
213 |
msgid "Upload failed!"
|
214 |
msgstr "Envoi impossible!"
|
215 |
|
216 |
-
#: lib/wfu_constants.php:
|
217 |
msgid "No file!"
|
218 |
msgstr "Pas de fichier!"
|
219 |
|
220 |
-
#: lib/wfu_constants.php:
|
221 |
msgid ""
|
222 |
"Upload failed! The upload has been canceled by the user or the browser "
|
223 |
"dropped the connection."
|
@@ -225,27 +225,27 @@ 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:
|
229 |
msgid "Upload failed! Unknown error."
|
230 |
msgstr "Envoi impossible! Erreur inconnue."
|
231 |
|
232 |
-
#: lib/wfu_constants.php:
|
233 |
msgid "Please contact the administrator."
|
234 |
msgstr "Merci de contacter l'administrateur."
|
235 |
|
236 |
-
#: lib/wfu_constants.php:
|
237 |
msgid "No result from remote server!"
|
238 |
msgstr "Pas de résultat du serveur distant!"
|
239 |
|
240 |
-
#: lib/wfu_constants.php:
|
241 |
msgid " but with warnings"
|
242 |
msgstr "mais avec des avertissements"
|
243 |
|
244 |
-
#: lib/wfu_constants.php:
|
245 |
msgid "Warning: JSON parse error."
|
246 |
msgstr "Attention: Erreur d'analyse JSON"
|
247 |
|
248 |
-
#: lib/wfu_constants.php:
|
249 |
msgid ""
|
250 |
"Upload parameters of this file, passed as JSON string to the handler, could "
|
251 |
"not be parsed."
|
@@ -253,19 +253,19 @@ 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:
|
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:
|
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:
|
269 |
msgid ""
|
270 |
"Redirection to classic form functionality occurred because AJAX is not "
|
271 |
"supported."
|
@@ -273,7 +273,7 @@ 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:
|
277 |
msgid ""
|
278 |
"Redirection to classic form functionality occurred because HTML5 is not "
|
279 |
"supported."
|
@@ -281,59 +281,59 @@ 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:
|
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:
|
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:
|
297 |
msgid "cannot be empty!"
|
298 |
msgstr "ne peut pas être vide!"
|
299 |
|
300 |
-
#: lib/wfu_constants.php:
|
301 |
msgid "number not valid!"
|
302 |
msgstr "nombre non valide!"
|
303 |
|
304 |
-
#: lib/wfu_constants.php:
|
305 |
msgid "email not valid!"
|
306 |
msgstr "email n'est pas valable"
|
307 |
|
308 |
-
#: lib/wfu_constants.php:
|
309 |
msgid "emails do not match!"
|
310 |
msgstr "emails ne correspondent pas!"
|
311 |
|
312 |
-
#: lib/wfu_constants.php:
|
313 |
msgid "no base email field in group!"
|
314 |
msgstr "aucun champ de base email en groupe!"
|
315 |
|
316 |
-
#: lib/wfu_constants.php:
|
317 |
msgid "passwords do not match!"
|
318 |
msgstr "mots de passe ne correspondent pas!"
|
319 |
|
320 |
-
#: lib/wfu_constants.php:
|
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:
|
325 |
msgid "checkbox unchecked!"
|
326 |
msgstr "case à cocher désactivée!"
|
327 |
|
328 |
-
#: lib/wfu_constants.php:
|
329 |
msgid "no option selected!"
|
330 |
msgstr "aucune option sélectionnée!"
|
331 |
|
332 |
-
#: lib/wfu_constants.php:
|
333 |
msgid "no item selected!"
|
334 |
msgstr "Aucun article sélectionné!"
|
335 |
|
336 |
-
#: lib/wfu_constants.php:
|
337 |
msgid ""
|
338 |
"There are more than one instances of the plugin in this page with the same "
|
339 |
"id. Please change it."
|
@@ -341,7 +341,7 @@ 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:
|
345 |
msgid ""
|
346 |
"Cannot edit the shortcode because the page has been modified. Please reload "
|
347 |
"the page."
|
@@ -349,27 +349,27 @@ 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:
|
353 |
msgid "Upload skipped! File already exists."
|
354 |
msgstr "Envoi passé! Le fichier existe déjà."
|
355 |
|
356 |
-
#: lib/wfu_constants.php:
|
357 |
msgid "No files have been selected!"
|
358 |
msgstr "Aucun fichier n'a été envoyés!"
|
359 |
|
360 |
-
#: lib/wfu_constants.php:
|
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:
|
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:
|
373 |
msgid ""
|
374 |
"Notification email was not sent because no recipients were defined. Please "
|
375 |
"check notifyrecipients attribute in the shortcode."
|
@@ -377,7 +377,7 @@ 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:
|
381 |
msgid ""
|
382 |
"Notification email was not sent due to an error. Please check "
|
383 |
"notifyrecipients, notifysubject and notifymessage attributes for errors."
|
@@ -385,7 +385,7 @@ 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:
|
389 |
msgid ""
|
390 |
"Redirection not executed because redirection link is empty. Please check "
|
391 |
"redirectlink attribute."
|
@@ -393,73 +393,73 @@ 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:
|
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:
|
403 |
msgid "Test Mode"
|
404 |
msgstr "Mode de test"
|
405 |
|
406 |
-
#: lib/wfu_constants.php:
|
407 |
msgid "select dir..."
|
408 |
msgstr "sélectionnez dir"
|
409 |
|
410 |
-
#: lib/wfu_constants.php:
|
411 |
msgid "type dir"
|
412 |
msgstr "tapez dir"
|
413 |
|
414 |
-
#: lib/wfu_constants.php:
|
415 |
msgid "Upload path: %filepath%"
|
416 |
msgstr "Chemin d'Upload : %filepath%"
|
417 |
|
418 |
-
#: lib/wfu_constants.php:
|
419 |
msgid "Failed upload path: %filepath%"
|
420 |
msgstr "Mauvais répertoir d'envoi: %filepath%"
|
421 |
|
422 |
-
#: lib/wfu_constants.php:
|
423 |
msgid " (required)"
|
424 |
msgstr " (requis)"
|
425 |
|
426 |
-
#: lib/wfu_constants.php:
|
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:
|
431 |
msgid "This is a test message"
|
432 |
msgstr "Ceci est un message de test"
|
433 |
|
434 |
-
#: lib/wfu_constants.php:
|
435 |
msgid "This is a test administrator message"
|
436 |
msgstr "Ceci est un message administrateur de test"
|
437 |
|
438 |
-
#: lib/wfu_constants.php:
|
439 |
msgid "File testfile 1 under test"
|
440 |
msgstr "File testfile 1 under test"
|
441 |
|
442 |
-
#: lib/wfu_constants.php:
|
443 |
msgid "File testfile 1 message"
|
444 |
msgstr "File testfile 1 message"
|
445 |
|
446 |
-
#: lib/wfu_constants.php:
|
447 |
msgid "File testfile 1 administrator message"
|
448 |
msgstr "Message administrateur File testfile"
|
449 |
|
450 |
-
#: lib/wfu_constants.php:
|
451 |
msgid "File testfile 2 under test"
|
452 |
msgstr "En test File testfile"
|
453 |
|
454 |
-
#: lib/wfu_constants.php:
|
455 |
msgid "File testfile 2 message"
|
456 |
msgstr "Message File testfile 2"
|
457 |
|
458 |
-
#: lib/wfu_constants.php:
|
459 |
msgid "File testfile 2 administrator message"
|
460 |
msgstr "Message administrateur File testfile 2"
|
461 |
|
462 |
-
#: lib/wfu_constants.php:
|
463 |
msgid ""
|
464 |
"Failed to add the shortcode to the page/post. Please try again. If the "
|
465 |
"message persists, contact administrator."
|
@@ -467,7 +467,7 @@ 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:
|
471 |
msgid ""
|
472 |
"Failed to edit the shortcode because the contents of the page changed. Try "
|
473 |
"again to edit the shortcode."
|
@@ -475,7 +475,7 @@ 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:
|
479 |
msgid ""
|
480 |
"Failed to delete the shortcode because the contents of the page changed. Try "
|
481 |
"again to delete it."
|
@@ -483,7 +483,7 @@ 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:
|
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."
|
@@ -491,7 +491,7 @@ 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:
|
495 |
msgid ""
|
496 |
"Failed to update the shortcode because the contents of the page changed. Go "
|
497 |
"back to reload the shortcode."
|
@@ -499,7 +499,7 @@ 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:
|
503 |
msgid ""
|
504 |
"Failed to update the shortcode. Please try again. If the problem persists, "
|
505 |
"go back and reload the shortcode."
|
@@ -507,7 +507,7 @@ 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:
|
511 |
msgid ""
|
512 |
"Insert variable %userid% inside text. It will be replaced by the id of the "
|
513 |
"current user."
|
@@ -515,7 +515,7 @@ 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:
|
519 |
msgid ""
|
520 |
"Insert variable %username% inside text. It will be replaced by the username "
|
521 |
"of the current user."
|
@@ -523,7 +523,7 @@ 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:
|
527 |
msgid ""
|
528 |
"Insert variable %useremail% inside text. It will be replaced by the email of "
|
529 |
"the current user."
|
@@ -531,7 +531,7 @@ 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:
|
535 |
msgid ""
|
536 |
"Insert variable %filename% inside text. It will be replaced by the filename "
|
537 |
"of the uploaded file."
|
@@ -539,7 +539,7 @@ 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:
|
543 |
msgid ""
|
544 |
"Insert variable %filepath% inside text. It will be replaced by the full "
|
545 |
"filepath of the uploaded file."
|
@@ -547,7 +547,7 @@ 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:
|
551 |
msgid ""
|
552 |
"Insert variable %blogid% inside text. It will be replaced by the blog id of "
|
553 |
"the website."
|
@@ -555,7 +555,7 @@ 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:
|
559 |
msgid ""
|
560 |
"Insert variable %pageid% inside text. It will be replaced by the id of the "
|
561 |
"current page."
|
@@ -563,7 +563,7 @@ 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:
|
567 |
msgid ""
|
568 |
"Insert variable %pagetitle% inside text. It will be replaced by the title of "
|
569 |
"the current page."
|
@@ -571,7 +571,7 @@ 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:
|
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 "
|
@@ -581,77 +581,89 @@ msgstr ""
|
|
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:
|
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:
|
591 |
msgid "Upload in progress"
|
592 |
msgstr "Envoi en cours"
|
593 |
|
594 |
-
#: lib/wfu_constants.php:
|
595 |
msgid "Upload in progress with warnings!"
|
596 |
msgstr "Envoi en cours mais avec des avertissements!"
|
597 |
|
598 |
-
#: lib/wfu_constants.php:
|
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:
|
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:
|
607 |
msgid "All files uploaded successfully"
|
608 |
msgstr "Tous les fichiers ont été envoyés avec succès"
|
609 |
|
610 |
-
#: lib/wfu_constants.php:
|
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:
|
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:
|
620 |
msgid "Some files failed to upload!"
|
621 |
msgstr "Certains fichiers n'ont pas été envoyé"
|
622 |
|
623 |
-
#: lib/wfu_constants.php:
|
624 |
msgid "All files failed to upload"
|
625 |
msgstr "Impossible d'envoyer les fichiers"
|
626 |
|
627 |
-
#: lib/wfu_constants.php:
|
628 |
msgid "File failed to upload"
|
629 |
msgstr "Impossible d'envoyer le fichier"
|
630 |
|
631 |
-
#: lib/wfu_constants.php:
|
632 |
msgid "There are no files to upload!"
|
633 |
msgstr "Il n'y a pas de fichiers à envoyer"
|
634 |
|
635 |
-
#: lib/wfu_constants.php:
|
636 |
msgid "Test upload message"
|
637 |
msgstr "Message de test d'upload"
|
638 |
|
639 |
-
#: lib/wfu_constants.php:
|
640 |
msgid "JSON parse warning!"
|
641 |
msgstr "Avertisements d'analyse JSON."
|
642 |
|
643 |
-
#: lib/wfu_constants.php:
|
644 |
msgid "please wait while redirecting..."
|
645 |
msgstr "merci de patienter pendans la redirection..."
|
646 |
|
647 |
-
#: lib/wfu_constants.php:
|
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:
|
652 |
msgid "loading visual editor"
|
653 |
msgstr "chargement éditeur visuel"
|
654 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
655 |
#~ msgid "Select File/Select Files"
|
656 |
#~ msgstr "Sélectionner un fichier/Sélectionner des fichiers"
|
657 |
|
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"
|
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"
|
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."
|
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."
|
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."
|
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"
|
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"
|
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."
|
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."
|
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."
|
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."
|
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."
|
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 "
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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 "
|
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 |
|
languages/wordpress-file-upload-sr_RS.mo
CHANGED
Binary file
|
languages/wordpress-file-upload-sr_RS.po
CHANGED
@@ -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-
|
6 |
-
"PO-Revision-Date: 2015-09-
|
7 |
"Last-Translator: Borisa Djuraskovic <borisad@webhostinghub.com>\n"
|
8 |
"Language-Team: Iptanus Team <info@iptanus.com>\n"
|
9 |
"Language: sr\n"
|
@@ -30,11 +30,11 @@ msgstr "Odaberi datoteku"
|
|
30 |
msgid "Upload File"
|
31 |
msgstr "Otpremi datoteku"
|
32 |
|
33 |
-
#: lib/wfu_constants.php:
|
34 |
msgid "File Upload Notification"
|
35 |
msgstr "Obaveštenje o otpremanju datoteke"
|
36 |
|
37 |
-
#: lib/wfu_constants.php:
|
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"
|
@@ -42,29 +42,29 @@ 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:
|
46 |
#, php-format
|
47 |
msgid "File %filename% uploaded successfully"
|
48 |
msgstr "Datoteka %filename% uspešno otpremljena"
|
49 |
|
50 |
-
#: lib/wfu_constants.php:
|
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:
|
56 |
msgid "File %filename% not uploaded"
|
57 |
msgstr "Datoteka %nazivdatoteke% nije otpremljena"
|
58 |
|
59 |
-
#: lib/wfu_constants.php:
|
60 |
msgid "File %filename% is being uploaded"
|
61 |
msgstr "Datoteka %nazivdatoteke% upravo se otprema"
|
62 |
|
63 |
-
#: lib/wfu_constants.php:
|
64 |
msgid "Your message"
|
65 |
msgstr "Vaša poruka"
|
66 |
|
67 |
-
#: lib/wfu_constants.php:
|
68 |
msgid ""
|
69 |
"Error. Could not resolve ftp target filedir. Check the domain in 'ftpinfo' "
|
70 |
"attribute."
|
@@ -72,11 +72,11 @@ msgstr ""
|
|
72 |
"Greška. Ciljni direktorijum datoteke nije mogao biti razrešen. Proverite "
|
73 |
"domen u 'ftpinfo' atributu."
|
74 |
|
75 |
-
#: lib/wfu_constants.php:
|
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:
|
80 |
msgid ""
|
81 |
"Error. Could not extract ftp information from 'ftpinfo' attribute. Check its "
|
82 |
"syntax."
|
@@ -84,7 +84,7 @@ msgstr ""
|
|
84 |
"Greška. Neuspelo izvlačenje ftp podataka iz 'ftpinfo' atributa. Proverite "
|
85 |
"njegovu sintaksu. "
|
86 |
|
87 |
-
#: lib/wfu_constants.php:
|
88 |
msgid ""
|
89 |
"Error. Could not resolve ftp target filename. Check the domain in 'ftpinfo' "
|
90 |
"attribute."
|
@@ -92,7 +92,7 @@ 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:
|
96 |
msgid ""
|
97 |
"Error. The upload size limit of PHP directive upload_max_filesize is "
|
98 |
"preventing the upload of big files.\n"
|
@@ -102,7 +102,7 @@ msgstr ""
|
|
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:
|
106 |
msgid ""
|
107 |
"The upload time limit of PHP directive max_input_time is preventing the "
|
108 |
"upload of big files.\n"
|
@@ -112,7 +112,7 @@ msgstr ""
|
|
112 |
"otpremanje velikih datoteka. \n"
|
113 |
"PHP direktiva ograničenja max_vreme_unosa je:"
|
114 |
|
115 |
-
#: lib/wfu_constants.php:
|
116 |
msgid ""
|
117 |
"Error. Permission denied to write to target folder.\n"
|
118 |
"Check and correct read/write permissions of target folder."
|
@@ -120,32 +120,32 @@ 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:
|
124 |
msgid "Targer folder doesn't exist."
|
125 |
msgstr "Ciljna fascikla ne postoji."
|
126 |
|
127 |
-
#: lib/wfu_constants.php:
|
128 |
msgid "Upload failed! Missing a temporary folder."
|
129 |
msgstr "Otpremanje neuspešno! Nedostaje privremena fascikla. "
|
130 |
|
131 |
-
#: lib/wfu_constants.php:
|
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:
|
136 |
msgid "File not allowed."
|
137 |
msgstr "Datoteka nije dozvoljena."
|
138 |
|
139 |
-
#: lib/wfu_constants.php:
|
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:
|
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:
|
149 |
msgid ""
|
150 |
"Upload failed! The uploaded file exceeds the file size limit of the server. "
|
151 |
"Please contact the administrator."
|
@@ -153,7 +153,7 @@ 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:
|
157 |
msgid ""
|
158 |
"Upload failed! The duration of the upload exceeded the time limit of the "
|
159 |
"server. Please contact the administrator."
|
@@ -161,7 +161,7 @@ msgstr ""
|
|
161 |
"Otpremanje neuspešno! Trajanje otpremanja prevazišlo je vremensko "
|
162 |
"ograničenje servera. Obratite se administratoru."
|
163 |
|
164 |
-
#: lib/wfu_constants.php:
|
165 |
msgid ""
|
166 |
"Upload failed! The uploaded file exceeds the MAX_FILE_SIZE directive that "
|
167 |
"was specified in the HTML form."
|
@@ -169,19 +169,19 @@ 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:
|
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:
|
177 |
msgid "Upload failed! No file was uploaded."
|
178 |
msgstr "Otpremanje neuspešno! Nijedna datoteka nije otpremljena."
|
179 |
|
180 |
-
#: lib/wfu_constants.php:
|
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:
|
185 |
msgid ""
|
186 |
"Upload failed! Error occured while moving temporary file. Please contact "
|
187 |
"administrator."
|
@@ -189,7 +189,7 @@ 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:
|
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 "
|
@@ -199,21 +199,21 @@ msgstr ""
|
|
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:
|
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:
|
209 |
msgid "Upload failed!"
|
210 |
msgstr "Otpremanje neuspešno! "
|
211 |
|
212 |
-
#: lib/wfu_constants.php:
|
213 |
msgid "No file!"
|
214 |
msgstr "Nema datoteke!"
|
215 |
|
216 |
-
#: lib/wfu_constants.php:
|
217 |
msgid ""
|
218 |
"Upload failed! The upload has been canceled by the user or the browser "
|
219 |
"dropped the connection."
|
@@ -221,27 +221,27 @@ msgstr ""
|
|
221 |
"Otpremanje neuspešno! Korisnik je otkazao otpremanje ili je pretraživač "
|
222 |
"izgubio internet vezu."
|
223 |
|
224 |
-
#: lib/wfu_constants.php:
|
225 |
msgid "Upload failed! Unknown error."
|
226 |
msgstr "Otpremanje neuspešno! Nepoznata greška."
|
227 |
|
228 |
-
#: lib/wfu_constants.php:
|
229 |
msgid "Please contact the administrator."
|
230 |
msgstr "Obratite se administratoru."
|
231 |
|
232 |
-
#: lib/wfu_constants.php:
|
233 |
msgid "No result from remote server!"
|
234 |
msgstr "Nema rezultata sa udaljenog servera!"
|
235 |
|
236 |
-
#: lib/wfu_constants.php:
|
237 |
msgid " but with warnings"
|
238 |
msgstr "ali sa upozorenjima"
|
239 |
|
240 |
-
#: lib/wfu_constants.php:
|
241 |
msgid "Warning: JSON parse error."
|
242 |
msgstr "Upozorenje: Greška prilikom JSON parsiranja."
|
243 |
|
244 |
-
#: lib/wfu_constants.php:
|
245 |
msgid ""
|
246 |
"Upload parameters of this file, passed as JSON string to the handler, could "
|
247 |
"not be parsed."
|
@@ -249,20 +249,20 @@ msgstr ""
|
|
249 |
"Otpremljeni parametri ove datoteke, poslate na obradu kao JSON niz, nisu "
|
250 |
"mogle biti parsirane. "
|
251 |
|
252 |
-
#: lib/wfu_constants.php:
|
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:
|
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:
|
266 |
msgid ""
|
267 |
"Redirection to classic form functionality occurred because AJAX is not "
|
268 |
"supported."
|
@@ -270,7 +270,7 @@ 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:
|
274 |
msgid ""
|
275 |
"Redirection to classic form functionality occurred because HTML5 is not "
|
276 |
"supported."
|
@@ -278,58 +278,58 @@ 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:
|
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:
|
289 |
msgid "Please enable popup windows from the browser's settings!"
|
290 |
msgstr ""
|
291 |
|
292 |
-
#: lib/wfu_constants.php:
|
293 |
msgid "cannot be empty!"
|
294 |
msgstr "ne može biti prazno!"
|
295 |
|
296 |
-
#: lib/wfu_constants.php:
|
297 |
msgid "number not valid!"
|
298 |
msgstr ""
|
299 |
|
300 |
-
#: lib/wfu_constants.php:
|
301 |
msgid "email not valid!"
|
302 |
msgstr ""
|
303 |
|
304 |
-
#: lib/wfu_constants.php:
|
305 |
msgid "emails do not match!"
|
306 |
msgstr ""
|
307 |
|
308 |
-
#: lib/wfu_constants.php:
|
309 |
msgid "no base email field in group!"
|
310 |
msgstr ""
|
311 |
|
312 |
-
#: lib/wfu_constants.php:
|
313 |
msgid "passwords do not match!"
|
314 |
msgstr ""
|
315 |
|
316 |
-
#: lib/wfu_constants.php:
|
317 |
msgid "no base password field in group!"
|
318 |
msgstr ""
|
319 |
|
320 |
-
#: lib/wfu_constants.php:
|
321 |
msgid "checkbox unchecked!"
|
322 |
msgstr ""
|
323 |
|
324 |
-
#: lib/wfu_constants.php:
|
325 |
msgid "no option selected!"
|
326 |
msgstr ""
|
327 |
|
328 |
-
#: lib/wfu_constants.php:
|
329 |
msgid "no item selected!"
|
330 |
msgstr ""
|
331 |
|
332 |
-
#: lib/wfu_constants.php:
|
333 |
msgid ""
|
334 |
"There are more than one instances of the plugin in this page with the same "
|
335 |
"id. Please change it."
|
@@ -337,7 +337,7 @@ msgstr ""
|
|
337 |
"Na ovoj stranici ima više od jednog primera plugin-a sa istom "
|
338 |
"identifikacijom."
|
339 |
|
340 |
-
#: lib/wfu_constants.php:
|
341 |
msgid ""
|
342 |
"Cannot edit the shortcode because the page has been modified. Please reload "
|
343 |
"the page."
|
@@ -345,24 +345,24 @@ 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:
|
349 |
msgid "Upload skipped! File already exists."
|
350 |
msgstr "Otpremanje preskočeno! Datoteka već postoji."
|
351 |
|
352 |
-
#: lib/wfu_constants.php:
|
353 |
msgid "No files have been selected!"
|
354 |
msgstr "Datoteke nisu odabrane!"
|
355 |
|
356 |
-
#: lib/wfu_constants.php:
|
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:
|
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:
|
366 |
msgid ""
|
367 |
"Notification email was not sent because no recipients were defined. Please "
|
368 |
"check notifyrecipients attribute in the shortcode."
|
@@ -370,7 +370,7 @@ 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:
|
374 |
msgid ""
|
375 |
"Notification email was not sent due to an error. Please check "
|
376 |
"notifyrecipients, notifysubject and notifymessage attributes for errors."
|
@@ -378,7 +378,7 @@ 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:
|
382 |
msgid ""
|
383 |
"Redirection not executed because redirection link is empty. Please check "
|
384 |
"redirectlink attribute."
|
@@ -386,79 +386,79 @@ msgstr ""
|
|
386 |
"Preusmeravanje nije izvršeno zato što je link za preusmeravanje prazan. "
|
387 |
"Proverite redirectlink atribut."
|
388 |
|
389 |
-
#: lib/wfu_constants.php:
|
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:
|
396 |
msgid "Test Mode"
|
397 |
msgstr "Režim testiranja"
|
398 |
|
399 |
-
#: lib/wfu_constants.php:
|
400 |
msgid "select dir..."
|
401 |
msgstr "odaberite dir..."
|
402 |
|
403 |
-
#: lib/wfu_constants.php:
|
404 |
msgid "type dir"
|
405 |
msgstr "vrsta direktorijuma "
|
406 |
|
407 |
-
#: lib/wfu_constants.php:
|
408 |
msgid "Upload path: %filepath%"
|
409 |
msgstr "Putanja otpremanja: %filepath%"
|
410 |
|
411 |
-
#: lib/wfu_constants.php:
|
412 |
msgid "Failed upload path: %filepath%"
|
413 |
msgstr "Putanja otpremanja neuspešna: %filepath%"
|
414 |
|
415 |
-
#: lib/wfu_constants.php:
|
416 |
msgid " (required)"
|
417 |
msgstr "(obavezna)"
|
418 |
|
419 |
-
#: lib/wfu_constants.php:
|
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:
|
424 |
msgid "This is a test message"
|
425 |
msgstr "Ovo je poruka testa"
|
426 |
|
427 |
-
#: lib/wfu_constants.php:
|
428 |
msgid "This is a test administrator message"
|
429 |
msgstr "Ovo je poruka testa administratora "
|
430 |
|
431 |
-
#: lib/wfu_constants.php:
|
432 |
msgid "File testfile 1 under test"
|
433 |
msgstr "Datoteka testfile 1 na testiranju"
|
434 |
|
435 |
-
#: lib/wfu_constants.php:
|
436 |
msgid "File testfile 1 message"
|
437 |
msgstr "Datoteka testfile 1 poruka"
|
438 |
|
439 |
-
#: lib/wfu_constants.php:
|
440 |
msgid "File testfile 1 administrator message"
|
441 |
msgstr "Datoteka testfile 1 poruka administratora"
|
442 |
|
443 |
-
#: lib/wfu_constants.php:
|
444 |
msgid "File testfile 2 under test"
|
445 |
msgstr "Datoteka testfile 2 na testiranju"
|
446 |
|
447 |
-
#: lib/wfu_constants.php:
|
448 |
msgid "File testfile 2 message"
|
449 |
msgstr "Datoteka testfile 2 poruka"
|
450 |
|
451 |
-
#: lib/wfu_constants.php:
|
452 |
msgid "File testfile 2 administrator message"
|
453 |
msgstr "Datoteka testfile 2 poruka administratora"
|
454 |
|
455 |
-
#: lib/wfu_constants.php:
|
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:
|
462 |
msgid ""
|
463 |
"Failed to edit the shortcode because the contents of the page changed. Try "
|
464 |
"again to edit the shortcode."
|
@@ -466,7 +466,7 @@ 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:
|
470 |
msgid ""
|
471 |
"Failed to delete the shortcode because the contents of the page changed. Try "
|
472 |
"again to delete it."
|
@@ -474,7 +474,7 @@ 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:
|
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."
|
@@ -482,7 +482,7 @@ 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:
|
486 |
msgid ""
|
487 |
"Failed to update the shortcode because the contents of the page changed. Go "
|
488 |
"back to reload the shortcode."
|
@@ -490,7 +490,7 @@ 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:
|
494 |
msgid ""
|
495 |
"Failed to update the shortcode. Please try again. If the problem persists, "
|
496 |
"go back and reload the shortcode."
|
@@ -498,7 +498,7 @@ 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:
|
502 |
msgid ""
|
503 |
"Insert variable %userid% inside text. It will be replaced by the id of the "
|
504 |
"current user."
|
@@ -506,7 +506,7 @@ msgstr ""
|
|
506 |
"Unesite promenljivu %idkorisnika% u tekst. Biće zamenjena id-jem tekućeg "
|
507 |
"korisnika."
|
508 |
|
509 |
-
#: lib/wfu_constants.php:
|
510 |
msgid ""
|
511 |
"Insert variable %username% inside text. It will be replaced by the username "
|
512 |
"of the current user."
|
@@ -514,7 +514,7 @@ 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:
|
518 |
msgid ""
|
519 |
"Insert variable %useremail% inside text. It will be replaced by the email of "
|
520 |
"the current user."
|
@@ -522,7 +522,7 @@ msgstr ""
|
|
522 |
"Unesite promenljivu %mailkorisnika% u tekst. Biće zamenjena mail-om tekućeg "
|
523 |
"korisnika."
|
524 |
|
525 |
-
#: lib/wfu_constants.php:
|
526 |
msgid ""
|
527 |
"Insert variable %filename% inside text. It will be replaced by the filename "
|
528 |
"of the uploaded file."
|
@@ -530,7 +530,7 @@ msgstr ""
|
|
530 |
"Unesite promenljivu %nazivdatoteke% u tekst. Biće zamenjena nazivom "
|
531 |
"otpremljene datoteke."
|
532 |
|
533 |
-
#: lib/wfu_constants.php:
|
534 |
msgid ""
|
535 |
"Insert variable %filepath% inside text. It will be replaced by the full "
|
536 |
"filepath of the uploaded file."
|
@@ -538,7 +538,7 @@ msgstr ""
|
|
538 |
"Unesite promenljivu %putanjadatoteke% u tekst. Biće zamenjena celom putanjom "
|
539 |
"otpremljene datoteke."
|
540 |
|
541 |
-
#: lib/wfu_constants.php:
|
542 |
msgid ""
|
543 |
"Insert variable %blogid% inside text. It will be replaced by the blog id of "
|
544 |
"the website."
|
@@ -546,7 +546,7 @@ msgstr ""
|
|
546 |
"Unesite promenljivu %idbloga% u tekst. Biće zamenjena id-jem bloga web site-"
|
547 |
"a."
|
548 |
|
549 |
-
#: lib/wfu_constants.php:
|
550 |
msgid ""
|
551 |
"Insert variable %pageid% inside text. It will be replaced by the id of the "
|
552 |
"current page."
|
@@ -554,7 +554,7 @@ msgstr ""
|
|
554 |
"Unesite promenljivu %idstranice% u tekst. Biće zamenjena id-jem tekuće "
|
555 |
"stranice."
|
556 |
|
557 |
-
#: lib/wfu_constants.php:
|
558 |
msgid ""
|
559 |
"Insert variable %pagetitle% inside text. It will be replaced by the title of "
|
560 |
"the current page."
|
@@ -562,7 +562,7 @@ msgstr ""
|
|
562 |
"Unesite promenljivu %naslovstranice% u tekst. Biće zamenjena naslovom tekuće "
|
563 |
"stranice."
|
564 |
|
565 |
-
#: lib/wfu_constants.php:
|
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 "
|
@@ -571,74 +571,86 @@ 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:
|
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:
|
579 |
msgid "Upload in progress"
|
580 |
msgstr "Otpremanje u toku"
|
581 |
|
582 |
-
#: lib/wfu_constants.php:
|
583 |
msgid "Upload in progress with warnings!"
|
584 |
msgstr "Otpremanje sa upozorenjima u toku!"
|
585 |
|
586 |
-
#: lib/wfu_constants.php:
|
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:
|
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:
|
595 |
msgid "All files uploaded successfully"
|
596 |
msgstr "Sve datoteke uspešno su otpremljene"
|
597 |
|
598 |
-
#: lib/wfu_constants.php:
|
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:
|
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:
|
607 |
msgid "Some files failed to upload!"
|
608 |
msgstr "Neke datoteke nisu otpremljene!"
|
609 |
|
610 |
-
#: lib/wfu_constants.php:
|
611 |
msgid "All files failed to upload"
|
612 |
msgstr "Nijedna datoteka nije otpremljena"
|
613 |
|
614 |
-
#: lib/wfu_constants.php:
|
615 |
msgid "File failed to upload"
|
616 |
msgstr "Datoteka nije uspešno otpremljena"
|
617 |
|
618 |
-
#: lib/wfu_constants.php:
|
619 |
msgid "There are no files to upload!"
|
620 |
msgstr "Nema datoteka za otpremanje"
|
621 |
|
622 |
-
#: lib/wfu_constants.php:
|
623 |
msgid "Test upload message"
|
624 |
msgstr "Testiraj poruku za otpremanje"
|
625 |
|
626 |
-
#: lib/wfu_constants.php:
|
627 |
msgid "JSON parse warning!"
|
628 |
msgstr "Upozorenje za JSON parsiranje!"
|
629 |
|
630 |
-
#: lib/wfu_constants.php:
|
631 |
msgid "please wait while redirecting..."
|
632 |
msgstr "Molimo sačekajte preusmeravanje..."
|
633 |
|
634 |
-
#: lib/wfu_constants.php:
|
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:
|
639 |
msgid "loading visual editor"
|
640 |
msgstr "učitavanje vizuelnog uređivača"
|
641 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
642 |
#~ msgid "Please fill in the above words: "
|
643 |
#~ msgstr "Popunite sledećim rečima:"
|
644 |
|
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"
|
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"
|
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."
|
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."
|
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."
|
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"
|
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"
|
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."
|
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."
|
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."
|
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."
|
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."
|
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 "
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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."
|
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 "
|
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 |
|
languages/wordpress-file-upload.pot
CHANGED
@@ -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-
|
6 |
-
"PO-Revision-Date: 2015-09-
|
7 |
"Last-Translator: nickboss <info@iptanus.com>\n"
|
8 |
"Language-Team: Iptanus Team <info@iptanus.com>\n"
|
9 |
"Language: en\n"
|
@@ -28,528 +28,540 @@ msgstr ""
|
|
28 |
msgid "Upload File"
|
29 |
msgstr ""
|
30 |
|
31 |
-
#: lib/wfu_constants.php:
|
32 |
msgid "File Upload Notification"
|
33 |
msgstr ""
|
34 |
|
35 |
-
#: lib/wfu_constants.php:
|
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:
|
42 |
#, php-format
|
43 |
msgid "File %filename% uploaded successfully"
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: lib/wfu_constants.php:
|
47 |
#, php-format
|
48 |
msgid "File %filename% uploaded successfully but with warnings"
|
49 |
msgstr ""
|
50 |
|
51 |
-
#: lib/wfu_constants.php:
|
52 |
msgid "File %filename% not uploaded"
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: lib/wfu_constants.php:
|
56 |
msgid "File %filename% is being uploaded"
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: lib/wfu_constants.php:
|
60 |
msgid "Your message"
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: lib/wfu_constants.php:
|
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:
|
70 |
msgid "Error. Invalid ftp information. Check 'ftpinfo' attribute."
|
71 |
msgstr ""
|
72 |
|
73 |
-
#: lib/wfu_constants.php:
|
74 |
msgid ""
|
75 |
"Error. Could not extract ftp information from 'ftpinfo' attribute. Check its "
|
76 |
"syntax."
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: lib/wfu_constants.php:
|
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:
|
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:
|
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:
|
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:
|
106 |
msgid "Targer folder doesn't exist."
|
107 |
msgstr ""
|
108 |
|
109 |
-
#: lib/wfu_constants.php:
|
110 |
msgid "Upload failed! Missing a temporary folder."
|
111 |
msgstr ""
|
112 |
|
113 |
-
#: lib/wfu_constants.php:
|
114 |
msgid "Upload failed! Permission denied to write to target folder."
|
115 |
msgstr ""
|
116 |
|
117 |
-
#: lib/wfu_constants.php:
|
118 |
msgid "File not allowed."
|
119 |
msgstr ""
|
120 |
|
121 |
-
#: lib/wfu_constants.php:
|
122 |
msgid "The uploaded file exceeds the file size limit."
|
123 |
msgstr ""
|
124 |
|
125 |
-
#: lib/wfu_constants.php:
|
126 |
msgid "The uploaded file exceeds 2GB and is not supported by this server."
|
127 |
msgstr ""
|
128 |
|
129 |
-
#: lib/wfu_constants.php:
|
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:
|
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:
|
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:
|
148 |
msgid "Upload failed! The uploaded file was only partially uploaded."
|
149 |
msgstr ""
|
150 |
|
151 |
-
#: lib/wfu_constants.php:
|
152 |
msgid "Upload failed! No file was uploaded."
|
153 |
msgstr ""
|
154 |
|
155 |
-
#: lib/wfu_constants.php:
|
156 |
msgid "Upload failed! Failed to write file to disk."
|
157 |
msgstr ""
|
158 |
|
159 |
-
#: lib/wfu_constants.php:
|
160 |
msgid ""
|
161 |
"Upload failed! Error occured while moving temporary file. Please contact "
|
162 |
"administrator."
|
163 |
msgstr ""
|
164 |
|
165 |
-
#: lib/wfu_constants.php:
|
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:
|
173 |
msgid "Upload failed! Error occured while attemting to upload the file."
|
174 |
msgstr ""
|
175 |
|
176 |
-
#: lib/wfu_constants.php:
|
177 |
msgid "Upload failed!"
|
178 |
msgstr ""
|
179 |
|
180 |
-
#: lib/wfu_constants.php:
|
181 |
msgid "No file!"
|
182 |
msgstr ""
|
183 |
|
184 |
-
#: lib/wfu_constants.php:
|
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:
|
191 |
msgid "Upload failed! Unknown error."
|
192 |
msgstr ""
|
193 |
|
194 |
-
#: lib/wfu_constants.php:
|
195 |
msgid "Please contact the administrator."
|
196 |
msgstr ""
|
197 |
|
198 |
-
#: lib/wfu_constants.php:
|
199 |
msgid "No result from remote server!"
|
200 |
msgstr ""
|
201 |
|
202 |
-
#: lib/wfu_constants.php:
|
203 |
msgid " but with warnings"
|
204 |
msgstr ""
|
205 |
|
206 |
-
#: lib/wfu_constants.php:
|
207 |
msgid "Warning: JSON parse error."
|
208 |
msgstr ""
|
209 |
|
210 |
-
#: lib/wfu_constants.php:
|
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:
|
217 |
msgid ""
|
218 |
"UploadStates, passed as JSON string to the handler, could not be parsed."
|
219 |
msgstr ""
|
220 |
|
221 |
-
#: lib/wfu_constants.php:
|
222 |
msgid ""
|
223 |
"Redirection to classic form functionality occurred due to unknown error."
|
224 |
msgstr ""
|
225 |
|
226 |
-
#: lib/wfu_constants.php:
|
227 |
msgid ""
|
228 |
"Redirection to classic form functionality occurred because AJAX is not "
|
229 |
"supported."
|
230 |
msgstr ""
|
231 |
|
232 |
-
#: lib/wfu_constants.php:
|
233 |
msgid ""
|
234 |
"Redirection to classic form functionality occurred because HTML5 is not "
|
235 |
"supported."
|
236 |
msgstr ""
|
237 |
|
238 |
-
#: lib/wfu_constants.php:
|
239 |
msgid ""
|
240 |
"Redirection to classic form functionality occurred due to JSON parse error."
|
241 |
msgstr ""
|
242 |
|
243 |
-
#: lib/wfu_constants.php:
|
244 |
msgid "Please enable popup windows from the browser's settings!"
|
245 |
msgstr ""
|
246 |
|
247 |
-
#: lib/wfu_constants.php:
|
248 |
msgid "cannot be empty!"
|
249 |
msgstr ""
|
250 |
|
251 |
-
#: lib/wfu_constants.php:
|
252 |
msgid "number not valid!"
|
253 |
msgstr ""
|
254 |
|
255 |
-
#: lib/wfu_constants.php:
|
256 |
msgid "email not valid!"
|
257 |
msgstr ""
|
258 |
|
259 |
-
#: lib/wfu_constants.php:
|
260 |
msgid "emails do not match!"
|
261 |
msgstr ""
|
262 |
|
263 |
-
#: lib/wfu_constants.php:
|
264 |
msgid "no base email field in group!"
|
265 |
msgstr ""
|
266 |
|
267 |
-
#: lib/wfu_constants.php:
|
268 |
msgid "passwords do not match!"
|
269 |
msgstr ""
|
270 |
|
271 |
-
#: lib/wfu_constants.php:
|
272 |
msgid "no base password field in group!"
|
273 |
msgstr ""
|
274 |
|
275 |
-
#: lib/wfu_constants.php:
|
276 |
msgid "checkbox unchecked!"
|
277 |
msgstr ""
|
278 |
|
279 |
-
#: lib/wfu_constants.php:
|
280 |
msgid "no option selected!"
|
281 |
msgstr ""
|
282 |
|
283 |
-
#: lib/wfu_constants.php:
|
284 |
msgid "no item selected!"
|
285 |
msgstr ""
|
286 |
|
287 |
-
#: lib/wfu_constants.php:
|
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:
|
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:
|
300 |
msgid "Upload skipped! File already exists."
|
301 |
msgstr ""
|
302 |
|
303 |
-
#: lib/wfu_constants.php:
|
304 |
msgid "No files have been selected!"
|
305 |
msgstr ""
|
306 |
|
307 |
-
#: lib/wfu_constants.php:
|
308 |
msgid "WPFilebase Plugin not updated because there were no files uploaded."
|
309 |
msgstr ""
|
310 |
|
311 |
-
#: lib/wfu_constants.php:
|
312 |
msgid "Notification email was not sent because there were no files uploaded."
|
313 |
msgstr ""
|
314 |
|
315 |
-
#: lib/wfu_constants.php:
|
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:
|
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:
|
328 |
msgid ""
|
329 |
"Redirection not executed because redirection link is empty. Please check "
|
330 |
"redirectlink attribute."
|
331 |
msgstr ""
|
332 |
|
333 |
-
#: lib/wfu_constants.php:
|
334 |
msgid ""
|
335 |
"Redirection not executed because not all files were successfully uploaded."
|
336 |
msgstr ""
|
337 |
|
338 |
-
#: lib/wfu_constants.php:
|
339 |
msgid "Test Mode"
|
340 |
msgstr ""
|
341 |
|
342 |
-
#: lib/wfu_constants.php:
|
343 |
msgid "select dir..."
|
344 |
msgstr ""
|
345 |
|
346 |
-
#: lib/wfu_constants.php:
|
347 |
msgid "type dir"
|
348 |
msgstr ""
|
349 |
|
350 |
-
#: lib/wfu_constants.php:
|
351 |
msgid "Upload path: %filepath%"
|
352 |
msgstr ""
|
353 |
|
354 |
-
#: lib/wfu_constants.php:
|
355 |
msgid "Failed upload path: %filepath%"
|
356 |
msgstr ""
|
357 |
|
358 |
-
#: lib/wfu_constants.php:
|
359 |
msgid " (required)"
|
360 |
msgstr ""
|
361 |
|
362 |
-
#: lib/wfu_constants.php:
|
363 |
msgid "Files are being uploaded. Are you sure you want to exit the page?"
|
364 |
msgstr ""
|
365 |
|
366 |
-
#: lib/wfu_constants.php:
|
367 |
msgid "This is a test message"
|
368 |
msgstr ""
|
369 |
|
370 |
-
#: lib/wfu_constants.php:
|
371 |
msgid "This is a test administrator message"
|
372 |
msgstr ""
|
373 |
|
374 |
-
#: lib/wfu_constants.php:
|
375 |
msgid "File testfile 1 under test"
|
376 |
msgstr ""
|
377 |
|
378 |
-
#: lib/wfu_constants.php:
|
379 |
msgid "File testfile 1 message"
|
380 |
msgstr ""
|
381 |
|
382 |
-
#: lib/wfu_constants.php:
|
383 |
msgid "File testfile 1 administrator message"
|
384 |
msgstr ""
|
385 |
|
386 |
-
#: lib/wfu_constants.php:
|
387 |
msgid "File testfile 2 under test"
|
388 |
msgstr ""
|
389 |
|
390 |
-
#: lib/wfu_constants.php:
|
391 |
msgid "File testfile 2 message"
|
392 |
msgstr ""
|
393 |
|
394 |
-
#: lib/wfu_constants.php:
|
395 |
msgid "File testfile 2 administrator message"
|
396 |
msgstr ""
|
397 |
|
398 |
-
#: lib/wfu_constants.php:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
490 |
msgid "Insert variable %n% inside text to denote a line change."
|
491 |
msgstr ""
|
492 |
|
493 |
-
#: lib/wfu_constants.php:
|
494 |
msgid "Upload in progress"
|
495 |
msgstr ""
|
496 |
|
497 |
-
#: lib/wfu_constants.php:
|
498 |
msgid "Upload in progress with warnings!"
|
499 |
msgstr ""
|
500 |
|
501 |
-
#: lib/wfu_constants.php:
|
502 |
msgid "Upload in progress but some files already failed!"
|
503 |
msgstr ""
|
504 |
|
505 |
-
#: lib/wfu_constants.php:
|
506 |
msgid "Upload in progress but no files uploaded so far!"
|
507 |
msgstr ""
|
508 |
|
509 |
-
#: lib/wfu_constants.php:
|
510 |
msgid "All files uploaded successfully"
|
511 |
msgstr ""
|
512 |
|
513 |
-
#: lib/wfu_constants.php:
|
514 |
msgid "All files uploaded successfully but there are warnings!"
|
515 |
msgstr ""
|
516 |
|
517 |
-
#: lib/wfu_constants.php:
|
518 |
msgid "File uploaded successfully but there are warnings!"
|
519 |
msgstr ""
|
520 |
|
521 |
-
#: lib/wfu_constants.php:
|
522 |
msgid "Some files failed to upload!"
|
523 |
msgstr ""
|
524 |
|
525 |
-
#: lib/wfu_constants.php:
|
526 |
msgid "All files failed to upload"
|
527 |
msgstr ""
|
528 |
|
529 |
-
#: lib/wfu_constants.php:
|
530 |
msgid "File failed to upload"
|
531 |
msgstr ""
|
532 |
|
533 |
-
#: lib/wfu_constants.php:
|
534 |
msgid "There are no files to upload!"
|
535 |
msgstr ""
|
536 |
|
537 |
-
#: lib/wfu_constants.php:
|
538 |
msgid "Test upload message"
|
539 |
msgstr ""
|
540 |
|
541 |
-
#: lib/wfu_constants.php:
|
542 |
msgid "JSON parse warning!"
|
543 |
msgstr ""
|
544 |
|
545 |
-
#: lib/wfu_constants.php:
|
546 |
msgid "please wait while redirecting..."
|
547 |
msgstr ""
|
548 |
|
549 |
-
#: lib/wfu_constants.php:
|
550 |
msgid "Open visual shortcode editor in new window"
|
551 |
msgstr ""
|
552 |
|
553 |
-
#: lib/wfu_constants.php:
|
554 |
msgid "loading visual editor"
|
555 |
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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"
|
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
|
367 |
msgid "This is a test message"
|
368 |
msgstr ""
|
369 |
|
370 |
+
#: lib/wfu_constants.php:133
|
371 |
msgid "This is a test administrator message"
|
372 |
msgstr ""
|
373 |
|
374 |
+
#: lib/wfu_constants.php:134
|
375 |
msgid "File testfile 1 under test"
|
376 |
msgstr ""
|
377 |
|
378 |
+
#: lib/wfu_constants.php:135
|
379 |
msgid "File testfile 1 message"
|
380 |
msgstr ""
|
381 |
|
382 |
+
#: lib/wfu_constants.php:136
|
383 |
msgid "File testfile 1 administrator message"
|
384 |
msgstr ""
|
385 |
|
386 |
+
#: lib/wfu_constants.php:137
|
387 |
msgid "File testfile 2 under test"
|
388 |
msgstr ""
|
389 |
|
390 |
+
#: lib/wfu_constants.php:138
|
391 |
msgid "File testfile 2 message"
|
392 |
msgstr ""
|
393 |
|
394 |
+
#: lib/wfu_constants.php:139
|
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 ""
|
lib/wfu_admin.php
CHANGED
@@ -185,7 +185,7 @@ function wordpress_file_upload_manage_dashboard() {
|
|
185 |
}
|
186 |
elseif ( $action == 'edit_shortcode' && $data_enc != "" && $tag != "" ) {
|
187 |
$data = wfu_decode_array_from_string(wfu_get_shortcode_data_from_safe($data_enc));
|
188 |
-
if ( wfu_check_edit_shortcode($data) ) wfu_shortcode_composer($data, $tag);
|
189 |
else $echo_str = wfu_manage_mainmenu(WFU_DASHBOARD_EDIT_SHORTCODE_REJECTED);
|
190 |
}
|
191 |
elseif ( $action == 'delete_shortcode' && $data_enc != "" ) {
|
@@ -481,14 +481,38 @@ function wfu_manage_instances() {
|
|
481 |
}
|
482 |
|
483 |
function wfu_manage_instances_of_shortcode($tag, $title, $slug, $inc) {
|
|
|
|
|
484 |
$siteurl = site_url();
|
485 |
$args = array( 'post_type' => array( "post", "page" ), 'post_status' => "publish,private,draft", 'posts_per_page' => -1 );
|
486 |
$posts = get_posts($args);
|
487 |
$wfu_shortcodes = array();
|
|
|
488 |
foreach ( $posts as $post ) {
|
489 |
$ret = wfu_get_content_shortcodes($post, $tag);
|
490 |
if ( $ret !== false ) $wfu_shortcodes = array_merge($wfu_shortcodes, $ret);
|
491 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
492 |
|
493 |
$list = wfu_construct_post_list($posts);
|
494 |
$pagelist = wfu_flatten_post_list($list["page"]);
|
@@ -528,9 +552,9 @@ function wfu_manage_instances_of_shortcode($tag, $title, $slug, $inc) {
|
|
528 |
$echo_str .= "\n\t\t\t\t\t".'<th scope="col" width="5%" style="text-align:center;">';
|
529 |
$echo_str .= "\n\t\t\t\t\t\t".'<label>#</label>';
|
530 |
$echo_str .= "\n\t\t\t\t\t".'</th>';
|
531 |
-
$echo_str .= "\n\t\t\t\t\t".'<th scope="col" width="10%" style="text-align:center;">';
|
532 |
-
$echo_str .= "\n\t\t\t\t\t\t".'<label>ID</label>';
|
533 |
-
$echo_str .= "\n\t\t\t\t\t".'</th>';
|
534 |
$echo_str .= "\n\t\t\t\t\t".'<th scope="col" width="10%" style="text-align:center;">';
|
535 |
$echo_str .= "\n\t\t\t\t\t\t".'<label>Type</label>';
|
536 |
$echo_str .= "\n\t\t\t\t\t".'</th>';
|
@@ -545,11 +569,22 @@ function wfu_manage_instances_of_shortcode($tag, $title, $slug, $inc) {
|
|
545 |
$echo_str .= "\n\t\t\t".'<tbody>';
|
546 |
$i = 1;
|
547 |
foreach ( $wfu_shortcodes as $key => $data ) {
|
548 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
549 |
$data_enc = wfu_safe_store_shortcode_data(wfu_encode_array_to_string($data));
|
550 |
$echo_str .= "\n\t\t\t\t".'<tr onmouseover="var actions=document.getElementsByName(\'wfu_shortcode_actions_'.$inc.'\'); for (var i=0; i<actions.length; i++) {actions[i].style.visibility=\'hidden\';} document.getElementById(\'wfu_shortcode_actions_'.$inc.'_'.$i.'\').style.visibility=\'visible\'" onmouseout="var actions=document.getElementsByName(\'wfu_shortcode_actions_'.$inc.'\'); for (var i=0; i<actions.length; i++) {actions[i].style.visibility=\'hidden\';}">';
|
551 |
$echo_str .= "\n\t\t\t\t\t".'<td style="padding: 5px 5px 5px 10px; text-align:center;">';
|
552 |
-
$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=edit_shortcode&tag='.$tag.'&data='.$data_enc.'" title="
|
553 |
$echo_str .= "\n\t\t\t\t\t\t".'<div id="wfu_shortcode_actions_'.$inc.'_'.$i.'" name="wfu_shortcode_actions_'.$inc.'" style="visibility:hidden;">';
|
554 |
$echo_str .= "\n\t\t\t\t\t\t\t".'<span>';
|
555 |
$echo_str .= "\n\t\t\t\t\t\t\t\t".'<a href="'.$siteurl.'/wp-admin/options-general.php?page=wordpress_file_upload&action=edit_shortcode&tag='.$tag.'&data='.$data_enc.'" title="Edit this shortcode">Edit</a>';
|
@@ -560,9 +595,9 @@ function wfu_manage_instances_of_shortcode($tag, $title, $slug, $inc) {
|
|
560 |
$echo_str .= "\n\t\t\t\t\t\t\t".'</span>';
|
561 |
$echo_str .= "\n\t\t\t\t\t\t".'</div>';
|
562 |
$echo_str .= "\n\t\t\t\t\t".'</td>';
|
563 |
-
$echo_str .= "\n\t\t\t\t\t".'<td style="padding: 5px 5px 5px 10px; text-align:center;">'.$id.'</td>';
|
564 |
-
$echo_str .= "\n\t\t\t\t\t".'<td style="padding: 5px 5px 5px 10px; text-align:center;">'.
|
565 |
-
$echo_str .= "\n\t\t\t\t\t".'<td style="padding: 5px 5px 5px 10px; text-align:center;">'.
|
566 |
$echo_str .= "\n\t\t\t\t\t".'<td style="padding: 5px 5px 5px 10px; text-align:left;">';
|
567 |
$echo_str .= "\n\t\t\t\t\t\t".'<textarea rows="3" disabled="disabled" style="width:100%;">'.trim($data['shortcode']).'</textarea>';
|
568 |
$echo_str .= "\n\t\t\t\t\t".'</td>';
|
185 |
}
|
186 |
elseif ( $action == 'edit_shortcode' && $data_enc != "" && $tag != "" ) {
|
187 |
$data = wfu_decode_array_from_string(wfu_get_shortcode_data_from_safe($data_enc));
|
188 |
+
if ( $data['post_id'] == "" || wfu_check_edit_shortcode($data) ) wfu_shortcode_composer($data, $tag);
|
189 |
else $echo_str = wfu_manage_mainmenu(WFU_DASHBOARD_EDIT_SHORTCODE_REJECTED);
|
190 |
}
|
191 |
elseif ( $action == 'delete_shortcode' && $data_enc != "" ) {
|
481 |
}
|
482 |
|
483 |
function wfu_manage_instances_of_shortcode($tag, $title, $slug, $inc) {
|
484 |
+
global $wp_registered_widgets, $wp_registered_sidebars;
|
485 |
+
|
486 |
$siteurl = site_url();
|
487 |
$args = array( 'post_type' => array( "post", "page" ), 'post_status' => "publish,private,draft", 'posts_per_page' => -1 );
|
488 |
$posts = get_posts($args);
|
489 |
$wfu_shortcodes = array();
|
490 |
+
//get shortcode instances from page/posts
|
491 |
foreach ( $posts as $post ) {
|
492 |
$ret = wfu_get_content_shortcodes($post, $tag);
|
493 |
if ( $ret !== false ) $wfu_shortcodes = array_merge($wfu_shortcodes, $ret);
|
494 |
}
|
495 |
+
//get shortcode instances from sidebars
|
496 |
+
$data = array();
|
497 |
+
$widget_base = $tag.'_widget';
|
498 |
+
if ( is_array($wp_registered_widgets) ) {
|
499 |
+
foreach ( $wp_registered_widgets as $id => $widget ) {
|
500 |
+
if ( substr($id, 0, strlen($widget_base)) == $widget_base ) {
|
501 |
+
$widget_obj = ( isset($widget['callback']) ? ( isset($widget['callback'][0]) ? ( $widget['callback'][0] instanceof WP_Widget ? $widget['callback'][0] : false ) : false ) : false );
|
502 |
+
$widget_sidebar = is_active_widget(false, $id, $widget_base);
|
503 |
+
if ( $widget_obj !== false && $widget_sidebar !== false ) {
|
504 |
+
if ( isset($wp_registered_sidebars[$widget_sidebar]) && isset($wp_registered_sidebars[$widget_sidebar]['name']) ) $widget_sidebar = $wp_registered_sidebars[$widget_sidebar]['name'];
|
505 |
+
$data['post_id'] = "";
|
506 |
+
$data['post_hash'] = "";
|
507 |
+
$data['shortcode'] = $widget_obj->shortcode();
|
508 |
+
$data['position'] = 0;
|
509 |
+
$data['widgetid'] = $id;
|
510 |
+
$data['sidebar'] = $widget_sidebar;
|
511 |
+
array_push($wfu_shortcodes, $data);
|
512 |
+
}
|
513 |
+
}
|
514 |
+
}
|
515 |
+
}
|
516 |
|
517 |
$list = wfu_construct_post_list($posts);
|
518 |
$pagelist = wfu_flatten_post_list($list["page"]);
|
552 |
$echo_str .= "\n\t\t\t\t\t".'<th scope="col" width="5%" style="text-align:center;">';
|
553 |
$echo_str .= "\n\t\t\t\t\t\t".'<label>#</label>';
|
554 |
$echo_str .= "\n\t\t\t\t\t".'</th>';
|
555 |
+
// $echo_str .= "\n\t\t\t\t\t".'<th scope="col" width="10%" style="text-align:center;">';
|
556 |
+
// $echo_str .= "\n\t\t\t\t\t\t".'<label>ID</label>';
|
557 |
+
// $echo_str .= "\n\t\t\t\t\t".'</th>';
|
558 |
$echo_str .= "\n\t\t\t\t\t".'<th scope="col" width="10%" style="text-align:center;">';
|
559 |
$echo_str .= "\n\t\t\t\t\t\t".'<label>Type</label>';
|
560 |
$echo_str .= "\n\t\t\t\t\t".'</th>';
|
569 |
$echo_str .= "\n\t\t\t".'<tbody>';
|
570 |
$i = 1;
|
571 |
foreach ( $wfu_shortcodes as $key => $data ) {
|
572 |
+
$widget_id = ( isset($data['widgetid']) ? $data['widgetid'] : '' );
|
573 |
+
if ( $widget_id == "" ) {
|
574 |
+
$id = $data['post_id'];
|
575 |
+
$posttype_obj = get_post_type_object(get_post_type($id));
|
576 |
+
$type = ( $posttype_obj ? $posttype_obj->labels->singular_name : "" );
|
577 |
+
$title = get_the_title($id);
|
578 |
+
if ( trim($title) == "" ) $title = 'ID: '.$id;
|
579 |
+
}
|
580 |
+
else {
|
581 |
+
$type = 'Sidebar';
|
582 |
+
$title = $data['sidebar'];
|
583 |
+
}
|
584 |
$data_enc = wfu_safe_store_shortcode_data(wfu_encode_array_to_string($data));
|
585 |
$echo_str .= "\n\t\t\t\t".'<tr onmouseover="var actions=document.getElementsByName(\'wfu_shortcode_actions_'.$inc.'\'); for (var i=0; i<actions.length; i++) {actions[i].style.visibility=\'hidden\';} document.getElementById(\'wfu_shortcode_actions_'.$inc.'_'.$i.'\').style.visibility=\'visible\'" onmouseout="var actions=document.getElementsByName(\'wfu_shortcode_actions_'.$inc.'\'); for (var i=0; i<actions.length; i++) {actions[i].style.visibility=\'hidden\';}">';
|
586 |
$echo_str .= "\n\t\t\t\t\t".'<td style="padding: 5px 5px 5px 10px; text-align:center;">';
|
587 |
+
$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=edit_shortcode&tag='.$tag.'&data='.$data_enc.'" title="Instance #'.$i.'">Instance '.$i.'</a>';
|
588 |
$echo_str .= "\n\t\t\t\t\t\t".'<div id="wfu_shortcode_actions_'.$inc.'_'.$i.'" name="wfu_shortcode_actions_'.$inc.'" style="visibility:hidden;">';
|
589 |
$echo_str .= "\n\t\t\t\t\t\t\t".'<span>';
|
590 |
$echo_str .= "\n\t\t\t\t\t\t\t\t".'<a href="'.$siteurl.'/wp-admin/options-general.php?page=wordpress_file_upload&action=edit_shortcode&tag='.$tag.'&data='.$data_enc.'" title="Edit this shortcode">Edit</a>';
|
595 |
$echo_str .= "\n\t\t\t\t\t\t\t".'</span>';
|
596 |
$echo_str .= "\n\t\t\t\t\t\t".'</div>';
|
597 |
$echo_str .= "\n\t\t\t\t\t".'</td>';
|
598 |
+
// $echo_str .= "\n\t\t\t\t\t".'<td style="padding: 5px 5px 5px 10px; text-align:center;">'.$id.'</td>';
|
599 |
+
$echo_str .= "\n\t\t\t\t\t".'<td style="padding: 5px 5px 5px 10px; text-align:center;">'.$type.'</td>';
|
600 |
+
$echo_str .= "\n\t\t\t\t\t".'<td style="padding: 5px 5px 5px 10px; text-align:center;">'.$title.'</td>';
|
601 |
$echo_str .= "\n\t\t\t\t\t".'<td style="padding: 5px 5px 5px 10px; text-align:left;">';
|
602 |
$echo_str .= "\n\t\t\t\t\t\t".'<textarea rows="3" disabled="disabled" style="width:100%;">'.trim($data['shortcode']).'</textarea>';
|
603 |
$echo_str .= "\n\t\t\t\t\t".'</td>';
|
lib/wfu_admin_composer.php
CHANGED
@@ -7,10 +7,12 @@ function wfu_shortcode_composer($data = '', $shortcode_tag = 'wordpress_file_upl
|
|
7 |
|
8 |
$components = wfu_component_definitions();
|
9 |
if ( $shortcode_tag == 'wordpress_file_upload' ) {
|
|
|
10 |
$cats = wfu_category_definitions();
|
11 |
$defs = wfu_attribute_definitions();
|
12 |
}
|
13 |
else {
|
|
|
14 |
$cats = wfu_browser_category_definitions();
|
15 |
$defs = wfu_browser_attribute_definitions();
|
16 |
}
|
@@ -24,6 +26,8 @@ function wfu_shortcode_composer($data = '', $shortcode_tag = 'wordpress_file_upl
|
|
24 |
$posttype = "";
|
25 |
$posthash = "";
|
26 |
$shortcode_position = -1;
|
|
|
|
|
27 |
$autosave = true;
|
28 |
}
|
29 |
else {
|
@@ -31,9 +35,12 @@ function wfu_shortcode_composer($data = '', $shortcode_tag = 'wordpress_file_upl
|
|
31 |
$shortcode_full = $data['shortcode'];
|
32 |
$postid = $data['post_id'];
|
33 |
$postname = get_the_title($postid);
|
34 |
-
$
|
|
|
35 |
$posthash = $data['post_hash'];
|
36 |
$shortcode_position = $data['position'];
|
|
|
|
|
37 |
$autosave = false;
|
38 |
}
|
39 |
|
@@ -117,7 +124,8 @@ function wfu_shortcode_composer($data = '', $shortcode_tag = 'wordpress_file_upl
|
|
117 |
$echo_str .= "\n\t".'<div style="margin-top:20px;">';
|
118 |
if ( current_user_can( 'manage_options' ) ) $echo_str .= "\n\t".'<a href="'.$siteurl.'/wp-admin/options-general.php?page=wordpress_file_upload&action=manage_mainmenu" class="button" title="go back">Go to Main Menu</a>';
|
119 |
$echo_str .= "\n\t".'</div>';
|
120 |
-
$echo_str .= "\n\t".'<h2 style="margin-bottom: 10px; margin-top: 20px;">
|
|
|
121 |
$echo_str .= "\n\t".'<div style="margin-top:10px; display:inline-block;">';
|
122 |
if ( $data != "") $echo_str .= "\n\t\t".'<input id="wfu_update_shortcode" type="button" value="Update" class="button-primary" disabled="disabled" onclick="wfu_save_shortcode()" /><span id="wfu_update_shortcode_wait" class="spinner" style="float:right; display:none;"></span>';
|
123 |
$echo_str .= "\n\t\t".'<input id="wfu_shortcode_original_enc" type="hidden" value="'.wfu_plugin_encode_string($shortcode_full).'" />';
|
@@ -125,6 +133,7 @@ function wfu_shortcode_composer($data = '', $shortcode_tag = 'wordpress_file_upl
|
|
125 |
$echo_str .= "\n\t\t".'<input id="wfu_shortcode_postid" type="hidden" value="'.$postid.'" />';
|
126 |
$echo_str .= "\n\t\t".'<input id="wfu_shortcode_posthash" type="hidden" value="'.$posthash.'" />';
|
127 |
$echo_str .= "\n\t\t".'<input id="wfu_shortcode_position" type="hidden" value="'.$shortcode_position.'" />';
|
|
|
128 |
$echo_str .= "\n\t".'</div>';
|
129 |
$echo_str .= "\n\t".'<div style="margin-top:20px;">';
|
130 |
$echo_str .= "\n\t\t".'<div class="wfu_shortcode_container">';
|
@@ -132,6 +141,8 @@ function wfu_shortcode_composer($data = '', $shortcode_tag = 'wordpress_file_upl
|
|
132 |
$echo_str .= "\n\t\t\t".'<span id="wfu_save_label" class="wfu_save_label">saved</span>';
|
133 |
$echo_str .= "\n\t\t\t".'<textarea id="wfu_shortcode" class="wfu_shortcode" rows="5">['.$shortcode_tag.']</textarea>';
|
134 |
$echo_str .= "\n\t\t\t".'<div id="wfu_attribute_defaults" style="display:none;">';
|
|
|
|
|
135 |
foreach ( $defs as $def )
|
136 |
$echo_str .= "\n\t\t\t\t".'<input id="wfu_attribute_default_'.$def['attribute'].'" type="hidden" value="'.$def['default'].'" />';
|
137 |
$echo_str .= "\n\t\t\t".'</div>';
|
7 |
|
8 |
$components = wfu_component_definitions();
|
9 |
if ( $shortcode_tag == 'wordpress_file_upload' ) {
|
10 |
+
$plugin_title = "Uploader";
|
11 |
$cats = wfu_category_definitions();
|
12 |
$defs = wfu_attribute_definitions();
|
13 |
}
|
14 |
else {
|
15 |
+
$plugin_title = "Browser";
|
16 |
$cats = wfu_browser_category_definitions();
|
17 |
$defs = wfu_browser_attribute_definitions();
|
18 |
}
|
26 |
$posttype = "";
|
27 |
$posthash = "";
|
28 |
$shortcode_position = -1;
|
29 |
+
$widgetid = "";
|
30 |
+
$sidebar = "";
|
31 |
$autosave = true;
|
32 |
}
|
33 |
else {
|
35 |
$shortcode_full = $data['shortcode'];
|
36 |
$postid = $data['post_id'];
|
37 |
$postname = get_the_title($postid);
|
38 |
+
$posttype_obj = get_post_type_object(get_post_type($postid));
|
39 |
+
$posttype = ( $posttype_obj ? $posttype_obj->labels->singular_name : "" );
|
40 |
$posthash = $data['post_hash'];
|
41 |
$shortcode_position = $data['position'];
|
42 |
+
$widgetid = ( isset($data['widgetid']) ? $data['widgetid'] : "" );
|
43 |
+
$sidebar = ( isset($data['sidebar']) ? $data['sidebar'] : "" );
|
44 |
$autosave = false;
|
45 |
}
|
46 |
|
124 |
$echo_str .= "\n\t".'<div style="margin-top:20px;">';
|
125 |
if ( current_user_can( 'manage_options' ) ) $echo_str .= "\n\t".'<a href="'.$siteurl.'/wp-admin/options-general.php?page=wordpress_file_upload&action=manage_mainmenu" class="button" title="go back">Go to Main Menu</a>';
|
126 |
$echo_str .= "\n\t".'</div>';
|
127 |
+
if ( $widgetid == "" ) $echo_str .= "\n\t".'<h2 style="margin-bottom: 10px; margin-top: 20px;">'.( $data == "" ? 'Test' : $posttype.' <strong>'.$postname.'</strong>' ).': Shortcode Composer for '.$plugin_title.' <strong>ID '.$shortcode_id.'</strong></h2>';
|
128 |
+
else $echo_str .= "\n\t".'<h2 style="margin-bottom: 10px; margin-top: 20px;">Sidebar <strong>'.$sidebar.'</strong>: Shortcode Composer for Uploader <strong>ID '.$shortcode_id.'</strong></h2>';
|
129 |
$echo_str .= "\n\t".'<div style="margin-top:10px; display:inline-block;">';
|
130 |
if ( $data != "") $echo_str .= "\n\t\t".'<input id="wfu_update_shortcode" type="button" value="Update" class="button-primary" disabled="disabled" onclick="wfu_save_shortcode()" /><span id="wfu_update_shortcode_wait" class="spinner" style="float:right; display:none;"></span>';
|
131 |
$echo_str .= "\n\t\t".'<input id="wfu_shortcode_original_enc" type="hidden" value="'.wfu_plugin_encode_string($shortcode_full).'" />';
|
133 |
$echo_str .= "\n\t\t".'<input id="wfu_shortcode_postid" type="hidden" value="'.$postid.'" />';
|
134 |
$echo_str .= "\n\t\t".'<input id="wfu_shortcode_posthash" type="hidden" value="'.$posthash.'" />';
|
135 |
$echo_str .= "\n\t\t".'<input id="wfu_shortcode_position" type="hidden" value="'.$shortcode_position.'" />';
|
136 |
+
$echo_str .= "\n\t\t".'<input id="wfu_shortcode_widgetid" type="hidden" value="'.$widgetid.'" />';
|
137 |
$echo_str .= "\n\t".'</div>';
|
138 |
$echo_str .= "\n\t".'<div style="margin-top:20px;">';
|
139 |
$echo_str .= "\n\t\t".'<div class="wfu_shortcode_container">';
|
141 |
$echo_str .= "\n\t\t\t".'<span id="wfu_save_label" class="wfu_save_label">saved</span>';
|
142 |
$echo_str .= "\n\t\t\t".'<textarea id="wfu_shortcode" class="wfu_shortcode" rows="5">['.$shortcode_tag.']</textarea>';
|
143 |
$echo_str .= "\n\t\t\t".'<div id="wfu_attribute_defaults" style="display:none;">';
|
144 |
+
// remove hidden attributes from defs array
|
145 |
+
foreach ( $defs as $key => $def ) if ( $def['type'] == "hidden" ) unset($defs[$key]);
|
146 |
foreach ( $defs as $def )
|
147 |
$echo_str .= "\n\t\t\t\t".'<input id="wfu_attribute_default_'.$def['attribute'].'" type="hidden" value="'.$def['default'].'" />';
|
148 |
$echo_str .= "\n\t\t\t".'</div>';
|
lib/wfu_ajaxactions.php
CHANGED
@@ -151,7 +151,7 @@ function wfu_ajax_action_callback() {
|
|
151 |
|
152 |
function wfu_ajax_action_save_shortcode() {
|
153 |
if ( !current_user_can( 'manage_options' ) ) die();
|
154 |
-
if ( !isset($_POST['shortcode']) || !isset($_POST['shortcode_original']) || !isset($_POST['post_id']) || !isset($_POST['post_hash']) || !isset($_POST['shortcode_position']) || !isset($_POST['shortcode_tag']) ) die();
|
155 |
|
156 |
//sanitize parameters
|
157 |
$shortcode = wfu_sanitize_code($_POST['shortcode']);
|
@@ -160,8 +160,9 @@ function wfu_ajax_action_save_shortcode() {
|
|
160 |
$post_hash = wfu_sanitize_code($_POST['post_hash']);
|
161 |
$shortcode_position = wfu_sanitize_int($_POST['shortcode_position']);
|
162 |
$shortcode_tag = wfu_sanitize_tag($_POST['shortcode_tag']);
|
|
|
163 |
|
164 |
-
if ( $
|
165 |
die();
|
166 |
}
|
167 |
else {
|
@@ -169,15 +170,26 @@ function wfu_ajax_action_save_shortcode() {
|
|
169 |
$data['post_hash'] = $post_hash;
|
170 |
$data['shortcode'] = wfu_plugin_decode_string($shortcode_original);
|
171 |
$data['position'] = $shortcode_position;
|
172 |
-
if ( !wfu_check_edit_shortcode($data) ) die("wfu_save_shortcode:fail:post_modified");
|
173 |
else {
|
174 |
-
$
|
175 |
-
|
176 |
-
|
177 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
178 |
die("wfu_save_shortcode:success:".$hash);
|
179 |
}
|
180 |
-
else die("wfu_save_shortcode:fail:post_update_failed");
|
181 |
}
|
182 |
}
|
183 |
}
|
@@ -194,11 +206,15 @@ function wfu_ajax_action_check_page_contents() {
|
|
194 |
}
|
195 |
|
196 |
function wfu_ajax_action_edit_shortcode() {
|
|
|
|
|
|
|
197 |
if ( !current_user_can( 'manage_options' ) ) die();
|
198 |
-
if ( !isset($_POST['upload_id']) || !isset($_POST['post_id']) || !isset($_POST['post_hash']) || !isset($_POST['shortcode_tag']) ) die();
|
199 |
|
200 |
//sanitize parameters
|
201 |
$upload_id = sanitize_text_field($_POST['upload_id']);
|
|
|
202 |
$post_id = wfu_sanitize_int($_POST['post_id']);
|
203 |
$post_hash = wfu_sanitize_code($_POST['post_hash']);
|
204 |
$shortcode_tag = wfu_sanitize_tag($_POST['shortcode_tag']);
|
@@ -206,32 +222,46 @@ function wfu_ajax_action_edit_shortcode() {
|
|
206 |
$data['post_id'] = $post_id;
|
207 |
$data['post_hash'] = $post_hash;
|
208 |
if ( wfu_check_edit_shortcode($data) ) {
|
209 |
-
$
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
|
|
|
|
217 |
}
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
232 |
}
|
233 |
-
if ( $validkey == -1 ) die();
|
234 |
-
$data_enc = wfu_safe_store_shortcode_data(wfu_encode_array_to_string($wfu_shortcodes[$validkey]));
|
235 |
$url = site_url().'/wp-admin/options-general.php?page=wordpress_file_upload&tag='.$shortcode_tag.'&action=edit_shortcode&data='.$data_enc;
|
236 |
die("wfu_edit_shortcode:success:".wfu_plugin_encode_string($url));
|
237 |
}
|
@@ -299,7 +329,7 @@ function wfu_ajax_action_download_file_invoker() {
|
|
299 |
if ( $filepath === false ) die();
|
300 |
$filepath = wfu_path_rel2abs(wfu_flatten_path($filepath));
|
301 |
|
302 |
-
//check if user is allowed to perform this action on this file
|
303 |
if ( !wfu_current_user_owes_file($filepath) ) die();
|
304 |
|
305 |
//generate download unique id to monitor this download
|
151 |
|
152 |
function wfu_ajax_action_save_shortcode() {
|
153 |
if ( !current_user_can( 'manage_options' ) ) die();
|
154 |
+
if ( !isset($_POST['shortcode']) || !isset($_POST['shortcode_original']) || !isset($_POST['post_id']) || !isset($_POST['post_hash']) || !isset($_POST['shortcode_position']) || !isset($_POST['shortcode_tag']) || !isset($_POST['widget_id']) ) die();
|
155 |
|
156 |
//sanitize parameters
|
157 |
$shortcode = wfu_sanitize_code($_POST['shortcode']);
|
160 |
$post_hash = wfu_sanitize_code($_POST['post_hash']);
|
161 |
$shortcode_position = wfu_sanitize_int($_POST['shortcode_position']);
|
162 |
$shortcode_tag = wfu_sanitize_tag($_POST['shortcode_tag']);
|
163 |
+
$widget_id = sanitize_text_field($_POST['widget_id']);
|
164 |
|
165 |
+
if ( $post_id == "" && $widget_id == "" ) {
|
166 |
die();
|
167 |
}
|
168 |
else {
|
170 |
$data['post_hash'] = $post_hash;
|
171 |
$data['shortcode'] = wfu_plugin_decode_string($shortcode_original);
|
172 |
$data['position'] = $shortcode_position;
|
173 |
+
if ( $post_id != "" && !wfu_check_edit_shortcode($data) ) die("wfu_save_shortcode:fail:post_modified");
|
174 |
else {
|
175 |
+
if ( $widget_id == "" ) {
|
176 |
+
$new_shortcode = "[".$shortcode_tag." ".wfu_plugin_decode_string($shortcode)."]";
|
177 |
+
if ( wfu_replace_shortcode($data, $new_shortcode) ) {
|
178 |
+
$post = get_post($post_id);
|
179 |
+
$hash = hash('md5', $post->post_content);
|
180 |
+
die("wfu_save_shortcode:success:".$hash);
|
181 |
+
}
|
182 |
+
else die("wfu_save_shortcode:fail:post_update_failed");
|
183 |
+
}
|
184 |
+
else {
|
185 |
+
$widget_obj = wfu_get_widget_obj_from_id($widget_id);
|
186 |
+
if ( $widget_obj === false ) die("wfu_save_shortcode:fail:post_update_failed");
|
187 |
+
$widget_sidebar = is_active_widget(false, $widget_id, "wordpress_file_upload_widget");
|
188 |
+
if ( !$widget_sidebar ) die("wfu_save_shortcode:fail:post_update_failed");
|
189 |
+
$widget_obj->update_external(wfu_plugin_decode_string($shortcode));
|
190 |
+
$hash = $data['post_hash'];
|
191 |
die("wfu_save_shortcode:success:".$hash);
|
192 |
}
|
|
|
193 |
}
|
194 |
}
|
195 |
}
|
206 |
}
|
207 |
|
208 |
function wfu_ajax_action_edit_shortcode() {
|
209 |
+
global $wp_registered_widgets;
|
210 |
+
global $wp_registered_sidebars;
|
211 |
+
|
212 |
if ( !current_user_can( 'manage_options' ) ) die();
|
213 |
+
if ( !isset($_POST['upload_id']) || !isset($_POST['post_id']) || !isset($_POST['post_hash']) || !isset($_POST['shortcode_tag']) || !isset($_POST['widget_id']) ) die();
|
214 |
|
215 |
//sanitize parameters
|
216 |
$upload_id = sanitize_text_field($_POST['upload_id']);
|
217 |
+
$widget_id = sanitize_text_field($_POST['widget_id']);
|
218 |
$post_id = wfu_sanitize_int($_POST['post_id']);
|
219 |
$post_hash = wfu_sanitize_code($_POST['post_hash']);
|
220 |
$shortcode_tag = wfu_sanitize_tag($_POST['shortcode_tag']);
|
222 |
$data['post_id'] = $post_id;
|
223 |
$data['post_hash'] = $post_hash;
|
224 |
if ( wfu_check_edit_shortcode($data) ) {
|
225 |
+
if ( $widget_id == "" ) {
|
226 |
+
$post = get_post($data['post_id']);
|
227 |
+
//get default value for uploadid
|
228 |
+
$defs = wfu_attribute_definitions();
|
229 |
+
$default = "";
|
230 |
+
foreach ( $defs as $key => $def ) {
|
231 |
+
if ( $def['attribute'] == 'uploadid' ) {
|
232 |
+
$default = $def['value'];
|
233 |
+
break;
|
234 |
+
}
|
235 |
}
|
236 |
+
//get page shortcodes
|
237 |
+
$wfu_shortcodes = wfu_get_content_shortcodes($post, $shortcode_tag);
|
238 |
+
//find the shortcodes' uploadid and the correct one
|
239 |
+
$validkey = -1;
|
240 |
+
foreach ( $wfu_shortcodes as $key => $data ) {
|
241 |
+
$shortcode = trim(substr($data['shortcode'], strlen('['.$shortcode_tag), -1));
|
242 |
+
$shortcode_attrs = wfu_shortcode_string_to_array($shortcode);
|
243 |
+
if ( array_key_exists('uploadid', $shortcode_attrs) ) $uploadid = $shortcode_attrs['uploadid'];
|
244 |
+
else $uploadid = $default;
|
245 |
+
if ( $uploadid == $upload_id ) {
|
246 |
+
$validkey = $key;
|
247 |
+
break;
|
248 |
+
}
|
249 |
}
|
250 |
+
if ( $validkey == -1 ) die();
|
251 |
+
$data_enc = wfu_safe_store_shortcode_data(wfu_encode_array_to_string($wfu_shortcodes[$validkey]));
|
252 |
+
}
|
253 |
+
else {
|
254 |
+
$widget_obj = wfu_get_widget_obj_from_id($widget_id);
|
255 |
+
if ( $widget_obj === false ) die();
|
256 |
+
$widget_sidebar = is_active_widget(false, $widget_id, "wordpress_file_upload_widget");
|
257 |
+
if ( !$widget_sidebar ) die();
|
258 |
+
if ( isset($wp_registered_sidebars[$widget_sidebar]) && isset($wp_registered_sidebars[$widget_sidebar]['name']) ) $widget_sidebar = $wp_registered_sidebars[$widget_sidebar]['name'];
|
259 |
+
$data['shortcode'] = $widget_obj->shortcode();
|
260 |
+
$data['position'] = 0;
|
261 |
+
$data['widgetid'] = $widget_id;
|
262 |
+
$data['sidebar'] = $widget_sidebar;
|
263 |
+
$data_enc = wfu_safe_store_shortcode_data(wfu_encode_array_to_string($data));
|
264 |
}
|
|
|
|
|
265 |
$url = site_url().'/wp-admin/options-general.php?page=wordpress_file_upload&tag='.$shortcode_tag.'&action=edit_shortcode&data='.$data_enc;
|
266 |
die("wfu_edit_shortcode:success:".wfu_plugin_encode_string($url));
|
267 |
}
|
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
|
lib/wfu_attributes.php
CHANGED
@@ -6,7 +6,7 @@ function wfu_component_definitions() {
|
|
6 |
"id" => "title",
|
7 |
"name" => "Title",
|
8 |
"mode" => "free",
|
9 |
-
"dimensions" =>
|
10 |
"multiplacements" => false,
|
11 |
"help" => "A title text for the plugin"
|
12 |
),
|
@@ -38,7 +38,7 @@ function wfu_component_definitions() {
|
|
38 |
"id" => "subfolders",
|
39 |
"name" => "Subfolders",
|
40 |
"mode" => "free",
|
41 |
-
"dimensions" => array("uploadfolder_label/Upload Folder Label", "subfolders_label/Subfolders Label", "subfolders_select/Subfolders List"),
|
42 |
"multiplacements" => false,
|
43 |
"help" => "Allows the user to select the upload folder from a dropdown list."
|
44 |
),
|
@@ -698,6 +698,20 @@ function wfu_formfield_definitions() {
|
|
698 |
|
699 |
function wfu_attribute_definitions() {
|
700 |
$defs = array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
701 |
array(
|
702 |
"name" => "Plugin ID",
|
703 |
"attribute" => "uploadid",
|
@@ -740,6 +754,20 @@ function wfu_attribute_definitions() {
|
|
740 |
"variables" => array("%userid%", "%username%", "%blogid%", "%pageid%", "%pagetitle%", "%userdataXXX%"),
|
741 |
"help" => "This is the folder where the files will be uploaded. The path is relative to wp-contents folder of your Wordpress website. The path can be dynamic by including variables such as %username% or %blogid%. Please check Documentation on how to use variables inside uploadpath."
|
742 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
743 |
array(
|
744 |
"name" => "Upload Roles",
|
745 |
"attribute" => "uploadrole",
|
6 |
"id" => "title",
|
7 |
"name" => "Title",
|
8 |
"mode" => "free",
|
9 |
+
"dimensions" => array("plugin/Plugin", "title/Title"),
|
10 |
"multiplacements" => false,
|
11 |
"help" => "A title text for the plugin"
|
12 |
),
|
38 |
"id" => "subfolders",
|
39 |
"name" => "Subfolders",
|
40 |
"mode" => "free",
|
41 |
+
"dimensions" => array("uploadfolder_label/Upload Folder Label", "subfolders/Subfolders", "subfolders_label/Subfolders Label", "subfolders_select/Subfolders List"),
|
42 |
"multiplacements" => false,
|
43 |
"help" => "Allows the user to select the upload folder from a dropdown list."
|
44 |
),
|
698 |
|
699 |
function wfu_attribute_definitions() {
|
700 |
$defs = array(
|
701 |
+
array(
|
702 |
+
"name" => "Widget ID",
|
703 |
+
"attribute" => "widgetid",
|
704 |
+
"type" => "hidden",
|
705 |
+
"listitems" => null,
|
706 |
+
"value" => "",
|
707 |
+
"mode" => "free",
|
708 |
+
"category" => "",
|
709 |
+
"subcategory" => "Basic ",
|
710 |
+
"parent" => "",
|
711 |
+
"dependencies" => null,
|
712 |
+
"variables" => null,
|
713 |
+
"help" => ""
|
714 |
+
),
|
715 |
array(
|
716 |
"name" => "Plugin ID",
|
717 |
"attribute" => "uploadid",
|
754 |
"variables" => array("%userid%", "%username%", "%blogid%", "%pageid%", "%pagetitle%", "%userdataXXX%"),
|
755 |
"help" => "This is the folder where the files will be uploaded. The path is relative to wp-contents folder of your Wordpress website. The path can be dynamic by including variables such as %username% or %blogid%. Please check Documentation on how to use variables inside uploadpath."
|
756 |
),
|
757 |
+
array(
|
758 |
+
"name" => "Plugin Fit Mode",
|
759 |
+
"attribute" => "fitmode",
|
760 |
+
"type" => "radio",
|
761 |
+
"listitems" => array("fixed", "responsive"),
|
762 |
+
"value" => WFU_FITMODE,
|
763 |
+
"mode" => "free",
|
764 |
+
"category" => "general",
|
765 |
+
"subcategory" => "Basic Functionalities",
|
766 |
+
"parent" => "",
|
767 |
+
"dependencies" => null,
|
768 |
+
"variables" => null,
|
769 |
+
"help" => "This defines how the plugin's elements will fit inside the page/post. If it is set to fixed, then the plugin's element positions will remain fixed no matter the width of the container page/post. If it is set to responsive, then the plugin's elements will wrap to fit the width of the container page/post."
|
770 |
+
),
|
771 |
array(
|
772 |
"name" => "Upload Roles",
|
773 |
"attribute" => "uploadrole",
|
lib/wfu_blocks.php
CHANGED
@@ -33,6 +33,8 @@ function wfu_prepare_subfolders_block($params, $additional_params, $occurrence_i
|
|
33 |
$linebr = '<br />';
|
34 |
$subfolders_item["title"] = 'wordpress_file_upload_subfolders_'.$sid;
|
35 |
$subfolders_item["hidden"] = false;
|
|
|
|
|
36 |
}
|
37 |
$i = 1;
|
38 |
if ( $params["showtargetfolder"] == "true" ) {
|
@@ -92,8 +94,14 @@ function wfu_prepare_title_block($params, $additional_params, $occurrence_index)
|
|
92 |
if ( $params["uploadtitle"] ) {
|
93 |
$title_item["title"] = 'wordpress_file_upload_title_'.$sid;
|
94 |
$title_item["hidden"] = false;
|
|
|
95 |
$styles = "";
|
96 |
-
|
|
|
|
|
|
|
|
|
|
|
97 |
if ( $heights["title"] != "" ) $styles .= 'height: '.$heights["title"].'; ';
|
98 |
if ( $styles != "" ) $styles = ' style="'.$styles.'"';
|
99 |
$title_item["line1"] = '<span class="file_title_clean"'.$styles.'>'.$params["uploadtitle"].'</span>';
|
@@ -110,8 +118,14 @@ function wfu_prepare_textbox_block($params, $additional_params, $occurrence_inde
|
|
110 |
$textfile = 'fileName_'.$sid;
|
111 |
$textbox_item["title"] = 'wordpress_file_upload_textbox_'.$sid;
|
112 |
$textbox_item["hidden"] = false;
|
|
|
113 |
$styles = "";
|
114 |
-
|
|
|
|
|
|
|
|
|
|
|
115 |
if ( $heights["filename"] != "" ) $styles .= 'height: '.$heights["filename"].'; ';
|
116 |
if ( $styles != "" ) $styles = ' style="'.$styles.'"';
|
117 |
$textbox_item["line1"] = '<input type="text" id="'.$textfile.'" class="file_input_textbox"'.$styles.' readonly="readonly"/>';
|
@@ -136,9 +150,15 @@ function wfu_prepare_uploadform_block($params, $additional_params, $occurrence_i
|
|
136 |
// selectbutton block is mandatory because it contains the upload form element, so in case it is not included in the placements
|
137 |
// attribute then we set its visibility to hidden
|
138 |
$uploadform_item["hidden"] = ( strpos($params["placements"], "selectbutton") === false );
|
|
|
139 |
$styles_form = "";
|
140 |
$styles = "";
|
141 |
-
|
|
|
|
|
|
|
|
|
|
|
142 |
if ( $heights["selectbutton"] != "" ) $styles .= 'height: '.$heights["selectbutton"].'; ';
|
143 |
if ( $styles != "" ) $styles_form = ' style="'.$styles.'"';
|
144 |
$i = 1;
|
@@ -172,8 +192,14 @@ function wfu_prepare_submit_block($params, $additional_params, $occurrence_index
|
|
172 |
|
173 |
$submit_item["title"] = 'wordpress_file_upload_submit_'.$sid;
|
174 |
$submit_item["hidden"] = false;
|
|
|
175 |
$styles = "";
|
176 |
-
|
|
|
|
|
|
|
|
|
|
|
177 |
if ( $heights["uploadbutton"] != "" ) $styles .= 'height: '.$heights["uploadbutton"].'; ';
|
178 |
if ( $styles != "" ) $styles = ' style="'.$styles.'"';
|
179 |
if ( $params["testmode"] == "true" ) $submit_item["line1"] = '<input align="center" type="button" id="'.$upload.'" name="'.$upload.'" value="'.$default.'" class="file_input_submit" onclick="alert(\''.WFU_NOTIFY_TESTMODE.'\');"'.$styles.' />';
|
@@ -193,16 +219,28 @@ function wfu_prepare_progressbar_block($params, $additional_params, $occurrence_
|
|
193 |
|
194 |
$progressbar_item["title"] = 'wordpress_file_upload_progressbar_'.$sid;
|
195 |
$progressbar_item["hidden"] = ( $params["testmode"] != "true" );
|
|
|
196 |
$styles = "";
|
197 |
-
|
198 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
199 |
if ( $styles != "" ) $styles = ' style="'.$styles.'"';
|
200 |
-
$
|
201 |
-
$
|
202 |
-
$progressbar_item["
|
203 |
-
$progressbar_item["
|
204 |
-
$progressbar_item["
|
205 |
-
$progressbar_item["
|
|
|
|
|
|
|
|
|
206 |
|
207 |
return $progressbar_item;
|
208 |
}
|
@@ -212,14 +250,21 @@ function wfu_prepare_message_block($params, $additional_params, $occurrence_inde
|
|
212 |
$sid = $params["uploadid"];
|
213 |
$widths = $additional_params['widths'];
|
214 |
$heights = $additional_params['heights'];
|
|
|
215 |
$styles = "";
|
216 |
-
|
|
|
|
|
|
|
|
|
|
|
217 |
if ( $heights["message"] != "" ) $styles .= 'height: '.$heights["message"].'; ';
|
218 |
if ( $styles != "" ) $styles = ' style="'.$styles.'"';
|
219 |
$message_block = wfu_prepare_message_block_skeleton($sid, $styles, ( $params["testmode"] == "true" ));
|
220 |
$message_item = $message_block["msgblock"];
|
221 |
$message_item["title"] = 'wordpress_file_upload_message_'.$sid;
|
222 |
$message_item["hidden"] = ( $params["testmode"] != "true" );
|
|
|
223 |
|
224 |
return $message_item;
|
225 |
}
|
@@ -238,8 +283,14 @@ function wfu_prepare_userdata_block($params, $additional_params, $occurrence_ind
|
|
238 |
|
239 |
$userdata_item["title"] = 'wordpress_file_upload_userdata_'.$sid;
|
240 |
$userdata_item["hidden"] = false;
|
|
|
241 |
$styles1 = "";
|
242 |
-
|
|
|
|
|
|
|
|
|
|
|
243 |
if ( $heights["userdata"] != "" ) $styles1 .= 'height: '.$heights["userdata"].'; ';
|
244 |
if ( $styles1 != "" ) $styles1 = ' style="'.$styles1.'"';
|
245 |
$styles2 = "";
|
33 |
$linebr = '<br />';
|
34 |
$subfolders_item["title"] = 'wordpress_file_upload_subfolders_'.$sid;
|
35 |
$subfolders_item["hidden"] = false;
|
36 |
+
$subfolders_item["width"] = "";
|
37 |
+
if ( $params["fitmode"] == "responsive" ) $subfolders_item["width"] = $widths["subfolders"];
|
38 |
}
|
39 |
$i = 1;
|
40 |
if ( $params["showtargetfolder"] == "true" ) {
|
94 |
if ( $params["uploadtitle"] ) {
|
95 |
$title_item["title"] = 'wordpress_file_upload_title_'.$sid;
|
96 |
$title_item["hidden"] = false;
|
97 |
+
$title_item["width"] = "";
|
98 |
$styles = "";
|
99 |
+
//for responsive plugin adjust container and container's parent widths if a % width has been defined
|
100 |
+
if ( $params["fitmode"] == "responsive" && strlen($widths["title"]) > 1 && substr($widths["title"], -1, 1) == "%" ) {
|
101 |
+
$title_item["width"] = $widths["title"];
|
102 |
+
$styles .= 'width: 100%; ';
|
103 |
+
}
|
104 |
+
elseif ( $widths["title"] != "" ) $styles .= 'width: '.$widths["title"].'; ';
|
105 |
if ( $heights["title"] != "" ) $styles .= 'height: '.$heights["title"].'; ';
|
106 |
if ( $styles != "" ) $styles = ' style="'.$styles.'"';
|
107 |
$title_item["line1"] = '<span class="file_title_clean"'.$styles.'>'.$params["uploadtitle"].'</span>';
|
118 |
$textfile = 'fileName_'.$sid;
|
119 |
$textbox_item["title"] = 'wordpress_file_upload_textbox_'.$sid;
|
120 |
$textbox_item["hidden"] = false;
|
121 |
+
$textbox_item["width"] = "";
|
122 |
$styles = "";
|
123 |
+
//for responsive plugin adjust container and container's parent widths if a % width has been defined
|
124 |
+
if ( $params["fitmode"] == "responsive" && strlen($widths["filename"]) > 1 && substr($widths["filename"], -1, 1) == "%" ) {
|
125 |
+
$textbox_item["width"] = $widths["filename"];
|
126 |
+
$styles .= 'width: 100%; ';
|
127 |
+
}
|
128 |
+
elseif ( $widths["filename"] != "" ) $styles .= 'width: '.$widths["filename"].'; ';
|
129 |
if ( $heights["filename"] != "" ) $styles .= 'height: '.$heights["filename"].'; ';
|
130 |
if ( $styles != "" ) $styles = ' style="'.$styles.'"';
|
131 |
$textbox_item["line1"] = '<input type="text" id="'.$textfile.'" class="file_input_textbox"'.$styles.' readonly="readonly"/>';
|
150 |
// selectbutton block is mandatory because it contains the upload form element, so in case it is not included in the placements
|
151 |
// attribute then we set its visibility to hidden
|
152 |
$uploadform_item["hidden"] = ( strpos($params["placements"], "selectbutton") === false );
|
153 |
+
$uploadform_item["width"] = "";
|
154 |
$styles_form = "";
|
155 |
$styles = "";
|
156 |
+
//for responsive plugin adjust container and container's parent widths if a % width has been defined
|
157 |
+
if ( $params["fitmode"] == "responsive" && strlen($widths["selectbutton"]) > 1 && substr($widths["selectbutton"], -1, 1) == "%" ) {
|
158 |
+
$uploadform_item["width"] = $widths["selectbutton"];
|
159 |
+
$styles .= 'width: 100%; ';
|
160 |
+
}
|
161 |
+
elseif ( $widths["selectbutton"] != "" ) $styles .= 'width: '.$widths["selectbutton"].'; ';
|
162 |
if ( $heights["selectbutton"] != "" ) $styles .= 'height: '.$heights["selectbutton"].'; ';
|
163 |
if ( $styles != "" ) $styles_form = ' style="'.$styles.'"';
|
164 |
$i = 1;
|
192 |
|
193 |
$submit_item["title"] = 'wordpress_file_upload_submit_'.$sid;
|
194 |
$submit_item["hidden"] = false;
|
195 |
+
$submit_item["width"] = "";
|
196 |
$styles = "";
|
197 |
+
//for responsive plugin adjust container and container's parent widths if a % width has been defined
|
198 |
+
if ( $params["fitmode"] == "responsive" && strlen($widths["uploadbutton"]) > 1 && substr($widths["uploadbutton"], -1, 1) == "%" ) {
|
199 |
+
$submit_item["width"] = $widths["uploadbutton"];
|
200 |
+
$styles .= 'width: 100%; ';
|
201 |
+
}
|
202 |
+
elseif ( $widths["uploadbutton"] != "" ) $styles .= 'width: '.$widths["uploadbutton"].'; ';
|
203 |
if ( $heights["uploadbutton"] != "" ) $styles .= 'height: '.$heights["uploadbutton"].'; ';
|
204 |
if ( $styles != "" ) $styles = ' style="'.$styles.'"';
|
205 |
if ( $params["testmode"] == "true" ) $submit_item["line1"] = '<input align="center" type="button" id="'.$upload.'" name="'.$upload.'" value="'.$default.'" class="file_input_submit" onclick="alert(\''.WFU_NOTIFY_TESTMODE.'\');"'.$styles.' />';
|
219 |
|
220 |
$progressbar_item["title"] = 'wordpress_file_upload_progressbar_'.$sid;
|
221 |
$progressbar_item["hidden"] = ( $params["testmode"] != "true" );
|
222 |
+
$progressbar_item["width"] = "";
|
223 |
$styles = "";
|
224 |
+
$styles2 = "";
|
225 |
+
//for responsive plugin adjust container and container's parent widths if a % width has been defined
|
226 |
+
if ( $params["fitmode"] == "responsive" && strlen($widths["progressbar"]) > 1 && substr($widths["progressbar"], -1, 1) == "%" ) {
|
227 |
+
$progressbar_item["width"] = $widths["progressbar"];
|
228 |
+
$styles .= 'width: 100%; ';
|
229 |
+
}
|
230 |
+
elseif ( $widths["progressbar"] != "" ) $styles .= 'width: '.$widths["progressbar"].'; ';
|
231 |
+
if ( $widths["progressbar"] != "" ) $styles2 .= 'width: auto; ';
|
232 |
+
if ( $heights["progressbar"] != "" ) $styles2 .= 'height: '.$heights["progressbar"].'; ';
|
233 |
if ( $styles != "" ) $styles = ' style="'.$styles.'"';
|
234 |
+
if ( $styles2 != "" ) $styles2 = ' style="'.$styles2.'"';
|
235 |
+
$i = 1;
|
236 |
+
$progressbar_item["line".$i++] = '<div id="'.$progress_bar.'" class="file_div_clean'.( $params["fitmode"] == "responsive" ? '_responsive' : '' ).'"'.$styles.'>';
|
237 |
+
$progressbar_item["line".$i++] = "\t".'<div id="'.$progress_bar.'" class="file_progress_bar"'.$styles2.'>';
|
238 |
+
$progressbar_item["line".$i++] = "\t\t".'<div id="'.$progress_bar.'_inner" class="file_progress_inner">';
|
239 |
+
$progressbar_item["line".$i++] = "\t\t\t".'<span id="'.$progress_bar.'_animation" class="file_progress_noanimation"> </span>';
|
240 |
+
$progressbar_item["line".$i++] = "\t\t\t".'<img id="'.$progress_bar.'_imagesafe" class="file_progress_imagesafe" src="'.WFU_IMAGE_SIMPLE_PROGBAR.'" style="display:none;" />';
|
241 |
+
$progressbar_item["line".$i++] = "\t\t".'</div>';
|
242 |
+
$progressbar_item["line".$i++] = "\t".'</div>';
|
243 |
+
$progressbar_item["line".$i++] = '</div>';
|
244 |
|
245 |
return $progressbar_item;
|
246 |
}
|
250 |
$sid = $params["uploadid"];
|
251 |
$widths = $additional_params['widths'];
|
252 |
$heights = $additional_params['heights'];
|
253 |
+
$container_width = "";
|
254 |
$styles = "";
|
255 |
+
//for responsive plugin adjust container and container's parent widths if a % width has been defined
|
256 |
+
if ( $params["fitmode"] == "responsive" && strlen($widths["message"]) > 1 && substr($widths["message"], -1, 1) == "%" ) {
|
257 |
+
$container_width = $widths["message"];
|
258 |
+
$styles .= 'width: 100%; ';
|
259 |
+
}
|
260 |
+
elseif ( $widths["message"] != "" ) $styles .= 'width: '.$widths["message"].'; ';
|
261 |
if ( $heights["message"] != "" ) $styles .= 'height: '.$heights["message"].'; ';
|
262 |
if ( $styles != "" ) $styles = ' style="'.$styles.'"';
|
263 |
$message_block = wfu_prepare_message_block_skeleton($sid, $styles, ( $params["testmode"] == "true" ));
|
264 |
$message_item = $message_block["msgblock"];
|
265 |
$message_item["title"] = 'wordpress_file_upload_message_'.$sid;
|
266 |
$message_item["hidden"] = ( $params["testmode"] != "true" );
|
267 |
+
$message_item["width"] = $container_width;
|
268 |
|
269 |
return $message_item;
|
270 |
}
|
283 |
|
284 |
$userdata_item["title"] = 'wordpress_file_upload_userdata_'.$sid;
|
285 |
$userdata_item["hidden"] = false;
|
286 |
+
$userdata_item["width"] = "";
|
287 |
$styles1 = "";
|
288 |
+
//for responsive plugin adjust container and container's parent widths if a % width has been defined
|
289 |
+
if ( $params["fitmode"] == "responsive" && strlen($widths["userdata"]) > 1 && substr($widths["userdata"], -1, 1) == "%" ) {
|
290 |
+
$userdata_item["width"] = $widths["userdata"];
|
291 |
+
$styles1 .= 'width: 100%; ';
|
292 |
+
}
|
293 |
+
elseif ( $widths["userdata"] != "" ) $styles1 .= 'width: '.$widths["userdata"].'; ';
|
294 |
if ( $heights["userdata"] != "" ) $styles1 .= 'height: '.$heights["userdata"].'; ';
|
295 |
if ( $styles1 != "" ) $styles1 = ' style="'.$styles1.'"';
|
296 |
$styles2 = "";
|
lib/wfu_constants.php
CHANGED
@@ -10,6 +10,7 @@ DEFINE("WFU_UPLOADBUTTON", __('Upload File', 'wordpress-file-upload'));
|
|
10 |
DEFINE("WFU_SINGLEBUTTON", "false");
|
11 |
DEFINE("WFU_UPLOADROLE", "all,guests");
|
12 |
DEFINE("WFU_UPLOADPATH", 'uploads');
|
|
|
13 |
DEFINE("WFU_CREATEPATH", "false");
|
14 |
DEFINE("WFU_FORCEFILENAME", "false");
|
15 |
DEFINE("WFU_UPLOADPATTERNS", "*.*");
|
10 |
DEFINE("WFU_SINGLEBUTTON", "false");
|
11 |
DEFINE("WFU_UPLOADROLE", "all,guests");
|
12 |
DEFINE("WFU_UPLOADPATH", 'uploads');
|
13 |
+
DEFINE("WFU_FITMODE", 'fixed');
|
14 |
DEFINE("WFU_CREATEPATH", "false");
|
15 |
DEFINE("WFU_FORCEFILENAME", "false");
|
16 |
DEFINE("WFU_UPLOADPATTERNS", "*.*");
|
lib/wfu_functions.php
CHANGED
@@ -253,6 +253,11 @@ function wfu_array_sort($array, $on, $order=SORT_ASC) {
|
|
253 |
return $new_array;
|
254 |
}
|
255 |
|
|
|
|
|
|
|
|
|
|
|
256 |
//********************* Plugin Options Functions *******************************************************************************************
|
257 |
|
258 |
function wfu_get_server_environment() {
|
@@ -1257,6 +1262,20 @@ function wfu_get_filtered_recs($filter) {
|
|
1257 |
return $out;
|
1258 |
}
|
1259 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1260 |
//********************* Shortcode Options Functions ****************************************************************************************
|
1261 |
|
1262 |
function wfu_shortcode_attribute_definitions_adjusted($shortcode_atts) {
|
@@ -1393,6 +1412,9 @@ function wfu_add_div() {
|
|
1393 |
$items_count = func_num_args();
|
1394 |
if ( $items_count == 0 ) return "";
|
1395 |
$items_raw = func_get_args();
|
|
|
|
|
|
|
1396 |
$items = array( );
|
1397 |
foreach ( $items_raw as $item_raw ) {
|
1398 |
if ( is_array($item_raw) ) array_push($items, $item_raw);
|
@@ -1400,29 +1422,38 @@ function wfu_add_div() {
|
|
1400 |
$items_count = count($items);
|
1401 |
if ( $items_count == 0 ) return "";
|
1402 |
$div = "";
|
1403 |
-
$
|
1404 |
-
|
1405 |
-
|
1406 |
-
|
|
|
|
|
1407 |
for ( $i = 0; $i < $items_count; $i++ ) {
|
1408 |
-
$
|
1409 |
-
if ( $
|
1410 |
-
|
1411 |
-
|
1412 |
-
|
1413 |
-
|
1414 |
-
|
|
|
|
|
|
|
|
|
1415 |
for ( $k = 1; $k <= $item_lines_count; $k++ ) {
|
1416 |
if ( $items[$i]["line".$k] != "" ) $div .= "\n\t\t\t\t\t\t\t".$items[$i]["line".$k];
|
1417 |
}
|
1418 |
$div .= "\n\t\t\t\t\t\t\t".'<div class="file_space_clean"></div>';
|
1419 |
$div .= "\n\t\t\t\t\t\t".'</div>';
|
1420 |
-
$div .= "\n\t\t\t\t\t".'</td>';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1421 |
}
|
1422 |
-
$div .= "\n\t\t\t\t".'</tr>';
|
1423 |
-
$div .= "\n\t\t\t".'</tbody>';
|
1424 |
-
$div .= "\n\t\t".'</table>';
|
1425 |
-
$div .= "\n\t".'</div>';
|
1426 |
return $div;
|
1427 |
}
|
1428 |
|
253 |
return $new_array;
|
254 |
}
|
255 |
|
256 |
+
function wfu_echo_array($arr) {
|
257 |
+
if ( !is_array($arr) ) return;
|
258 |
+
echo '<pre>'.print_r($arr, true).'</pre>';
|
259 |
+
}
|
260 |
+
|
261 |
//********************* Plugin Options Functions *******************************************************************************************
|
262 |
|
263 |
function wfu_get_server_environment() {
|
1262 |
return $out;
|
1263 |
}
|
1264 |
|
1265 |
+
//********************* Widget Functions ****************************************************************************************
|
1266 |
+
|
1267 |
+
function wfu_get_widget_obj_from_id($widgetid) {
|
1268 |
+
global $wp_registered_widgets;
|
1269 |
+
|
1270 |
+
if ( !isset($wp_registered_widgets[$widgetid]) ) return false;
|
1271 |
+
if ( !isset($wp_registered_widgets[$widgetid]['callback']) ) return false;
|
1272 |
+
if ( !isset($wp_registered_widgets[$widgetid]['callback'][0]) ) return false;
|
1273 |
+
$obj = $wp_registered_widgets[$widgetid]['callback'][0];
|
1274 |
+
if ( !($obj instanceof WP_Widget) ) return false;
|
1275 |
+
|
1276 |
+
return $obj;
|
1277 |
+
}
|
1278 |
+
|
1279 |
//********************* Shortcode Options Functions ****************************************************************************************
|
1280 |
|
1281 |
function wfu_shortcode_attribute_definitions_adjusted($shortcode_atts) {
|
1412 |
$items_count = func_num_args();
|
1413 |
if ( $items_count == 0 ) return "";
|
1414 |
$items_raw = func_get_args();
|
1415 |
+
//get fit mode
|
1416 |
+
$fitmode = $items_raw[0];
|
1417 |
+
unset($items_raw[0]);
|
1418 |
$items = array( );
|
1419 |
foreach ( $items_raw as $item_raw ) {
|
1420 |
if ( is_array($item_raw) ) array_push($items, $item_raw);
|
1422 |
$items_count = count($items);
|
1423 |
if ( $items_count == 0 ) return "";
|
1424 |
$div = "";
|
1425 |
+
if ( $fitmode == "fixed" ) {
|
1426 |
+
$div .= "\n\t".'<div class="file_div_clean">';
|
1427 |
+
$div .= "\n\t\t".'<table class="file_table_clean">';
|
1428 |
+
$div .= "\n\t\t\t".'<tbody>';
|
1429 |
+
$div .= "\n\t\t\t\t".'<tr>';
|
1430 |
+
}
|
1431 |
for ( $i = 0; $i < $items_count; $i++ ) {
|
1432 |
+
$style = "";
|
1433 |
+
if ( $fitmode == "fixed" ) {
|
1434 |
+
$div .= "\n\t\t\t\t\t".'<td class="file_td_clean"';
|
1435 |
+
if ( $i < $items_count - 1 ) $div .= ' style="padding: 0 4px 0 0"';
|
1436 |
+
$div .= '>';
|
1437 |
+
}
|
1438 |
+
if ( $items[$i]["width"] != "" ) $style .= 'width: '.$items[$i]["width"].'; ';
|
1439 |
+
if ( $items[$i]["hidden"] ) $style .= 'display: none; "';
|
1440 |
+
if ( $style != "" ) $style = ' style="'.$style.'"';
|
1441 |
+
$div .= "\n\t\t\t\t\t\t".'<div id="'.$items[$i]["title"].'" class="file_div_clean'.( $fitmode == "responsive" ? '_responsive' : '' ).'"'.$style.'>';
|
1442 |
+
$item_lines_count = count($items[$i]) - 3;
|
1443 |
for ( $k = 1; $k <= $item_lines_count; $k++ ) {
|
1444 |
if ( $items[$i]["line".$k] != "" ) $div .= "\n\t\t\t\t\t\t\t".$items[$i]["line".$k];
|
1445 |
}
|
1446 |
$div .= "\n\t\t\t\t\t\t\t".'<div class="file_space_clean"></div>';
|
1447 |
$div .= "\n\t\t\t\t\t\t".'</div>';
|
1448 |
+
if ( $fitmode == "fixed" ) $div .= "\n\t\t\t\t\t".'</td>';
|
1449 |
+
}
|
1450 |
+
if ( $fitmode == "responsive" ) $div .= "\n\t".'<br />';
|
1451 |
+
else {
|
1452 |
+
$div .= "\n\t\t\t\t".'</tr>';
|
1453 |
+
$div .= "\n\t\t\t".'</tbody>';
|
1454 |
+
$div .= "\n\t\t".'</table>';
|
1455 |
+
$div .= "\n\t".'</div>';
|
1456 |
}
|
|
|
|
|
|
|
|
|
1457 |
return $div;
|
1458 |
}
|
1459 |
|
lib/wfu_widget.php
ADDED
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class WFU_Widget extends WP_Widget {
|
4 |
+
|
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 |
+
|
13 |
+
/**
|
14 |
+
* Front-end display of widget.
|
15 |
+
*
|
16 |
+
* @see WP_Widget::widget()
|
17 |
+
*
|
18 |
+
* @param array $args Widget arguments.
|
19 |
+
* @param array $instance Saved values from database.
|
20 |
+
*/
|
21 |
+
public function widget( $args, $instance ) {
|
22 |
+
echo $args['before_widget'];
|
23 |
+
if ( ! empty( $instance['title'] ) ) {
|
24 |
+
echo $args['before_title'] . apply_filters( 'widget_title', $instance['title'] ). $args['after_title'];
|
25 |
+
}
|
26 |
+
echo do_shortcode('[wordpress_file_upload uploadid="'.$instance['shortcode_id'].'" widgetid="'.$this->id.'" placements="filename+selectbutton/uploadbutton+progressbar/message" fitmode="responsive" '.$instance['shortcode_attrs'].']');
|
27 |
+
echo $args['after_widget'];
|
28 |
+
}
|
29 |
+
|
30 |
+
/**
|
31 |
+
* Back-end widget form.
|
32 |
+
*
|
33 |
+
* @see WP_Widget::form()
|
34 |
+
*
|
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 == '' ) {
|
42 |
+
mt_srand((double)microtime()*1000000);
|
43 |
+
$shortcode_id = (string)mt_rand(1000, 9999);
|
44 |
+
}
|
45 |
+
?>
|
46 |
+
<input type="hidden" id="<?php echo $this->get_field_id( 'shortcode_id' ); ?>" name="<?php echo $this->get_field_name( 'shortcode_id' ); ?>" value="<?php echo esc_attr( $shortcode_id ); ?>" />
|
47 |
+
<p>
|
48 |
+
<label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:' ); ?></label>
|
49 |
+
<input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>" />
|
50 |
+
</p>
|
51 |
+
<p>
|
52 |
+
<label for="<?php echo $this->get_field_id( 'shortcode_attrs' ); ?>"><?php _e( 'Shortcode Attributes:' ); ?></label>
|
53 |
+
<textarea class="widefat" id="<?php echo $this->get_field_id( 'shortcode_attrs' ); ?>" name="<?php echo $this->get_field_name( 'shortcode_attrs' ); ?>" value="<?php echo esc_attr( $shortcode_attrs ); ?>"><?php echo esc_attr( $shortcode_attrs ); ?></textarea>
|
54 |
+
</p>
|
55 |
+
<?php
|
56 |
+
}
|
57 |
+
|
58 |
+
/**
|
59 |
+
* Sanitize widget form values as they are saved.
|
60 |
+
*
|
61 |
+
* @see WP_Widget::update()
|
62 |
+
*
|
63 |
+
* @param array $new_instance Values just sent to be saved.
|
64 |
+
* @param array $old_instance Previously saved values from database.
|
65 |
+
*
|
66 |
+
* @return array Updated safe values to be saved.
|
67 |
+
*/
|
68 |
+
public function update( $new_instance, $old_instance ) {
|
69 |
+
$instance = array();
|
70 |
+
$instance['title'] = ( ! empty( $new_instance['title'] ) ) ? strip_tags( $new_instance['title'] ) : '';
|
71 |
+
$instance['shortcode_id'] = ( ! empty( $new_instance['shortcode_id'] ) ) ? strip_tags( $new_instance['shortcode_id'] ) : '';
|
72 |
+
$instance['shortcode_attrs'] = ( ! empty( $new_instance['shortcode_attrs'] ) ) ? strip_tags( $new_instance['shortcode_attrs'] ) : '';
|
73 |
+
|
74 |
+
return $instance;
|
75 |
+
}
|
76 |
+
|
77 |
+
/**
|
78 |
+
* Get the shortcode of this plugin instance.
|
79 |
+
*
|
80 |
+
* @return string with shortcode (excluding the widgetid attribute which is a hidden attribute).
|
81 |
+
*/
|
82 |
+
public function shortcode() {
|
83 |
+
$all_instances = $this->get_settings();
|
84 |
+
$instance = $all_instances[$this->number];
|
85 |
+
$shortcode = '[wordpress_file_upload uploadid="'.$instance['shortcode_id'].'" placements="filename+selectbutton/uploadbutton+progressbar/message" fitmode="responsive" '.$instance['shortcode_attrs'].']';
|
86 |
+
|
87 |
+
return $shortcode;
|
88 |
+
}
|
89 |
+
|
90 |
+
/**
|
91 |
+
* Update widget shortcode attributes from Shortcode Composer or other external function.
|
92 |
+
*
|
93 |
+
* @param string $shortcode_attrs the new shortcode attributes.
|
94 |
+
*/
|
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'] == '' ) {
|
102 |
+
mt_srand((double)microtime()*1000000);
|
103 |
+
$_POST['widget-'.$this->id_base][$this->number]['shortcode_id'] = (string)mt_rand(1000, 9999);
|
104 |
+
}
|
105 |
+
$this->update_callback();
|
106 |
+
}
|
107 |
+
|
108 |
+
}
|
109 |
+
|
110 |
+
?>
|
readme.txt
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
=== Wordpress File Upload ===
|
2 |
Contributors: nickboss
|
3 |
Donate link: http://www.iptanus.com/support/wordpress-file-upload
|
4 |
-
Tags:
|
5 |
Requires at least: 2.9.2
|
6 |
Tested up to: 4.2.4
|
7 |
Stable tag: "trunk"
|
@@ -24,20 +24,21 @@ Several filters and actions before and after file upload enable extension of its
|
|
24 |
|
25 |
The characteristics of the plugin are:
|
26 |
|
27 |
-
* It
|
28 |
-
*
|
29 |
-
*
|
30 |
-
* It supports multilingual characters and localization.
|
31 |
-
* Uploaded files can be added to Media or be attached to the current page.
|
32 |
-
* It is highly customizable with many (more than 50) options.
|
33 |
* It produces notification messages and e-mails.
|
34 |
-
*
|
35 |
* Upload progress can be monitored with a progress bar.
|
36 |
* It supports redirection to another url after successful upload.
|
37 |
-
*
|
38 |
-
*
|
|
|
|
|
|
|
39 |
* It supports logging of upload events or management of files, which can be viewed by admins through the Dashboard.
|
40 |
* It includes a file browser in the Dashboard, from where admins can view the uploaded files and manage them.
|
|
|
41 |
|
42 |
The plugin is translated in the following languages:
|
43 |
|
@@ -124,11 +125,24 @@ There is an option in plugin's settings in Dashboard to relax the CSS rules, so
|
|
124 |
3. A screenshot of the plugin showing the successful upload message.
|
125 |
4. A screenshot of the plugin with additional form fields.
|
126 |
5. A screenshot of the plugin with subfolder selection.
|
127 |
-
6. A screenshot of the
|
128 |
-
7. A screenshot of the
|
|
|
129 |
|
130 |
== Changelog ==
|
131 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
132 |
= 3.3.1 =
|
133 |
* bug corrected that was breaking plugin operation for php versions prior to 5.3
|
134 |
* added a "Maintenance Actions" section in plugin's Dashboard page
|
@@ -493,6 +507,9 @@ Initial version.
|
|
493 |
|
494 |
== Upgrade Notice ==
|
495 |
|
|
|
|
|
|
|
496 |
= 3.3.1 =
|
497 |
Important upgrade to correct a bug of the previous version and introduce a new feature.
|
498 |
|
@@ -697,6 +714,7 @@ A detailed list of attributes, together with instructions is shown below:
|
|
697 |
* **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.
|
698 |
* **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".
|
699 |
* **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.
|
|
|
700 |
|
701 |
*Filters*
|
702 |
|
1 |
=== Wordpress File Upload ===
|
2 |
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"
|
24 |
|
25 |
The characteristics of the plugin are:
|
26 |
|
27 |
+
* It uses the latest HTML5 technology, however it will also work with old browsers and mobile phones.
|
28 |
+
* It can be added in posts, pages or sidebars (as a widget).
|
29 |
+
* It supports additional form fields (like checkboxes, text fields, email fields, dropdown lists etc).
|
|
|
|
|
|
|
30 |
* It produces notification messages and e-mails.
|
31 |
+
* It supports selection of destination folder from a list of subfolders.
|
32 |
* Upload progress can be monitored with a progress bar.
|
33 |
* It supports redirection to another url after successful upload.
|
34 |
+
* There can be more than one instances of the shortcode in the same page or post.
|
35 |
+
* Uploaded files can be added to Media or be attached to the current page.
|
36 |
+
* It is highly customizable with many (more than 50) options.
|
37 |
+
* It supports filters and actions before and after file upload.
|
38 |
+
* It contains a visual editor for customizing the plugin easily without any knowledge of shortcodes or programming
|
39 |
* It supports logging of upload events or management of files, which can be viewed by admins through the Dashboard.
|
40 |
* It includes a file browser in the Dashboard, from where admins can view the uploaded files and manage them.
|
41 |
+
* It supports multilingual characters and localization.
|
42 |
|
43 |
The plugin is translated in the following languages:
|
44 |
|
125 |
3. A screenshot of the plugin showing the successful upload message.
|
126 |
4. A screenshot of the plugin with additional form fields.
|
127 |
5. A screenshot of the plugin with subfolder selection.
|
128 |
+
6. A screenshot of the plugin in a sidebar.
|
129 |
+
7. A screenshot of the shortcode composer.
|
130 |
+
8. A screenshot of the file browser.
|
131 |
|
132 |
== Changelog ==
|
133 |
|
134 |
+
= 3.4.0 =
|
135 |
+
* added fitmode attribute to make the plugin responsive
|
136 |
+
* added widget "Wordpress File Upload Form", so that the uploader can be installed in a sidebar
|
137 |
+
* changes to Shortcode Composer so that it can edit plugin instances existing in sidebars as widgets
|
138 |
+
* changes to Uploader Instances in plugin's area in Dashboard to show also instances existing inside sidebars
|
139 |
+
* added the ability to define dimensions (width and height) for the whole plugin
|
140 |
+
* dimensioning of plugin's elements improved when fitmode is set to "responsive"
|
141 |
+
* filter and non-object warnings of front-end file browser, appearing when DEBUG mode is ON, removed
|
142 |
+
* bug fixed to front-end file browser to hide Shortcode Composer button for non-admin users
|
143 |
+
* logic changed to front-end file browser to allow users to download files uploaded by other users
|
144 |
+
* code changed to front-end file browser to show a message when a user attempts to delete a file that was not uploaded by him/her
|
145 |
+
|
146 |
= 3.3.1 =
|
147 |
* bug corrected that was breaking plugin operation for php versions prior to 5.3
|
148 |
* added a "Maintenance Actions" section in plugin's Dashboard page
|
507 |
|
508 |
== Upgrade Notice ==
|
509 |
|
510 |
+
= 3.4.0 =
|
511 |
+
Important upgrade to introduce some new features and fix some bugs.
|
512 |
+
|
513 |
= 3.3.1 =
|
514 |
Important upgrade to correct a bug of the previous version and introduce a new feature.
|
515 |
|
714 |
* **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.
|
715 |
* **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".
|
716 |
* **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.
|
717 |
+
* **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".
|
718 |
|
719 |
*Filters*
|
720 |
|
release_notes.txt
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<span><strong>Latest release notes: </strong>This
|
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>
|
screenshot-6.jpg
CHANGED
Binary file
|
screenshot-7.jpg
CHANGED
Binary file
|
screenshot-8.jpg
ADDED
Binary file
|
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.
|
8 |
Author: Nickolas Bossinas
|
9 |
Author URI: http://www.iptanus.com
|
10 |
*/
|
@@ -71,6 +71,12 @@ add_action('wp_ajax_wfu_ajax_action_download_file_monitor', 'wfu_ajax_action_dow
|
|
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 |
|
75 |
function wfu_enqueue_frontpage_scripts() {
|
76 |
$plugin_options = wfu_decode_plugin_options(get_option( "wordpress_file_upload_options" ));
|
@@ -138,6 +144,7 @@ function wordpress_file_upload_function($incomingfromhandler) {
|
|
138 |
$shortcode_tag = 'wordpress_file_upload';
|
139 |
$params = wfu_plugin_parse_array($incomingfromhandler);
|
140 |
$sid = $params["uploadid"];
|
|
|
141 |
// store current page and blog id in params array
|
142 |
$params["pageid"] = $post->ID;
|
143 |
$params["blogid"] = $blog_id;
|
@@ -244,7 +251,12 @@ function wordpress_file_upload_function($incomingfromhandler) {
|
|
244 |
|
245 |
/* Compose the html code for the plugin */
|
246 |
$wordpress_file_upload_output = "";
|
247 |
-
$
|
|
|
|
|
|
|
|
|
|
|
248 |
//add visual editor overlay if the current user is administrator
|
249 |
if ( current_user_can( 'manage_options' ) ) {
|
250 |
$wordpress_file_upload_output .= wfu_add_visual_editor_button($shortcode_tag, $sid);
|
@@ -259,7 +271,7 @@ function wordpress_file_upload_function($incomingfromhandler) {
|
|
259 |
$itemplaces = explode("/", $params["placements"]);
|
260 |
foreach ( $itemplaces as $section ) {
|
261 |
$items_in_section = explode("+", trim($section));
|
262 |
-
$section_array = array( );
|
263 |
foreach ( $items_in_section as $item_in_section ) {
|
264 |
$item_in_section = strtolower(trim($item_in_section));
|
265 |
if ( $components_indexed[$item_in_section]['multiplacements'] || $components_indexed[$item_in_section]['occurrencies'] == 0 ) {
|
@@ -279,12 +291,12 @@ function wordpress_file_upload_function($incomingfromhandler) {
|
|
279 |
}
|
280 |
/* Append mandatory blocks, if have not been included in placements attribute */
|
281 |
if ( $params["userdata"] == "true" && strpos($params["placements"], "userdata") === false ) {
|
282 |
-
$section_array = array( );
|
283 |
array_push($section_array, wfu_prepare_userdata_block($params, $additional_params, 0));
|
284 |
$wordpress_file_upload_output .= call_user_func_array("wfu_add_div", $section_array);
|
285 |
}
|
286 |
if ( strpos($params["placements"], "selectbutton") === false ) {
|
287 |
-
$section_array = array( );
|
288 |
array_push($section_array, wfu_prepare_uploadform_block($params, $additional_params, 0));
|
289 |
$wordpress_file_upload_output .= call_user_func_array("wfu_add_div", $section_array);
|
290 |
}
|
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.0
|
8 |
Author: Nickolas Bossinas
|
9 |
Author URI: http://www.iptanus.com
|
10 |
*/
|
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' );
|
76 |
+
|
77 |
+
function register_wfu_widget() {
|
78 |
+
register_widget( 'WFU_Widget' );
|
79 |
+
}
|
80 |
|
81 |
function wfu_enqueue_frontpage_scripts() {
|
82 |
$plugin_options = wfu_decode_plugin_options(get_option( "wordpress_file_upload_options" ));
|
144 |
$shortcode_tag = 'wordpress_file_upload';
|
145 |
$params = wfu_plugin_parse_array($incomingfromhandler);
|
146 |
$sid = $params["uploadid"];
|
147 |
+
$widgetid = $params["widgetid"];
|
148 |
// store current page and blog id in params array
|
149 |
$params["pageid"] = $post->ID;
|
150 |
$params["blogid"] = $blog_id;
|
251 |
|
252 |
/* Compose the html code for the plugin */
|
253 |
$wordpress_file_upload_output = "";
|
254 |
+
$plugin_style = "";
|
255 |
+
if ( $widths["plugin"] != "" ) $plugin_style .= 'width: '.$widths["plugin"].'; ';
|
256 |
+
if ( $heights["plugin"] != "" ) $plugin_style .= 'height: '.$heights["plugin"].'; ';
|
257 |
+
if ( $plugin_style != "" ) $plugin_style = ' style="'.$plugin_style.'"';
|
258 |
+
$wordpress_file_upload_output .= '<div id="'.$shortcode_tag.'_block_'.$sid.'" class="file_div_clean'.( $params["fitmode"] == "responsive" ? '_responsive_container' : '' ).' wfu_container"'.$plugin_style.'>';
|
259 |
+
$wordpress_file_upload_output .= "\n\t".'<input type="hidden" id="'.$shortcode_tag.'_'.$sid.'_widgetid" value="'.$widgetid.'" />';
|
260 |
//add visual editor overlay if the current user is administrator
|
261 |
if ( current_user_can( 'manage_options' ) ) {
|
262 |
$wordpress_file_upload_output .= wfu_add_visual_editor_button($shortcode_tag, $sid);
|
271 |
$itemplaces = explode("/", $params["placements"]);
|
272 |
foreach ( $itemplaces as $section ) {
|
273 |
$items_in_section = explode("+", trim($section));
|
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 ) {
|
291 |
}
|
292 |
/* Append mandatory blocks, if have not been included in placements attribute */
|
293 |
if ( $params["userdata"] == "true" && strpos($params["placements"], "userdata") === false ) {
|
294 |
+
$section_array = array( $params["fitmode"] );
|
295 |
array_push($section_array, wfu_prepare_userdata_block($params, $additional_params, 0));
|
296 |
$wordpress_file_upload_output .= call_user_func_array("wfu_add_div", $section_array);
|
297 |
}
|
298 |
if ( strpos($params["placements"], "selectbutton") === false ) {
|
299 |
+
$section_array = array( $params["fitmode"] );
|
300 |
array_push($section_array, wfu_prepare_uploadform_block($params, $additional_params, 0));
|
301 |
$wordpress_file_upload_output .= call_user_func_array("wfu_add_div", $section_array);
|
302 |
}
|