WordPress File Upload - Version 2.7.5

Version Description

  • added German and Greek translation
Download this release

Release Info

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

Code changes from version 2.7.4 to 2.7.5

css/wordpress_file_upload_adminstyle.css CHANGED
@@ -1 +1 @@
1
- div.wfu_shortcode_container{display:inline-block;position:relative;width:50%;padding:0;margin:0;background:0 0;border:none}textarea.wfu_shortcode{width:100%}div.wfu_container{margin-top:10px}div.wfu_help_container{display:inline-block;position:relative;top:4px;padding:0;margin:0;background:0 0;border:none}div.wfu_help_container img{visibility:hidden}table.wfu_inner_table th:hover div.wfu_help_container img,table.wfu_main_table th:hover div.wfu_help_container img{visibility:visible}div.wfu_restore_container{display:inline-block;position:relative;top:4px;padding:0;margin:0;background:0 0;border:none}div.wfu_restore_container img{visibility:hidden}table.wfu_inner_table th:hover div.wfu_restore_container img,table.wfu_main_table th:hover div.wfu_restore_container img{visibility:visible}div.wfu_td_div{display:block;position:relative;width:100%;height:100%;padding:0;margin:0;background:0 0;border:none}div.wfu_container input.wfu_long_text{width:100%}div.wfu_container input.wfu_short_text{width:60px}div.wfu_container input{width:200px}div.wfu_container input[type=checkbox]{width:auto}table.wfu_main_table{table-layout:fixed}table.wfu_main_table tr:nth-child(odd){background-color:#f4f4f4}table.wfu_main_table table.wfu_inner_table tr,table.wfu_main_table tr:nth-child(even){background-color:transparent}table.wfu_main_table th{width:17%}table.wfu_main_table td:nth-child(2){width:33%}table.wfu_main_table td:nth-child(3){width:50%}table.wfu_main_table table.wfu_inner_table th{width:34%}table.wfu_main_table table.wfu_inner_table td:nth-child(2){width:66%}table.wfu_main_table tr.wfu_subcategory{background-color:#ddd}table.wfu_main_table tr.wfu_subcategory>th{padding-top:0;padding-bottom:0}select.wfu_variable{padding:0;margin:0;height:auto;font-size:smaller;background-color:#ddd;border:1px solid #ccc;color:#333;-webkit-border-radius:5px;-moz-border-radius:5px;-khtml-border-radius:5px;border-radius:5px;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}span.wfu_variable{padding:1px;margin:0;font-size:smaller;background-color:#ddd;border:1px solid #ccc;color:#333;-webkit-border-radius:5px;-moz-border-radius:5px;-khtml-border-radius:5px;border-radius:5px;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}span.wfu_ptext_span{display:inline-block;width:60px}select.wfu_select_folders{height:auto;min-width:75%}select.wfu_select_folders_empty{font-style:italic;color:silver}div.wfu_subfolders_inner_shadow{position:absolute;width:100%;height:100%;padding:0;margin:0;border:none;background-color:rgba(255,255,255,.8)}option.wfu_select_folders_option_default{color:#00f}div.wfu_subfolder_nav_container{width:40px;margin:0;padding:0;border:none;background:0 0;display:inline-block;vertical-align:top}table.wfu_subfolder_nav{table-layout:fixed;width:100%;margin:0;padding:0;border:none;background:0 0;border-spacing:1px}table.wfu_subfolder_nav tr{margin:0;padding:0;border:none;background:0 0}table.wfu_subfolder_nav td{margin:0;padding:0;border:none;background:0 0;font-size:small;line-height:1;text-align:center}table.wfu_subfolder_nav button.button{margin:0;padding:0;width:17px;font-size:smaller;height:18px;line-height:1;color:#000;font-weight:700}table.wfu_subfolder_nav button.button:disabled{color:silver}.button.wfu_subfolder_nav_pressed,.button.wfu_subfolder_nav_pressed:focus,.button.wfu_subfolder_nav_pressed:hover{background:#4169e1}div.wfu_subfolder_tools_container{width:75%;margin:0;padding:0;border:none;background:0 0}table.wfu_subfolder_tools{table-layout:fixed;width:100%;margin:0;padding:0;border:none;background:0 0}table.wfu_subfolder_tools tr{margin:0;padding:0;border:none;background:0 0}table.wfu_subfolder_tools td{margin:0;padding:0;border:none;background:0 0;font-size:smaller}table.wfu_subfolder_tools td div{margin:0;padding:0;border:none;background:0 0;position:relative}table.wfu_subfolder_tools label{display:block;padding:0;margin:0;line-height:1}table.wfu_subfolder_tools input{width:100%;padding:0;margin:0}table.wfu_subfolder_tools input:disabled{width:100%;padding:0;margin:0;color:silver}table.wfu_subfolder_tools button.button{margin:0;padding:1px 0 0;width:17px;font-size:smaller;height:17px;line-height:1;position:absolute;bottom:2px}table.wfu_subfolder_tools button.button:disabled{color:silver}table.wfu_subfolder_tools button.button:disabled img{opacity:.4}.wfu_subfolder_tools_disabled{color:silver}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container{position:absolute;width:150px;height:150px;margin:0;padding:0;z-index:100;border:1px solid silver;box-shadow:1px 1px 2px;background-color:#fff;font-size:inherit}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container table{table-layout:fixed;width:100%;height:100%;border:none;background:#eee;margin:0;padding:0;border-spacing:0;font-size:inherit}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container tr{border:none;background:0 0;margin:0;padding:0;font-size:inherit}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container td{border:none;background:0 0;margin:0;padding:2px;line-height:0;overflow:hidden;font-size:inherit}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container td div{position:relative;border:none;background:0 0;margin:0;padding:0;width:100%;height:100%;display:inline-block;line-height:1}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container td div button.button{font-size:inherit;line-height:1;height:17px;padding:4px;position:relative;width:auto;margin:0;bottom:auto}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container select{width:100%;height:100%;top:0;bottom:0;position:absolute;margin:0}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container label{color:#222;font-weight:700;position:absolute;top:0;bottom:0;height:10px;margin:auto}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container td div button.button.wfu_folder_browser_cancel{width:17px;height:17px;position:absolute;right:0;top:0;margin:0;padding:0}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container td div div.wfu_folder_browser_loading_container{position:absolute;width:100%;height:100%;top:0;bottom:0;margin:0;padding:0;background-color:rgba(255,255,255,.9);text-align:center}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container td div div.wfu_folder_browser_loading_container label{position:relative;display:block}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container td div div.wfu_folder_browser_loading_container img{position:relative}.button.wfu_folder_browser_cancel img{vertical-align:top;margin-top:2px}div.wfu_mchecklist_container{display:inline-block;border:1px solid #ddd;border-radius:4px;padding:4px}div.wfu_mchecklist_item{display:inline-block}div.wfu_mchecklist_item label{vertical-align:baseline;margin-left:4px;cursor:default}div.wfu_mchecklist_item input:disabled+label{color:gray}div.wfu_mchecklist_item div{margin-left:4px}div.wfu_mchecklist_item:hover img{visibility:visible}div.wfu_mchecklist_checkall,div.wfu_rolelist_checkall{display:inline-block;vertical-align:top;margin:0 0 0 10px}div.wfu_shadow{position:absolute;width:100%;height:100%;left:0;top:0;margin:0;padding:0;background-color:#fff;z-index:10;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";filter:alpha(opacity=60);-moz-opacity:.6;-khtml-opacity:.6;opacity:.6}table.wfu_main_table tr:nth-child(odd) div.wfu_shadow{background-color:#f4f4f4}div.wfu_onoff_container_off,div.wfu_onoff_container_on{display:inline-block;position:relative;padding:2px;border:1px solid #aaa;-webkit-border-radius:3px;-moz-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;background:#066dab;background:-moz-linear-gradient(top,rgba(6,109,171,1) 0,rgba(197,222,234,1) 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(6,109,171,1)),color-stop(100%,rgba(197,222,234,1)));background:-webkit-linear-gradient(top,rgba(6,109,171,1) 0,rgba(197,222,234,1) 100%);background:-o-linear-gradient(top,rgba(6,109,171,1) 0,rgba(197,222,234,1) 100%);background:-ms-linear-gradient(top,rgba(6,109,171,1) 0,rgba(197,222,234,1) 100%);background:linear-gradient(to bottom,rgba(6,109,171,1) 0,rgba(197,222,234,1) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#066dab', endColorstr='#c5deea', GradientType=0)}span.wfu_onoff_text{width:30px;display:inline-block;text-align:center;color:#FFF}div.wfu_onoff_slider{position:absolute;margin:0;width:31px;top:0;bottom:0;border:1px solid #fff;-webkit-border-radius:2px;-moz-border-radius:2px;-khtml-border-radius:2px;border-radius:2px;-moz-box-shadow:0 0 2px;-webkit-box-shadow:0 0 2px;box-shadow:0 0 2px;background:#ccc;background:-moz-linear-gradient(top,rgba(204,204,204,1) 0,rgba(255,255,255,1) 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(204,204,204,1)),color-stop(100%,rgba(255,255,255,1)));background:-webkit-linear-gradient(top,rgba(204,204,204,1) 0,rgba(255,255,255,1) 100%);background:-o-linear-gradient(top,rgba(204,204,204,1) 0,rgba(255,255,255,1) 100%);background:-ms-linear-gradient(top,rgba(204,204,204,1) 0,rgba(255,255,255,1) 100%);background:linear-gradient(to bottom,rgba(204,204,204,1) 0,rgba(255,255,255,1) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#cccccc', endColorstr='#ffffff', GradientType=0)}div.wfu_onoff_container_on div.wfu_onoff_slider{left:50%}div.wfu_onoff_container_off div.wfu_onoff_slider{left:0}@-webkit-keyframes set_on{from{left:0}to{left:50%}}@-moz-keyframes set_on{from{left:0}to{left:50%}}@-o-keyframes set_on{from{left:0}to{left:50%}}@keyframes set_on{from{left:0}to{left:50%}}div.wfu_placements_wrapper{display:block;position:relative;margin:0;padding:0;background:0 0;border:none}div.wfu_placements_container{display:inline-block;position:relative;width:100%;height:300px;background-color:#fff;border:1px solid #ccc;-webkit-border-radius:3px;-moz-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;padding:0;overflow:scroll;font-size:0;line-height:0;white-space:nowrap}div.wfu_componentlist_container{display:inline-block;position:absolute;width:auto;height:auto;top:0;left:100%;background:0 0;border:none;margin:0 0 0 20px;padding:0;z-index:1;white-space:nowrap}div.wfu_component_box_container{display:inline-block;position:relative;width:80px;height:30px;background-color:transparent;border:1px solid transparent;padding:4px;margin:0;cursor:default}div.wfu_component_box_base{display:block;position:absolute;width:80px;height:30px;left:-1px;top:-1px;background-color:#ddd;border:1px solid #bbb;-webkit-border-radius:3px;-moz-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;padding:4px;cursor:default;font-size:12px;line-height:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";filter:alpha(opacity=40);-moz-opacity:.4;-khtml-opacity:.4;opacity:.4;white-space:normal}div.wfu_component_box{display:inline-block;position:relative;width:80px;height:30px;background-color:#ddd;border:1px solid #bbb;-webkit-border-radius:3px;-moz-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;padding:4px;cursor:default;font-size:12px;line-height:1;z-index:1;white-space:normal}div.wfu_inbase{display:block;position:absolute;left:-1px;top:-1px}div.wfu_component_box:hover{background-color:#eee;border:1px solid #bbb}div.wfu_component_box_selected{background-color:#aaa;border:1px solid #bbb}div.wfu_component_box_dragged{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";filter:alpha(opacity=40);-moz-opacity:.4;-khtml-opacity:.4;opacity:.4}div.wfu_component_separator_ver{display:inline-block;position:relative;width:8px;height:26px;background-color:transparent;border:1px solid transparent;margin:6px -8px;padding:0 8px;cursor:default;z-index:1}div.wfu_component_separator_hor{display:block;position:relative;width:100%;height:8px;background-color:transparent;border:1px solid transparent;margin:-8px 0;padding:8px 0;cursor:default;z-index:1}div.wfu_component_bar_hor{position:absolute;width:auto;height:4px;left:10px;right:0;background-color:silver;border:none;margin:11px 0 0;padding:0;display:none}div.wfu_component_bar_ver{position:absolute;width:4px;height:40px;background-color:silver;border:none;margin:-6px 0 0 11px;padding:0;display:none}div.wfu_componentlist_dragdrop{position:absolute;width:100%;height:100%;left:0;top:0;background-color:#f8f8f8;border:4px dashed #aaa;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;z-index:2;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";filter:alpha(opacity=70);-moz-opacity:.7;-khtml-opacity:.7;opacity:.7}div.wfu_componentlist_dragdrop_dragover{border:4px dashed #555}div.wfu_userdata_container{display:block;position:relative;width:100%;height:100%;padding:0;margin:0;background:0 0;border:none}div.wfu_userdata_action{display:inline-block;position:relative;top:2px;width:16px;height:16px;padding:0;margin:0;background:0 0;text-align:center;border:1px solid transparent;-webkit-border-radius:3px;-moz-border-radius:3px;-khtml-border-radius:3px;border-radius:3px}div.wfu_userdata_action:hover{border:1px solid #aaa}div.wfu_userdata_action.wfu_userdata_action_disabled:hover{border:1px solid transparent}div.wfu_userdata_action>img{width:12px;height:12px}div.wfu_userdata_action_disabled>img{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";filter:alpha(opacity=40);-moz-opacity:.4;-khtml-opacity:.4;opacity:.4}div.wfu_userdata_line{display:block;position:relative;padding:0;margin:0;background:0 0;border:none;white-space:nowrap}div.wfu_color_container{display:block;position:relative;padding:0;margin:0;background:0 0;border:none;white-space:nowrap;z-index:1}input[type=text].wp-color-picker{width:75px}input[type=button].wp-picker-clear{width:62px}span.wfu_save_label{background-color:#f0f8ff;color:#32cd32;border-radius:6px;padding:1px 2px;box-shadow:1px 1px 1px;font-size:smaller;opacity:0}span.wfu_save_label_fail{background-color:beige;color:#f08080;border-radius:6px;padding:1px 2px;box-shadow:1px 1px 1px;font-size:smaller;opacity:0}div.wfu_global_dialog_container{position:fixed;width:100%;height:100%;top:0;left:0;margin:0;padding:0;border:none;background:0 0;z-index:1;display:none}
1
+ div.wfu_shortcode_container{display:inline-block;position:relative;width:50%;padding:0;margin:0;background:0 0;border:none}textarea.wfu_shortcode{width:100%}div.wfu_container{margin-top:10px}div.wfu_help_container{display:inline-block;position:relative;top:4px;padding:0;margin:0;background:0 0;border:none}div.wfu_help_container img{visibility:hidden}table.wfu_inner_table th:hover div.wfu_help_container img,table.wfu_main_table th:hover div.wfu_help_container img{visibility:visible}div.wfu_restore_container{display:inline-block;position:relative;top:4px;padding:0;margin:0;background:0 0;border:none}div.wfu_restore_container img{visibility:hidden}table.wfu_inner_table th:hover div.wfu_restore_container img,table.wfu_main_table th:hover div.wfu_restore_container img{visibility:visible}div.wfu_td_div{display:block;position:relative;width:100%;height:100%;padding:0;margin:0;background:0 0;border:none}div.wfu_container input.wfu_long_text{width:100%}div.wfu_container input.wfu_short_text{width:60px}div.wfu_container input{width:200px}div.wfu_container input[type=checkbox]{width:auto}table.wfu_main_table{table-layout:fixed}table.wfu_main_table tr:nth-child(odd){background-color:#f4f4f4}table.wfu_main_table table.wfu_inner_table tr,table.wfu_main_table tr:nth-child(even){background-color:transparent}table.wfu_main_table th{width:17%}table.wfu_main_table td:nth-child(2){width:33%}table.wfu_main_table td:nth-child(3){width:50%}table.wfu_main_table table.wfu_inner_table th{width:34%}table.wfu_main_table table.wfu_inner_table td:nth-child(2){width:66%}table.wfu_main_table tr.wfu_subcategory{background-color:#ddd}table.wfu_main_table tr.wfu_subcategory>th{padding-top:0;padding-bottom:0}select.wfu_variable{padding:0;margin:0;height:auto;font-size:smaller;background-color:#ddd;border:1px solid #ccc;color:#333;-webkit-border-radius:5px;-moz-border-radius:5px;-khtml-border-radius:5px;border-radius:5px;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}span.wfu_variable{padding:1px;margin:0;font-size:smaller;background-color:#ddd;border:1px solid #ccc;color:#333;-webkit-border-radius:5px;-moz-border-radius:5px;-khtml-border-radius:5px;border-radius:5px;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}span.wfu_ptext_span{display:inline-block;width:60px}select.wfu_select_folders{height:auto;min-width:75%}select.wfu_select_folders_empty{font-style:italic;color:silver}div.wfu_subfolders_inner_shadow{position:absolute;width:100%;height:100%;padding:0;margin:0;border:none;background-color:rgba(255,255,255,.8)}option.wfu_select_folders_option_default{color:#00f}div.wfu_subfolder_nav_container{width:40px;margin:0;padding:0;border:none;background:0 0;display:inline-block;vertical-align:top}table.wfu_subfolder_nav{table-layout:fixed;width:100%;margin:0;padding:0;border:none;background:0 0;border-spacing:1px}table.wfu_subfolder_nav tr{margin:0;padding:0;border:none;background:0 0}table.wfu_subfolder_nav td{margin:0;padding:0;border:none;background:0 0;font-size:small;line-height:1;text-align:center}table.wfu_subfolder_nav button.button{margin:0;padding:0;width:17px;font-size:smaller;height:18px;line-height:1;color:#000;font-weight:700}table.wfu_subfolder_nav button.button:disabled{color:silver}.button.wfu_subfolder_nav_pressed,.button.wfu_subfolder_nav_pressed:focus,.button.wfu_subfolder_nav_pressed:hover{background:#4169e1}div.wfu_subfolder_tools_container{width:75%;margin:0;padding:0;border:none;background:0 0}table.wfu_subfolder_tools{table-layout:fixed;width:100%;margin:0;padding:0;border:none;background:0 0}table.wfu_subfolder_tools tr{margin:0;padding:0;border:none;background:0 0}table.wfu_subfolder_tools td{margin:0;padding:0;border:none;background:0 0;font-size:smaller}table.wfu_subfolder_tools td div{margin:0;padding:0;border:none;background:0 0;position:relative}table.wfu_subfolder_tools label{display:block;padding:0;margin:0;line-height:1}table.wfu_subfolder_tools input{width:100%;padding:0;margin:0}table.wfu_subfolder_tools input:disabled{width:100%;padding:0;margin:0;color:silver}table.wfu_subfolder_tools button.button{margin:0;padding:1px 0 0;width:17px;font-size:smaller;height:17px;line-height:1;position:absolute;bottom:2px}table.wfu_subfolder_tools button.button:disabled{color:silver}table.wfu_subfolder_tools button.button:disabled img{opacity:.4}.wfu_subfolder_tools_disabled{color:silver}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container{position:absolute;width:150px;height:150px;margin:0;padding:0;z-index:100;border:1px solid silver;box-shadow:1px 1px 2px;background-color:#fff;font-size:inherit}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container table{table-layout:fixed;width:100%;height:100%;border:none;background:#eee;margin:0;padding:0;border-spacing:0;font-size:inherit}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container tr{border:none;background:0 0;margin:0;padding:0;font-size:inherit}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container td{border:none;background:0 0;margin:0;padding:2px;line-height:0;overflow:hidden;font-size:inherit}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container td div{position:relative;border:none;background:0 0;margin:0;padding:0;width:100%;height:100%;display:inline-block;line-height:1}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container td div button.button{font-size:inherit;line-height:1;height:17px;padding:4px;position:relative;width:auto;margin:0;bottom:auto}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container select{width:100%;height:100%;top:0;bottom:0;position:absolute;margin:0}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container label{color:#222;font-weight:700;position:absolute;top:0;bottom:0;height:10px;margin:auto}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container td div button.button.wfu_folder_browser_cancel{width:17px;height:17px;position:absolute;right:0;top:0;margin:0;padding:0}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container td div div.wfu_folder_browser_loading_container{position:absolute;width:100%;height:100%;top:0;bottom:0;margin:0;padding:0;background-color:rgba(255,255,255,.9);text-align:center}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container td div div.wfu_folder_browser_loading_container label{position:relative;display:block}table.wfu_subfolder_tools td div.wfu_subfolders_browser_container td div div.wfu_folder_browser_loading_container img{position:relative}.button.wfu_folder_browser_cancel img{vertical-align:top;margin-top:2px}div.wfu_mchecklist_container{display:inline-block;border:1px solid #ddd;border-radius:4px;padding:4px}div.wfu_mchecklist_item{display:inline-block}div.wfu_mchecklist_item label{vertical-align:baseline;margin-left:4px;cursor:default}div.wfu_mchecklist_item input:disabled+label{color:gray}div.wfu_mchecklist_item div{margin-left:4px}div.wfu_mchecklist_item:hover img{visibility:visible}div.wfu_mchecklist_checkall,div.wfu_rolelist_checkall{display:inline-block;vertical-align:top;margin:0 0 0 10px}table.wfu_userlist_container{border:none;background:0 0;margin:0;padding:0;border-spacing:0}table.wfu_userlist_container tr:nth-child(odd){border:none;background:0 0;margin:0;padding:0}table.wfu_userlist_container td{width:1%;border:none;background:0 0;margin:0;padding:0;vertical-align:top}div.wfu_userlist_checkall{display:inline-block;vertical-align:top;margin:0 0 0 10px}div.wfu_shadow{position:absolute;width:100%;height:100%;left:0;top:0;margin:0;padding:0;background-color:#fff;z-index:10;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";filter:alpha(opacity=60);-moz-opacity:.6;-khtml-opacity:.6;opacity:.6}table.wfu_main_table tr:nth-child(odd) div.wfu_shadow{background-color:#f4f4f4}div.wfu_onoff_container_off,div.wfu_onoff_container_on{display:inline-block;position:relative;padding:2px;border:1px solid #aaa;-webkit-border-radius:3px;-moz-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;background:#066dab;background:-moz-linear-gradient(top,rgba(6,109,171,1) 0,rgba(197,222,234,1) 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(6,109,171,1)),color-stop(100%,rgba(197,222,234,1)));background:-webkit-linear-gradient(top,rgba(6,109,171,1) 0,rgba(197,222,234,1) 100%);background:-o-linear-gradient(top,rgba(6,109,171,1) 0,rgba(197,222,234,1) 100%);background:-ms-linear-gradient(top,rgba(6,109,171,1) 0,rgba(197,222,234,1) 100%);background:linear-gradient(to bottom,rgba(6,109,171,1) 0,rgba(197,222,234,1) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#066dab', endColorstr='#c5deea', GradientType=0)}span.wfu_onoff_text{width:30px;display:inline-block;text-align:center;color:#FFF}div.wfu_onoff_slider{position:absolute;margin:0;width:31px;top:0;bottom:0;border:1px solid #fff;-webkit-border-radius:2px;-moz-border-radius:2px;-khtml-border-radius:2px;border-radius:2px;-moz-box-shadow:0 0 2px;-webkit-box-shadow:0 0 2px;box-shadow:0 0 2px;background:#ccc;background:-moz-linear-gradient(top,rgba(204,204,204,1) 0,rgba(255,255,255,1) 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(204,204,204,1)),color-stop(100%,rgba(255,255,255,1)));background:-webkit-linear-gradient(top,rgba(204,204,204,1) 0,rgba(255,255,255,1) 100%);background:-o-linear-gradient(top,rgba(204,204,204,1) 0,rgba(255,255,255,1) 100%);background:-ms-linear-gradient(top,rgba(204,204,204,1) 0,rgba(255,255,255,1) 100%);background:linear-gradient(to bottom,rgba(204,204,204,1) 0,rgba(255,255,255,1) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#cccccc', endColorstr='#ffffff', GradientType=0)}div.wfu_onoff_container_on div.wfu_onoff_slider{left:50%}div.wfu_onoff_container_off div.wfu_onoff_slider{left:0}@-webkit-keyframes set_on{from{left:0}to{left:50%}}@-moz-keyframes set_on{from{left:0}to{left:50%}}@-o-keyframes set_on{from{left:0}to{left:50%}}@keyframes set_on{from{left:0}to{left:50%}}div.wfu_placements_wrapper{display:block;position:relative;margin:0;padding:0;background:0 0;border:none}div.wfu_placements_container{display:inline-block;position:relative;width:100%;height:300px;background-color:#fff;border:1px solid #ccc;-webkit-border-radius:3px;-moz-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;padding:0;overflow:scroll;font-size:0;line-height:0;white-space:nowrap}div.wfu_componentlist_container{display:inline-block;position:absolute;width:auto;height:auto;top:0;left:100%;background:0 0;border:none;margin:0 0 0 20px;padding:0;z-index:1;white-space:nowrap}div.wfu_component_box_container{display:inline-block;position:relative;width:80px;height:30px;background-color:transparent;border:1px solid transparent;padding:4px;margin:0;cursor:default}div.wfu_component_box_base{display:block;position:absolute;width:80px;height:30px;left:-1px;top:-1px;background-color:#ddd;border:1px solid #bbb;-webkit-border-radius:3px;-moz-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;padding:4px;cursor:default;font-size:12px;line-height:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";filter:alpha(opacity=40);-moz-opacity:.4;-khtml-opacity:.4;opacity:.4;white-space:normal}div.wfu_component_box{display:inline-block;position:relative;width:80px;height:30px;background-color:#ddd;border:1px solid #bbb;-webkit-border-radius:3px;-moz-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;padding:4px;cursor:default;font-size:12px;line-height:1;z-index:1;white-space:normal}div.wfu_inbase{display:block;position:absolute;left:-1px;top:-1px}div.wfu_component_box:hover{background-color:#eee;border:1px solid #bbb}div.wfu_component_box_selected{background-color:#aaa;border:1px solid #bbb}div.wfu_component_box_dragged{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";filter:alpha(opacity=40);-moz-opacity:.4;-khtml-opacity:.4;opacity:.4}div.wfu_component_separator_ver{display:inline-block;position:relative;width:8px;height:26px;background-color:transparent;border:1px solid transparent;margin:6px -8px;padding:0 8px;cursor:default;z-index:1}div.wfu_component_separator_hor{display:block;position:relative;width:100%;height:8px;background-color:transparent;border:1px solid transparent;margin:-8px 0;padding:8px 0;cursor:default;z-index:1}div.wfu_component_bar_hor{position:absolute;width:auto;height:4px;left:10px;right:0;background-color:silver;border:none;margin:11px 0 0;padding:0;display:none}div.wfu_component_bar_ver{position:absolute;width:4px;height:40px;background-color:silver;border:none;margin:-6px 0 0 11px;padding:0;display:none}div.wfu_componentlist_dragdrop{position:absolute;width:100%;height:100%;left:0;top:0;background-color:#f8f8f8;border:4px dashed #aaa;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;z-index:2;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";filter:alpha(opacity=70);-moz-opacity:.7;-khtml-opacity:.7;opacity:.7}div.wfu_componentlist_dragdrop_dragover{border:4px dashed #555}div.wfu_userdata_container{display:block;position:relative;width:100%;height:100%;padding:0;margin:0;background:0 0;border:none}div.wfu_userdata_action{display:inline-block;position:relative;top:2px;width:16px;height:16px;padding:0;margin:0;background:0 0;text-align:center;border:1px solid transparent;-webkit-border-radius:3px;-moz-border-radius:3px;-khtml-border-radius:3px;border-radius:3px}div.wfu_userdata_action:hover{border:1px solid #aaa}div.wfu_userdata_action.wfu_userdata_action_disabled:hover{border:1px solid transparent}div.wfu_userdata_action>img{width:12px;height:12px}div.wfu_userdata_action_disabled>img{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";filter:alpha(opacity=40);-moz-opacity:.4;-khtml-opacity:.4;opacity:.4}div.wfu_userdata_line{display:block;position:relative;padding:0;margin:0;background:0 0;border:none;white-space:nowrap}div.wfu_color_container{display:block;position:relative;padding:0;margin:0;background:0 0;border:none;white-space:nowrap;z-index:1}input[type=text].wp-color-picker{width:75px}input[type=button].wp-picker-clear{width:62px}span.wfu_save_label{background-color:#f0f8ff;color:#32cd32;border-radius:6px;padding:1px 2px;box-shadow:1px 1px 1px;font-size:smaller;opacity:0}span.wfu_save_label_fail{background-color:beige;color:#f08080;border-radius:6px;padding:1px 2px;box-shadow:1px 1px 1px;font-size:smaller;opacity:0}div.wfu_global_dialog_container{position:fixed;width:100%;height:100%;top:0;left:0;margin:0;padding:0;border:none;background:0 0;z-index:1;display:none}
js/wordpress_file_upload_adminfunctions.js CHANGED
@@ -1,2 +1,2 @@
1
- function wfu_admin_activate_tab(e){for(var t,a,l=document.getElementById("wfu_tab_container"),n=0;n<l.childNodes.length;n++)t=l.childNodes[n],1===t.nodeType&&(a=t.id.substr(8),t.className.indexOf("nav-tab-active")>-1&&(t.className="nav-tab",document.getElementById("wfu_container_"+a).style.display="none"));document.getElementById("wfu_tab_"+e).className="nav-tab nav-tab-active",document.getElementById("wfu_container_"+e).style.display="block"}function wfu_admin_onoff_clicked(e){var t=document.getElementById("wfu_attribute_"+e),a=document.getElementById("wfu_wrapper"),l=document.getElementsByClassName("wfu_shadow_"+e,"div",a),n=document.getElementsByClassName("wfu_shadow_"+e+"_inv","div",a),d="on"==t.className.substr(t.className.length-2);if(d=!d){document.getElementById("wfu_attribute_value_"+e).value="true",t.className="wfu_onoff_container_on";for(var u=0;u<l.length;u++)l[u].style.display="none";for(var u=0;u<n.length;u++)n[u].style.display="block"}else{document.getElementById("wfu_attribute_value_"+e).value="false",t.className="wfu_onoff_container_off";for(var u=0;u<l.length;u++)l[u].style.display="block";for(var u=0;u<n.length;u++)n[u].style.display="none"}wfu_generate_shortcode(),"userdata"==e&&wfu_update_userfield_variables()}function wfu_admin_radio_clicked(e){var t=document.getElementsByName("wfu_radioattribute_"+e),a=document.getElementById("wfu_wrapper"),l=document.getElementsByClassName("wfu_shadow_"+e,"div",a),n=document.getElementsByClassName("wfu_shadow_"+e+"_inv","div",a),d="";for(r=0;r<t.length;r++)t[r].checked&&(d=t[r].value);var u="*"==d.substr(0,1);if(u){d=d.substr(1);for(var r=0;r<l.length;r++)l[r].style.display="none";for(var r=0;r<n.length;r++)n[r].style.display="block"}else{for(var r=0;r<l.length;r++)l[r].style.display="block";for(var r=0;r<n.length;r++)n[r].style.display="none"}document.getElementById("wfu_attribute_value_"+e).value=d,wfu_generate_shortcode()}function wfu_addEventHandler(e,t,a){e.addEventListener?e.addEventListener(t,a,!1):e.attachEvent?e.attachEvent("on"+t,a):e["on"+t]=a}function wfu_attach_separator_dragdrop_events(){for(var e,t=document.getElementById("wfu_placements_container"),a=0;a<t.childNodes.length;a++)e=t.childNodes[a],("wfu_component_separator_hor"==e.className||"wfu_component_separator_ver"==e.className)&&(wfu_addEventHandler(e,"dragenter",wfu_separator_dragenter),wfu_addEventHandler(e,"dragover",wfu_default_dragover),wfu_addEventHandler(e,"dragleave",wfu_separator_dragleave),wfu_addEventHandler(e,"drop",wfu_separator_drop))}function wfu_Attach_Admin_DragDrop_Events(){if(window.FileReader){for(var e,t=document.getElementById("wfu_placements_container"),a=document.getElementById("wfu_componentlist_container"),l=0;l<t.childNodes.length;l++)e=t.childNodes[l],"wfu_component_box"==e.className&&(wfu_addEventHandler(e,"dragstart",wfu_component_dragstart),wfu_addEventHandler(e,"dragend",wfu_component_dragend));for(var l=0;l<a.childNodes.length;l++)if(e=a.childNodes[l],"wfu_component_box_container"==e.className)for(var n=0;n<e.childNodes.length;n++)"wfu_component_box wfu_inbase"==e.childNodes[n].className&&(wfu_addEventHandler(e.childNodes[n],"dragstart",wfu_component_dragstart),wfu_addEventHandler(e.childNodes[n],"dragend",wfu_component_dragend));e=document.getElementById("wfu_componentlist_dragdrop"),wfu_addEventHandler(e,"dragenter",wfu_componentlist_dragenter),wfu_addEventHandler(e,"dragover",wfu_default_dragover),wfu_addEventHandler(e,"dragleave",wfu_componentlist_dragleave),wfu_addEventHandler(e,"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=document.getElementById("wfu_component_box_"+t);a.className="wfu_component_box wfu_inbase",a.style.display="block",document.getElementById("wfu_component_box_container_"+t).appendChild(a);var l=wfu_admin_recreate_placements_text(null,"");return wfu_admin_recreate_placements_panel(l),document.getElementById("wfu_attribute_value_placements").value=l,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=document.getElementById("wfu_component_box_"+t);a.style.display="none",a.className="wfu_component_box wfu_inbase",document.getElementById("wfu_component_box_container_"+t).appendChild(a);var l=wfu_admin_recreate_placements_text(e.target,t);return wfu_admin_recreate_placements_panel(l),document.getElementById("wfu_attribute_value_placements").value=l,wfu_generate_shortcode(),!1}function wfu_component_dragstart(e){e=e||window.event,e.dataTransfer.setData("Component",e.target.id.replace("wfu_component_box_","")),-1==e.target.className.indexOf("wfu_component_box_dragged")&&(e.target.className+=" wfu_component_box_dragged",DraggedItem=e.target),e.target.style.zIndex=3;var t=document.getElementById("wfu_componentlist_dragdrop");return t.className="wfu_componentlist_dragdrop wfu_componentlist_dragdrop_dragover",t.style.display="block",!1}function wfu_component_dragend(e){e=e||window.event,DraggedItem=null,e.target.style.zIndex=1;var t=document.getElementById("wfu_componentlist_dragdrop");return t.style.display="none",t.className="wfu_componentlist_dragdrop",e.target.className=e.target.className.replace(" wfu_component_box_dragged",""),document.getElementById("wfu_component_bar_ver").style.display="none",document.getElementById("wfu_component_bar_hor").style.display="none",!1}function wfu_admin_recreate_placements_text(e,t){function a(e){""!=d&&(d+=n),d+=e,n=""}for(var l=document.getElementById("wfu_placements_container"),n="",d="",u=0;u<l.childNodes.length;u++)item=l.childNodes[u],"wfu_component_separator_ver"==item.className?(""==n&&(n="+"),item==e&&(a(t),n="+")):"wfu_component_separator_hor"==item.className?(n="/",item==e&&(a(t),n="/")):"wfu_component_box"==item.className&&a(item.id.replace("wfu_component_box_",""));return d}function wfu_admin_recreate_placements_panel(e){for(var t,a,l,n=document.getElementById("wfu_placements_container"),d="",u=0;u<n.childNodes.length;u++)t=n.childNodes[u],"wfu_component_box"==t.className&&(d=t.id.replace("wfu_component_box_",""),t.style.display="inline-block",t.className="wfu_component_box wfu_inbase",document.getElementById("wfu_component_box_container_"+d).appendChild(t));n.innerHTML="",a=e.split("/");for(var u=0;u<a.length;u++){t=document.createElement("DIV"),t.className="wfu_component_separator_hor",t.setAttribute("draggable",!0),n.appendChild(t),t=document.createElement("DIV"),t.className="wfu_component_separator_ver",t.setAttribute("draggable",!0),n.appendChild(t),l=a[u].split("+");for(var r=0;r<l.length;r++)t=document.getElementById("wfu_component_box_"+l[r]),t&&(n.appendChild(t),t.className="wfu_component_box",t.style.display="inline-block",t=document.createElement("DIV"),t.className="wfu_component_separator_ver",t.setAttribute("draggable",!0),n.appendChild(t))}t=document.createElement("DIV"),t.className="wfu_component_separator_hor",t.setAttribute("draggable",!0),n.appendChild(t),t=document.createElement("DIV"),t.id="wfu_component_bar_hor",t.className="wfu_component_bar_hor",n.appendChild(t),t=document.createElement("DIV"),t.id="wfu_component_bar_ver",t.className="wfu_component_bar_ver",n.appendChild(t),wfu_attach_separator_dragdrop_events()}function wfu_subfolders_input_changed(e){e=e||window.event;var t=e.target,a=t.id.replace("wfu_subfolders_path_","");a=a.replace("wfu_subfolders_label_","");var l=document.getElementById("wfu_attribute_"+a);if(!(l.selectedIndex<0)){var n,d,u=document.getElementById("wfu_subfolders_path_"+a),r=document.getElementById("wfu_subfolders_label_"+a),o=document.getElementById("wfu_subfolders_ok_"+a),_="1"==document.getElementById("wfu_subfolders_isnewitem_"+a).value;if(_)n="",d="";else{var s=l.data;t=s[l.selectedIndex],n=t.path,d=t.label}if(u.value==n&&r.value==d)o.disabled=!0,_||wfu_subfolders_update_nav(a);else{o.disabled=!1;for(var f=document.getElementsByName("wfu_subfolder_nav_"+a),i=0;i<f.length;i++)f[i].disabled=!0}}}function wfu_subfolders_auto_changed(e){var t=document.getElementById("wfu_attribute_"+e),a=document.getElementById("wfu_subfolders_auto_"+e),l=document.getElementById("wfu_subfolders_editable_"+e),n=document.getElementById("wfu_subfolders_manualtext_"+e);if(a.checked){var d=document.getElementById("wfu_attribute_value_"+e).value;"auto"!=d.substr(0,4)&&(n.value=d),l.parentNode.style.display="inline",wfu_apply_value(e,"folderlist","auto"+(l.checked?"+":"")),t.disabled=!0}else t.disabled=!1,l.parentNode.style.display="none",wfu_apply_value(e,"folderlist",n.value)}function wfu_subfolders_up_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=t.data;item=a[t.selectedIndex];var l=item.index-1;if(!(0>l)){for(var n=-1,d=t.selectedIndex-1;d>=0;){if(a[d].level==item.level&&a[d].index==l){n=d;break}d--}if(-1!=n){var u=0;for(d=t.selectedIndex+1;d<a.length&&a[d].level>item.level;)u++,d++;a[n].index=item.index,item.index=l,t.data=a.slice(0,n).concat(a.slice(t.selectedIndex,t.selectedIndex+1+u)).concat(a.slice(n,t.selectedIndex)).concat(a.slice(t.selectedIndex+1+u));var r=wfu_update_subfolder_list(e);t.selectedIndex=n,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_down_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=t.data;item=a[t.selectedIndex];var l=item.index+1,n=-1;for(curind=t.selectedIndex+1;curind<a.length;){if(a[curind].level==item.level){n=curind;break}if(a[curind].level<item.level)break;curind++}if(-1!=n){var d=0;for(curind=n+1;curind<a.length&&a[curind].level>item.level;)d++,curind++;a[n].index=item.index,item.index=l,t.data=a.slice(0,t.selectedIndex).concat(a.slice(n,n+1+d)).concat(a.slice(t.selectedIndex,n)).concat(a.slice(n+1+d));var u=wfu_update_subfolder_list(e);t.selectedIndex=t.selectedIndex+d+1,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_left_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=t.data;for(item=a[t.selectedIndex],curind=t.selectedIndex+1;curind<a.length&&a[curind].level>item.level;)a[curind].level--,curind++;item.level--;var l=wfu_update_subfolder_list(e);t.data=wfu_decode_subfolder_list(e),wfu_subfolders_update_toolnav(e),item=t,l!==item.oldVal&&(item.oldVal=l,document.getElementById("wfu_attribute_value_"+e).value=l,wfu_generate_shortcode())}}function wfu_subfolders_right_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=t.data;for(item=a[t.selectedIndex],curind=t.selectedIndex+1;curind<a.length&&a[curind].level>item.level;)a[curind].level++,curind++;item.level++;var l=wfu_update_subfolder_list(e);t.data=wfu_decode_subfolder_list(e),wfu_subfolders_update_toolnav(e),item=t,l!==item.oldVal&&(item.oldVal=l,document.getElementById("wfu_attribute_value_"+e).value=l,wfu_generate_shortcode())}}function wfu_subfolders_def_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=t.data;if(item=a[t.selectedIndex],item.default)item.default=!1;else{for(var l=0;l<a.length;l++)a[l].default=!1;item.default=!0}var n=wfu_update_subfolder_list(e);wfu_subfolders_update_toolnav(e),item=t,n!==item.oldVal&&(item.oldVal=n,document.getElementById("wfu_attribute_value_"+e).value=n,wfu_generate_shortcode())}}function wfu_subfolders_ok_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=document.getElementById("wfu_subfolders_path_"+e),l=document.getElementById("wfu_subfolders_label_"+e);if(""==a.value||""==l.value)return void alert("Path or label cannot be empty!");var n=t.data,d="1"==document.getElementById("wfu_subfolders_isnewitem_"+e).value;if(d){var u=parseInt(document.getElementById("wfu_subfolders_newitemlevel_"+e).value),r={label:l.value,path:a.value,level:u,"default":!1},o=parseInt(document.getElementById("wfu_subfolders_newitemindex_"+e).value);o>=n.length?n.push(r):n.splice(o,0,r)}else item=n[t.selectedIndex],item.path=a.value,item.label=l.value;var _=wfu_update_subfolder_list(e);t.data=wfu_decode_subfolder_list(e),wfu_subfolders_update_toolnav(e),item=t,_!==item.oldVal&&(item.oldVal=_,document.getElementById("wfu_attribute_value_"+e).value=_,wfu_generate_shortcode())}}function wfu_subfolders_del_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=t.data;item=a[t.selectedIndex];var l=0;for(curind=t.selectedIndex+1;curind<a.length&&a[curind].level>item.level;)l++,curind++;if(!(l>0)||confirm("Children items will be deleted as well. Proceed?")){a.splice(t.selectedIndex,1+l);var n=wfu_update_subfolder_list(e);t.data=wfu_decode_subfolder_list(e),wfu_subfolders_update_toolnav(e),item=t,n!==item.oldVal&&(item.oldVal=n,document.getElementById("wfu_attribute_value_"+e).value=n,wfu_generate_shortcode())}}}function wfu_subfolders_add_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=t.data,l=t.selectedIndex;item=a[l];var n=t.options,d=document.createElement("option");d.value="",d.innerHTML="",n.add(d,l),t.selectedIndex=l;var u=document.getElementById("wfu_subfolder_tools_"+e),r=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);u.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="",r.disabled=0==item.level,s.disabled=0==item.level,0==item.level?(r.value="{root}",o.value="{upload folder}"):(r.value="",o.value="");for(var f=document.getElementsByName("wfu_subfolder_nav_"+e),i=0;i<f.length;i++)f[i].disabled=!0}}function wfu_subfolders_browse_clicked(e){var t=wfu_GetHttpRequestObject();if(null!=t){var a=null;try{var a=new FormData}catch(l){}if(null!=a){for(var n=document.getElementById("wfu_global_dialog_container"),d=document.getElementById("wfu_subfolders_browser_"+e),u=document.getElementById("wfu_subfolders_browse_"+e),r=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),f=document.getElementById("wfu_subfolders_browser_ok_"+e),i=document.getElementById("wfu_subfolders_browser_list_"+e);i.options.length>0;)i.options.remove(0);f.disabled=!0,f.onclick=function(){wfu_folder_browser_cancel_clicked(e)},_.innerHTML="loading folder contents...",s.style.display="inline",o.style.display="block",n.style.display="block",d.style.display="block",d.style.left=u.offsetLeft+u.offsetWidth-d.offsetWidth+"px",d.style.top=u.offsetTop+u.offsetHeight-d.offsetHeight+"px",r.style.display="block",n.onclick=function(){wfu_folder_browser_cancel_clicked(e)};var c=document.getElementById("wfu_attribute_uploadpath").value;"/"==c.substr(c.length-1)&&(c=c.substr(0,c.length-1));var m=wfu_get_relative_path(e).split(","),w=c+m[0];"/"!=w.substr(0)&&(w="/"+w);var g="";2==m.length&&(g=m[1]),a.append("action","wfu_ajax_action_read_subfolders"),a.append("folder1",wfu_plugin_encode_string(w)),a.append("folder2",wfu_plugin_encode_string(g)),t.key=e,t.addEventListener("load",wfu_readfolderComplete,!1),t.addEventListener("error",wfu_readfolderFailed,!1),t.addEventListener("abort",wfu_readfolderCanceled,!1),t.open("POST",AdminParams.wfu_ajax_url),t.send(a)}}}function wfu_readfolderComplete(e){var t=e.target.key,a=document.getElementById("wfu_subfolders_browser_msgcont_"+t),l=document.getElementById("wfu_subfolders_browser_msg_"+t),n=document.getElementById("wfu_subfolders_browser_img_"+t),d=document.getElementById("wfu_subfolders_browser_list_"+t),u=document.getElementById("wfu_subfolders_browser_ok_"+t),r=document.getElementById("wfu_subfolders_path_"+t),o=document.getElementById("wfu_subfolders_label_"+t),_=e.target.responseText;if(-1!=_){var s="wfu_read_subfolders:",f=e.target.responseText.indexOf(s);-1==f&&(f=e.target.responseText.length);var i=(e.target.responseText.substr(0,f),e.target.responseText.substr(f+s.length,e.target.responseText.length-f-s.length));f=i.indexOf(":");var c=i.substr(0,f);if(txt_value=i.substr(f+1,i.length-f-1),"success"==c){for(var m,w=wfu_plugin_decode_string(txt_value),g=w.split(","),p=0,v=0;v<g.length;v++)""!=g[v]&&(m=document.createElement("option"),m.value=g[v],m.innerHTML=g[v].replace("*","&nbsp;&nbsp;&nbsp;"),d.add(m),p++);0==p&&(m=document.createElement("option"),m.value="",m.innerHTML="{empty}",m.disabled=!0,d.add(m)),d.selectedIndex=-1,u.onclick=function(){var e=d.options[d.selectedIndex].value,a=parseInt(document.getElementById("wfu_subfolders_newitemlevel_"+t).value);("*"==e.substr(0,1)||0==a)&&(document.getElementById("wfu_subfolders_newitemlevel_"+t).value=a+1,a>0&&(e=e.substr(1))),r.value=e,o.value=e,wfu_folder_browser_cancel_clicked(t),wfu_subfolders_ok_clicked(t)},a.style.display="none"}else"error"==c?(l.innerHTML=txt_value,n.style.display="none",u.disabled=!1):(l.innerHTML="Unknown error",n.style.display="none",u.disabled=!1)}}function wfu_readfolderFailed(e){var t=e.target.key,a=document.getElementById("wfu_subfolders_browser_msg_"+t),l=document.getElementById("wfu_subfolders_browser_img_"+t),n=document.getElementById("wfu_subfolders_browser_ok_"+t);a.innerHTML="Unknown error",l.style.display="none",n.disabled=!1}function wfu_readfolderCanceled(e){var t=e.target.key,a=document.getElementById("wfu_subfolders_browser_msg_"+t),l=document.getElementById("wfu_subfolders_browser_img_"+t),n=document.getElementById("wfu_subfolders_browser_ok_"+t);a.innerHTML="Unknown error",l.style.display="none",n.disabled=!1}function wfu_subfolders_browser_list_changed(e){var t=document.getElementById("wfu_subfolders_browser_list_"+e),a=document.getElementById("wfu_subfolders_browser_ok_"+e);a.disabled=t.selectedIndex<0}function wfu_folder_browser_cancel_clicked(e){var t=document.getElementById("wfu_global_dialog_container"),a=document.getElementById("wfu_subfolders_browser_"+e),l=(document.getElementById("wfu_subfolders_browse_"+e),document.getElementById("wfu_subfolders_inner_shadow_"+e));t.onclick=null,l.style.display="none",a.style.display="none",t.style.display="none"}function wfu_get_relative_path(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a,l=t.data,n="1"==document.getElementById("wfu_subfolders_isnewitem_"+e).value;a=n?parseInt(document.getElementById("wfu_subfolders_newitemlevel_"+e).value):l[t.selectedIndex].level;for(var d="/",u=t.selectedIndex-1,r=a;u>=0&&r>1;)l[u].level<r&&(d="/"+l[u].path+d,r=l[u].level),u--;return n&&"1"==document.getElementById("wfu_subfolders_newitemlevel2_"+e).value&&a>0&&t.selectedIndex>0&&(d+=","+l[t.selectedIndex-1].path),d}}function wfu_subfolders_changed(e){wfu_update_subfolder_list(e),wfu_subfolders_update_toolnav(e)}function wfu_subfolders_update_toolnav(e){var t,a,l=document.getElementById("wfu_attribute_"+e),n=document.getElementById("wfu_subfolder_tools_"+e),d=document.getElementById("wfu_subfolders_path_"+e),u=document.getElementById("wfu_subfolders_label_"+e),r=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)n.className="wfu_subfolder_tools_container wfu_subfolder_tools_disabled",d.disabled=!0,u.disabled=!0,r.disabled=!0,o.disabled=!0,u.value="",d.value="";else if(l.selectedIndex>=l.options.length-1){n.className="wfu_subfolder_tools_container",u.disabled=!1,r.disabled=!0,document.getElementById("wfu_subfolders_isnewitem_"+e).value="1",document.getElementById("wfu_subfolders_newitemindex_"+e).value=t.length;var s;s=0==t.length?0:0==t[t.length-1].level?1:t[t.length-1].level,document.getElementById("wfu_subfolders_newitemlevel_"+e).value=s,document.getElementById("wfu_subfolders_newitemlevel2_"+e).value="1",d.disabled=0==s,o.disabled=!1,0==s?(d.value="{root}",u.value="{upload folder}"):(d.value="",u.value="")}else n.className="wfu_subfolder_tools_container",u.disabled=!1,r.disabled=!0,a=t[l.selectedIndex],d.disabled=0==a.level,o.disabled=0==a.level,u.value=a.label,d.value=a.path;var f=document.getElementsByName("wfu_subfolder_nav_"+e);if(l.selectedIndex<0||l.selectedIndex>=l.options.length-1)for(var i=0;i<f.length;i++)f[i].disabled=!0;else wfu_subfolders_update_nav(e)}function wfu_subfolders_update_nav(e){var t=document.getElementById("wfu_attribute_"+e),a=document.getElementById("wfu_subfolders_up_"+e),l=document.getElementById("wfu_subfolders_down_"+e),n=document.getElementById("wfu_subfolders_left_"+e),d=document.getElementById("wfu_subfolders_right_"+e),u=document.getElementById("wfu_subfolders_add_"+e),r=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,n.disabled=0==t.selectedIndex&&s.level<1||t.selectedIndex>0&&s.level<=1,prevlevel=t.selectedIndex>=1?_[t.selectedIndex-1].level:0,d.disabled=s.level-prevlevel>0,u.disabled=0==s.level,r.disabled=!1,r.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 n=e.split("/");return 1==n.length?(t.path=n[0],t.label=n[0]):n.length>1&&(t.path=n[0],t.label=n[1]),0==a&&(t.path="{root}",""==t.label&&(t.label="{upload folder}")),t}function wfu_decode_subfolder_list(e){for(var t,a=document.getElementById("wfu_attribute_"+e).options,l=Array(),n=["root"],d=[0],u=-1,r=0;r<a.length-1;r++){for(l.push(wfu_decode_subfolder(wfu_plugin_decode_string(a[r].value))),n.length>l[r].level?n[l[r].level]=l[r].path:n.push(l[r].path),t="",j=1;j<=l[r].level;j++)t+=n[j]+"/";l[r].fullpath=t,d.length<=l[r].level&&d.push(0),l[r].index=l[r].level>u?0:d[l[r].level]+1,d[l[r].level]=l[r].index,u=l[r].level}return l}function wfu_update_subfolder_list(e){var t=document.getElementById("wfu_attribute_"+e).options,a=document.getElementById("wfu_attribute_"+e),l=a.data;if(null!=l){var n,d,u="";t.length=l.length+1;for(var r=0;r<l.length;r++){for(n="",d="",j=0;j<l[r].level;j++)n+="*",d+="&nbsp;&nbsp;&nbsp;";l[r].default?(n+="&",t[r].className="wfu_select_folders_option_default"):t[r].className="",n+=l[r].path+"/"+l[r].label,d+=l[r].label,t[r].value=wfu_plugin_encode_string(n),t[r].innerHTML=d,""!=u&&(u+=","),u+=n}return t[l.length].value="",t[l.length].innerHTML="",u}}function wfu_userdata_edit_field(e,t,a){for(var l,n=0;n<e.childNodes.length;n++)l=e.childNodes[n],"INPUT"==l.tagName?"text"==l.type?(l.value=t,wfu_attach_element_handlers(l,wfu_update_userfield_value)):"checkbox"==l.type&&(l.checked=a):"DIV"==l.tagName&&(l.className="wfu_userdata_action")}function wfu_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_userdata_remove_field(e){for(var t=e.parentNode,a=t.parentNode,l=null,n=0;n<a.childNodes.length;n++)if(1===a.childNodes[n].nodeType){l=a.childNodes[n];break}if(t!=l){t.parentNode.removeChild(t);for(var n=0;n<l.childNodes.length;n++)if(1===l.childNodes[n].nodeType){wfu_update_userfield_value({target:l.childNodes[n]});break}}}function wfu_generate_shortcode(){for(var e,t=document.getElementById("wfu_attribute_defaults"),a=(document.getElementById("wfu_attribute_values"),""),l="",n="[wordpress_file_upload",d="",u=0;u<t.childNodes.length;u++)e=t.childNodes[u],1===e.nodeType&&(a=e.id.replace("wfu_attribute_default_",""),l=document.getElementById("wfu_attribute_value_"+a).value,e.value!=l&&(d+=" "+a+'="'+l+'"'));n+=d+"]",document.getElementById("wfu_shortcode").value=n,ShortcodeString=d.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_triplecolor_value(e){e=e||window.event;var t=e.target,a=t.id.replace("wfu_attribute_","");a=a.replace("_color",""),a=a.replace("_bgcolor",""),a=a.replace("_borcolor",""),t=document.getElementById("wfu_attribute_"+a+"_color");var l=t.value+","+document.getElementById("wfu_attribute_"+a+"_bgcolor").value+","+document.getElementById("wfu_attribute_"+a+"_borcolor").value;l!==t.oldVal&&(t.oldVal=l,document.getElementById("wfu_attribute_value_"+a).value=l,wfu_generate_shortcode())}function wfu_update_dimension_value(e){e=e||window.event;var t=e.target,a=t.name.replace("wfu_dimension_elements_",""),l=document.getElementsByName(t.name);t=l[0];for(var n="",d="",u=0;u<l.length;u++)d=l[u].id.replace("wfu_attribute_"+a+"_",""),""!=n&&""!=l[u].value&&(n+=", "),""!=l[u].value&&(n+=d+":"+l[u].value);n!==t.oldVal&&(t.oldVal=n,document.getElementById("wfu_attribute_value_"+a).value=n,wfu_generate_shortcode())}function wfu_update_ptext_value(e){e=e||window.event;var t=e.target,a=t.id.replace("wfu_attribute_","");a=a.substr(2);var l=document.getElementById("wfu_attribute_s_"+a).value,n=document.getElementById("wfu_attribute_p_"+a).value,d=l+"/"+n;d!==t.oldVal&&(t.oldVal=d,document.getElementById("wfu_attribute_value_"+a).value=d),wfu_generate_shortcode()}function wfu_update_mchecklist_value(e){var t="",a=(document.getElementById("wfu_attribute_"+e),document.getElementById("wfu_attribute_"+e+"_all"));a.checked?(jQuery("#wfu_attribute_"+e+" input").prop("disabled",!0),jQuery("#wfu_attribute_"+e+" input").prop("checked",!0),t="all"):(jQuery("#wfu_attribute_"+e+" input").prop("disabled",!1),jQuery("#wfu_attribute_"+e+" input").each(function(){jQuery(this).prop("checked")&&(t+=","+jQuery(this).next().html())}),t=t.substr(1)),document.getElementById("wfu_attribute_value_"+e).value=t,wfu_generate_shortcode()}function wfu_update_rolelist_value(e){var t="",a=document.getElementById("wfu_attribute_"+e),l=document.getElementById("wfu_attribute_"+e+"_all");if(l.checked)a.disabled=!0,t="all";else{a.disabled=!1;for(var n=a.options,d=0;d<n.length;d++)n[d].selected&&(""!=t&&(t+=","),t+=n[d].value)}document.getElementById("wfu_attribute_value_"+e).value=t,wfu_generate_shortcode()}function wfu_update_userfield_value(e){e=e||window.event;for(var t=e.target,a=t.parentNode,l=a.parentNode,n="",d=!1,u="",r=0;r<l.childNodes.length;r++)if(a=l.childNodes[r],"DIV"===a.tagName){for(var o=0;o<a.childNodes.length;o++)"INPUT"==a.childNodes[o].tagName&&("text"==a.childNodes[o].type?(n=a.childNodes[o].value,0==r&&(t=a.childNodes[o])):"checkbox"==a.childNodes[o].type&&(d=a.childNodes[o].checked));""!=u&&""!=n&&(u+="/"),""!=n&&d&&(u+="*"),""!=n&&(u+=n)}u!==t.oldVal&&(t.oldVal=u,document.getElementById("wfu_attribute_value_userdatalabel").value=u,wfu_generate_shortcode(),wfu_update_userfield_variables())}function wfu_update_userfield_variables(){for(var e=document.getElementById("wfu_attribute_value_userdatalabel").value,t=document.getElementById("wfu_wrapper"),a=document.getElementsByClassName("wfu_shadow_userdata","div",t),l=document.getElementsByName("wfu_userfield_select"),n=0;n<l.length;n++)l[n].style.display="none";if(0!=a.length&&"block"!=a[0].style.display){for(var d='<option style="display:none;">%userdataXXX%</option>',u=e.split("/"),r="",n=1;n<=u.length;n++)r=u[n-1],"*"==r[0]&&(r=r.substr(1)),d+='<option value="%userdata'+n+'%">'+n+": "+r+"</option>";for(var n=0;n<l.length;n++)l[n].innerHTML=d,l[n].style.display="inline-block"}}function wfu_attach_element_handlers(e,t){for(var a=["DOMAttrModified","textInput","input","change","keypress","paste","focus","propertychange"],l=0;l<a.length;l++)wfu_addEventHandler(e,a[l],t)}function wfu_Attach_Admin_Events(e){Autosave=e,wfu_generate_shortcode(),wfu_update_userfield_variables(),wfu_Attach_Admin_DragDrop_Events();for(var t=document.getElementsByName("wfu_text_elements"),a=0;a<t.length;a++)wfu_attach_element_handlers(t[a],wfu_update_text_value);for(var l=document.getElementsByName("wfu_ptext_elements"),a=0;a<l.length;a++)wfu_attach_element_handlers(l[a],wfu_update_ptext_value);for(var n=document.getElementsByName("wfu_triplecolor_elements"),a=0;a<n.length;a++)wfu_attach_element_handlers(n[a],wfu_update_triplecolor_value);for(var d=document.getElementsByName("wfu_dimension_elements_widths"),a=0;a<d.length;a++)wfu_attach_element_handlers(d[a],wfu_update_dimension_value);d=document.getElementsByName("wfu_dimension_elements_heights");for(var a=0;a<d.length;a++)wfu_attach_element_handlers(d[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 r=document.getElementsByName("wfu_subfolder_tools_input"),a=0;a<r.length;a++)wfu_attach_element_handlers(r[a],wfu_subfolders_input_changed);
2
- ""!=document.getElementById("wfu_shortcode_postid").value&&setTimeout(function(){wfu_check_page_obsolescence()},CheckObsolescenceTimeOut)}function wfu_insert_variable(e){var t=e.className.replace("wfu_variable wfu_variable_",""),a=document.getElementById("wfu_attribute_"+t),l=a.selectionStart,n=a.value;a.value=n.substr(0,l)+e.innerHTML+n.substr(l),wfu_update_text_value({target:a})}function wfu_insert_userfield_variable(e){var t=e.className.replace("wfu_variable wfu_variable_",""),a=document.getElementById("wfu_attribute_"+t),l=a.selectionStart,n=a.value;a.value=n.substr(0,l)+e.value+n.substr(l),e.value="%userdataXXX%",wfu_update_text_value({target:a})}function wfu_GetHttpRequestObject(){var e=null;try{e=new XMLHttpRequest}catch(t){try{e=new ActiveXObject("Msxml2.XMLHTTP")}catch(a){try{e=new ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}}if(null==e&&window.createRequest)try{xmlhttp=window.createRequest()}catch(t){}return e}function wfu_plugin_encode_string(e){var t,a=0,l="",n="";for(a=0;a<e.length;a++)t=e.charCodeAt(a),t>=2048?t=((16773120&t|917504)<<4)+((4032&t|8192)<<2)+(63&t|128):t>=128&&(t=((65472&t|12288)<<2)+(63&t|128)),n=t.toString(16),(1==n.length||3==n.length||5==n.length)&&(n="0"+n),l+=n;return l}function wfu_plugin_decode_string(e){for(var t,a,l=0,n="";l<e.length;)t=parseInt(e.substr(l,2),16),a=128>t?t:224>t?((31&t)<<6)+(63&parseInt(e.substr(l+=2,2),16)):((15&t)<<12)+((63&parseInt(e.substr(l+=2,2),16))<<6)+(63&parseInt(e.substr(l+=2,2),16)),n+=String.fromCharCode(a),l+=2;return n}function wfu_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(6),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;for(var a="",l=0;l<params.length;l++)a+=(l>0?"&":"")+params[l][0]+"="+encodeURI(params[l][1]);var n=new Date;Autosave?ShortcodeNextSave=n.getTime()+5e3:document.getElementById("wfu_update_shortcode")&&(document.getElementById("wfu_update_shortcode_wait").style.display="inline"),e.open("POST",t,!0),e.setRequestHeader("Content-type","application/x-www-form-urlencoded"),e.onreadystatechange=function(){if(4==e.readyState&&200==e.status){PageUpdating=!1;var t="wfu_save_shortcode:",a=e.responseText.indexOf(t);-1==a&&(a=e.responseText.length);var l=(e.responseText.substr(0,a),e.responseText.substr(a+t.length,e.responseText.length-a-t.length));a=l.indexOf(":");var d=l.substr(0,a);txt_value=l.substr(a+1,l.length-a-1),"success"==d?(Autosave?(document.getElementById("wfu_save_label").innerHTML="saved",document.getElementById("wfu_save_label").className="wfu_save_label",document.getElementById("wfu_save_label").style.opacity=1,wfu_fadeout_element(300),ShortcodeNextSave=n.getTime()+1e3,null!=ShortcodeTimeOut&&wfu_schedule_save_shortcode()):document.getElementById("wfu_update_shortcode")&&(document.getElementById("wfu_update_shortcode_wait").style.display="none",document.getElementById("wfu_update_shortcode").disabled=!0,window.plugin_window&&window.plugin_window.location.reload(!0)),""!=document.getElementById("wfu_shortcode_postid").value&&(document.getElementById("wfu_shortcode_original_enc").value=wfu_plugin_encode_string("[wordpress_file_upload "+ShortcodeString+"]"),document.getElementById("wfu_shortcode_posthash").value=txt_value,setTimeout(function(){wfu_check_page_obsolescence()},CheckObsolescenceTimeOut))):(Autosave&&(document.getElementById("wfu_save_label").innerHTML="not saved",document.getElementById("wfu_save_label").className="wfu_save_label_fail",document.getElementById("wfu_save_label").style.opacity=1,wfu_fadeout_element(300)),"fail"==d&&("post_modified"==txt_value?(PageObsolete=!0,document.getElementById("wfu_update_shortcode")&&(document.getElementById("wfu_update_shortcode").disabled=!0),document.getElementById("wfu_update_rejected_message").style.display="block"):document.getElementById("wfu_update_failed_message").style.display="block"))}},e.send(a)}}}function wfu_adjust_opacity(e){document.getElementById("wfu_save_label").style.opacity=e}function wfu_fadeout_element(e){for(var t=20,a=0,l=0;t>l;l++)a=1-l/t,setTimeout('wfu_adjust_opacity("'+a.toString()+'")',l*e/t);setTimeout('wfu_adjust_opacity("0.0")',l*e/t)}function wfu_apply_value(e,t,a){if("onoff"==t)document.getElementById("wfu_attribute_"+e).className="wfu_onoff_container_"+("true"!=a?"on":"off"),wfu_admin_onoff_clicked(e);else if("text"==t||"ltext"==t||"integer"==t||"float"==t||"mtext"==t||"color"==t){var l=document.getElementById("wfu_attribute_"+e);if(a=a.replace(/\%n\%/gm,"\n"),a=a.replace(/\%dq\%/gm,'"'),a=a.replace(/\%brl\%/gm,"["),a=a.replace(/\%brr\%/gm,"]"),"color"==t){var n=colourNameToHex(a);n||(n=a),jQuery("#wfu_attribute_"+e).wpColorPicker("color",n)}l.value=a,wfu_update_text_value({target:l})}else if("placements"==t)wfu_admin_recreate_placements_panel(a),document.getElementById("wfu_attribute_value_placements").value=a,wfu_generate_shortcode();else if("radio"==t){for(var d=document.getElementsByName("wfu_radioattribute_"+e),u=0;u<d.length;u++)d[u].checked=d[u].value==a||"*"+d[u].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 r=a.split("/"),o=r.length<1?"":r[0],_=r.length<2?o:r[1],s=document.getElementById("wfu_attribute_s_"+e);s.value=o;var f=document.getElementById("wfu_attribute_p_"+e);f.value=_,wfu_update_ptext_value({target:s}),wfu_update_ptext_value({target:f})}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 i=a.split(","),u=0;u<i.length;u++)i[u]=i[u].trim();jQuery("#wfu_attribute_"+e+" input").each(function(){jQuery(this).prop("checked",i.indexOf(jQuery(this).next().html())>-1)})}wfu_update_mchecklist_value(e)}else if("rolelist"==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 c=a.split(","),u=0;u<c.length;u++)c[u]=c[u].trim();for(var l=document.getElementById("wfu_attribute_"+e),u=0;u<l.options.length;u++)l.options[u].selected=c.indexOf(l.options[u].value)>-1}wfu_update_rolelist_value(e)}else if("dimensions"==t){for(var m,w,g,l,p=a.split(","),v=document.getElementsByName("wfu_dimension_elements_"+e),u=0;u<v.length;u++)v[u].value="";for(var u=0;u<p.length;u++)m=p[u].split(":",2),w=m.length<1?"":m[0],g=m.length<2?w:m[1],l=document.getElementById("wfu_attribute_"+e+"_"+w.trim()),l&&(l.value=g.trim());l=v[0],wfu_update_dimension_value({target:l})}else if("userfields"==t){for(var b,h=a.split("/"),y=Array(),u=0;u<h.length;u++)b="*"==h[u].substr(0,1),b&&(h[u]=h[u].substr(1)),""!=h[u]&&y.push({name:h[u],required:b});for(var I=document.getElementById("wfu_attribute_"+e),E=null,B=Array(),u=0;u<I.childNodes.length;u++)1===I.childNodes[u].nodeType&&(null==E?E=I.childNodes[u]:B.push(I.childNodes[u]));for(var u=0;u<B.length;u++)I.removeChild(B[u]);wfu_userdata_edit_field(E,"",!1);for(var x,N=E,u=0;u<y.length;u++)0==u?wfu_userdata_edit_field(E,y[u].name,y[u].required):(x=N.cloneNode(!0),wfu_userdata_edit_field(x,y[u].name,y[u].required),I.insertBefore(x,N.nextSibling),N=x);for(var l,u=0;u<E.childNodes.length&&(l=E.childNodes[u],"INPUT"!=l.tagName);u++);wfu_update_userfield_value({target:l})}else if("color-triplet"==t){for(var k=a.split(","),u=0;u<k.length;u++)k[u]=k[u].trim();2==k.length?k=[k[0],k[1],"#000000"]:1==k.length?k=[k[0],"#FFFFFF","#000000"]:k.length<3&&(k=["#000000","#FFFFFF","#000000"]);var n=colourNameToHex(k[0]);n||(n=k[0]),jQuery("#wfu_attribute_"+e+"_color").wpColorPicker("color",n);var l=document.getElementById("wfu_attribute_"+e+"_color");l.value=k[0],n=colourNameToHex(k[1]),n||(n=k[1]),jQuery("#wfu_attribute_"+e+"_bgcolor").wpColorPicker("color",n),document.getElementById("wfu_attribute_"+e+"_bgcolor").value=k[1],n=colourNameToHex(k[2]),n||(n=k[2]),jQuery("#wfu_attribute_"+e+"_borcolor").wpColorPicker("color",n),document.getElementById("wfu_attribute_"+e+"_borcolor").value=k[2],wfu_update_triplecolor_value({target:l})}else if("folderlist"==t){for(var i=wfu_parse_folderlist_js(a),T=document.getElementById("wfu_attribute_"+e).options;T.length>0;)T.remove(0);for(var H,A,j,C,O,D,u=0;u<i.path.length;u++){A=i.path[u],"/"==A.substr(A.length,1)&&(A=A.substr(0,A.length-1)),j=A.split("/"),A=j[j.length-1],O=parseInt(i.level[u]),C="",D="";for(var S=0;O>S;S++)C+="&nbsp;&nbsp;&nbsp;",D+="*";C+=i.label[u],i.default[u]&&(D+="&"),D+=""==A?"{root}/"+i.label[u]:A+i.label[u],H=document.createElement("option"),H.className=i.default[u]?"wfu_select_folders_option_default":"",H.value=wfu_plugin_encode_string(D),H.innerHTML=C,T.add(H)}H=document.createElement("option"),H.value="",H.innerHTML="",T.add(H);var L=document.getElementById("wfu_attribute_"+e);L.data=wfu_decode_subfolder_list(e),wfu_subfolders_update_toolnav(e),l=L,a!==l.oldVal&&(l.oldVal=a,document.getElementById("wfu_attribute_value_"+e).value=a,wfu_generate_shortcode())}}function wfu_parse_folderlist_js(e){var t=Object();if(t.path=Array(),t.label=Array(),t.level=Array(),t.default=Array(),"auto"==e.substr(0,4))return t;var a=e.split(",");if(0==a.length)return t;if(1==a.length&&""==a[0].trim())return t;for(var l,n,d,u,r,o,_,s=["root"],f=0,i=0,c=-1,m=0;m<a.length;m++){for(l=a[m].trim(),n=0,d="",u=!1;n<l.length&&"*"==l.substr(n,1);)n++,d+="&nbsp;&nbsp;&nbsp;";if(1>=n-f&&(n>0||0==i)&&(l=l.substr(n,l.length-n),"&"==l.substr(0,1)&&(l=l.substr(1),u=!0),subfolder_items=l.split("/"),subfolder_items.length<2&&subfolder_items.push(""),""!=subfolder_items[1]?(r=subfolder_items[0],o=subfolder_items[1]):(r=l,o=l),""!=r)){u&&-1==c?c=t.path.length:u=!1,0==n&&(i=1),s.length>n?s[n]=r:s.push(r),_="";for(var w=1;n>=w;w++)_+=s[w]+"/";t.path.push(_),t.label.push(o),t.level.push(n),t.default.push(u),f=n}}return t}function colourNameToHex(e){var t={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4","indianred ":"#cd5c5c","indigo ":"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};return"undefined"!=typeof t[e.toLowerCase()]?t[e.toLowerCase()]:!1}function wfu_download_file(e,t,a){var l=wfu_GetHttpRequestObject();if(null!=l){var n=AdminParams.wfu_ajax_url;params=new Array(3),params[0]=new Array(2),params[0][0]="action",params[0][1]="wfu_ajax_action_download_file_invoker",params[1]=new Array(2),params[1][0]="file",params[1][1]=e,params[2]=new Array(2),params[2][0]="nonce",params[2][1]=a;for(var d="",u=0;u<params.length;u++)d+=(u>0?"&":"")+params[u][0]+"="+encodeURI(params[u][1]);l.open("POST",n,!0),l.setRequestHeader("Content-type","application/x-www-form-urlencoded"),l.onreadystatechange=function(){if(4==l.readyState&&200==l.status){var a="wfu_ajax_action_download_file_invoker:",n=l.responseText.indexOf(a);-1==n&&(n=l.responseText.length);var d=(l.responseText.substr(0,n),l.responseText.substr(n+a.length,l.responseText.length-n-a.length));n=d.indexOf(":");var u=d.substr(0,n);if(txt_value=d.substr(n+1,d.length-n-1),"wfu_download_id;"==u.substr(0,16)){var r=u.substr(16),o=document.getElementById("wfu_file_download_container_"+t);o.innerHTML=txt_value,setTimeout("wfu_download_file_monitor('"+e+"', "+t+", '"+r+"')",100)}}},l.send(d)}}function wfu_download_file_monitor(e,t,a){var l=wfu_GetHttpRequestObject();if(null!=l){var n=AdminParams.wfu_ajax_url;params=new Array(3),params[0]=new Array(2),params[0][0]="action",params[0][1]="wfu_ajax_action_download_file_monitor",params[1]=new Array(2),params[1][0]="file",params[1][1]=e,params[2]=new Array(2),params[2][0]="id",params[2][1]=a;for(var d="",u=0;u<params.length;u++)d+=(u>0?"&":"")+params[u][0]+"="+encodeURI(params[u][1]);l.open("POST",n,!0),l.setRequestHeader("Content-type","application/x-www-form-urlencoded"),l.onreadystatechange=function(){if(4==l.readyState&&200==l.status){var a="wfu_ajax_action_download_file_monitor:",n=l.responseText.indexOf(a);-1==n&&(n=l.responseText.length);var d=(l.responseText.substr(0,n),l.responseText.substr(n+a.length,l.responseText.length-n-a.length));n=d.indexOf(":");var u=d.substr(0,n);if(txt_value=d.substr(n+1,d.length-n-1),"repeat"!=u){var r=document.getElementById("wfu_file_download_container_"+t);r.innerHTML=""}else"repeat"==u&&setTimeout("wfu_download_file_monitor('"+e+"', "+t+", '"+txt_value+"')",100)}},l.send(d)}}function wfu_filedetails_userdata_changed(){for(var e,t,a=document.getElementsByName("wfu_filedetails_userdata"),l=!1,n=0;n<a.length;n++)if(e=document.getElementById(a[n].id.replace("wfu_filedetails_userdata_value_","wfu_filedetails_userdata_default_")),t=document.getElementById(a[n].id.replace("wfu_filedetails_userdata_value_","wfu_filedetails_userdata_")),t.value=a[n].value,a[n].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)}var DraggedItem=null,ShortcodeNextSave=0,ShortcodeTimeOut=null,ShortcodeString="",Autosave=!1,PageObsolete=!1,PageUpdating=!1,CheckObsolescenceTimeOut=5e3;jQuery(document).ready(function(e){e(".wfu_color_field").wpColorPicker({change:function(e,t){e.target.value=t.color.toString(),"wfu_text_elements"==e.target.name?wfu_update_text_value(e):"wfu_triplecolor_elements"==e.target.name&&wfu_update_triplecolor_value(e)}})});
1
+ function wfu_admin_activate_tab(e){for(var t,a,l=document.getElementById("wfu_tab_container"),n=0;n<l.childNodes.length;n++)t=l.childNodes[n],1===t.nodeType&&(a=t.id.substr(8),t.className.indexOf("nav-tab-active")>-1&&(t.className="nav-tab",document.getElementById("wfu_container_"+a).style.display="none"));document.getElementById("wfu_tab_"+e).className="nav-tab nav-tab-active",document.getElementById("wfu_container_"+e).style.display="block"}function wfu_admin_onoff_clicked(e){var t=document.getElementById("wfu_attribute_"+e),a=document.getElementById("wfu_wrapper"),l=document.getElementsByClassName("wfu_shadow_"+e,"div",a),n=document.getElementsByClassName("wfu_shadow_"+e+"_inv","div",a),d="on"==t.className.substr(t.className.length-2);if(d=!d){document.getElementById("wfu_attribute_value_"+e).value="true",t.className="wfu_onoff_container_on";for(var u=0;u<l.length;u++)l[u].style.display="none";for(var u=0;u<n.length;u++)n[u].style.display="block"}else{document.getElementById("wfu_attribute_value_"+e).value="false",t.className="wfu_onoff_container_off";for(var u=0;u<l.length;u++)l[u].style.display="block";for(var u=0;u<n.length;u++)n[u].style.display="none"}wfu_generate_shortcode(),"userdata"==e&&wfu_update_userfield_variables()}function wfu_admin_radio_clicked(e){var t=document.getElementsByName("wfu_radioattribute_"+e),a=document.getElementById("wfu_wrapper"),l=document.getElementsByClassName("wfu_shadow_"+e,"div",a),n=document.getElementsByClassName("wfu_shadow_"+e+"_inv","div",a),d="";for(r=0;r<t.length;r++)t[r].checked&&(d=t[r].value);var u="*"==d.substr(0,1);if(u){d=d.substr(1);for(var r=0;r<l.length;r++)l[r].style.display="none";for(var r=0;r<n.length;r++)n[r].style.display="block"}else{for(var r=0;r<l.length;r++)l[r].style.display="block";for(var r=0;r<n.length;r++)n[r].style.display="none"}document.getElementById("wfu_attribute_value_"+e).value=d,wfu_generate_shortcode()}function wfu_addEventHandler(e,t,a){e.addEventListener?e.addEventListener(t,a,!1):e.attachEvent?e.attachEvent("on"+t,a):e["on"+t]=a}function wfu_attach_separator_dragdrop_events(){for(var e,t=document.getElementById("wfu_placements_container"),a=0;a<t.childNodes.length;a++)e=t.childNodes[a],("wfu_component_separator_hor"==e.className||"wfu_component_separator_ver"==e.className)&&(wfu_addEventHandler(e,"dragenter",wfu_separator_dragenter),wfu_addEventHandler(e,"dragover",wfu_default_dragover),wfu_addEventHandler(e,"dragleave",wfu_separator_dragleave),wfu_addEventHandler(e,"drop",wfu_separator_drop))}function wfu_Attach_Admin_DragDrop_Events(){if(window.FileReader){for(var e,t=document.getElementById("wfu_placements_container"),a=document.getElementById("wfu_componentlist_container"),l=0;l<t.childNodes.length;l++)e=t.childNodes[l],"wfu_component_box"==e.className&&(wfu_addEventHandler(e,"dragstart",wfu_component_dragstart),wfu_addEventHandler(e,"dragend",wfu_component_dragend));for(var l=0;l<a.childNodes.length;l++)if(e=a.childNodes[l],"wfu_component_box_container"==e.className)for(var n=0;n<e.childNodes.length;n++)"wfu_component_box wfu_inbase"==e.childNodes[n].className&&(wfu_addEventHandler(e.childNodes[n],"dragstart",wfu_component_dragstart),wfu_addEventHandler(e.childNodes[n],"dragend",wfu_component_dragend));e=document.getElementById("wfu_componentlist_dragdrop"),wfu_addEventHandler(e,"dragenter",wfu_componentlist_dragenter),wfu_addEventHandler(e,"dragover",wfu_default_dragover),wfu_addEventHandler(e,"dragleave",wfu_componentlist_dragleave),wfu_addEventHandler(e,"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=document.getElementById("wfu_component_box_"+t);a.className="wfu_component_box wfu_inbase",a.style.display="block",document.getElementById("wfu_component_box_container_"+t).appendChild(a);var l=wfu_admin_recreate_placements_text(null,"");return wfu_admin_recreate_placements_panel(l),document.getElementById("wfu_attribute_value_placements").value=l,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=document.getElementById("wfu_component_box_"+t);a.style.display="none",a.className="wfu_component_box wfu_inbase",document.getElementById("wfu_component_box_container_"+t).appendChild(a);var l=wfu_admin_recreate_placements_text(e.target,t);return wfu_admin_recreate_placements_panel(l),document.getElementById("wfu_attribute_value_placements").value=l,wfu_generate_shortcode(),!1}function wfu_component_dragstart(e){e=e||window.event,e.dataTransfer.setData("Component",e.target.id.replace("wfu_component_box_","")),-1==e.target.className.indexOf("wfu_component_box_dragged")&&(e.target.className+=" wfu_component_box_dragged",DraggedItem=e.target),e.target.style.zIndex=3;var t=document.getElementById("wfu_componentlist_dragdrop");return t.className="wfu_componentlist_dragdrop wfu_componentlist_dragdrop_dragover",t.style.display="block",!1}function wfu_component_dragend(e){e=e||window.event,DraggedItem=null,e.target.style.zIndex=1;var t=document.getElementById("wfu_componentlist_dragdrop");return t.style.display="none",t.className="wfu_componentlist_dragdrop",e.target.className=e.target.className.replace(" wfu_component_box_dragged",""),document.getElementById("wfu_component_bar_ver").style.display="none",document.getElementById("wfu_component_bar_hor").style.display="none",!1}function wfu_admin_recreate_placements_text(e,t){function a(e){""!=d&&(d+=n),d+=e,n=""}for(var l=document.getElementById("wfu_placements_container"),n="",d="",u=0;u<l.childNodes.length;u++)item=l.childNodes[u],"wfu_component_separator_ver"==item.className?(""==n&&(n="+"),item==e&&(a(t),n="+")):"wfu_component_separator_hor"==item.className?(n="/",item==e&&(a(t),n="/")):"wfu_component_box"==item.className&&a(item.id.replace("wfu_component_box_",""));return d}function wfu_admin_recreate_placements_panel(e){for(var t,a,l,n=document.getElementById("wfu_placements_container"),d="",u=0;u<n.childNodes.length;u++)t=n.childNodes[u],"wfu_component_box"==t.className&&(d=t.id.replace("wfu_component_box_",""),t.style.display="inline-block",t.className="wfu_component_box wfu_inbase",document.getElementById("wfu_component_box_container_"+d).appendChild(t));n.innerHTML="",a=e.split("/");for(var u=0;u<a.length;u++){t=document.createElement("DIV"),t.className="wfu_component_separator_hor",t.setAttribute("draggable",!0),n.appendChild(t),t=document.createElement("DIV"),t.className="wfu_component_separator_ver",t.setAttribute("draggable",!0),n.appendChild(t),l=a[u].split("+");for(var r=0;r<l.length;r++)t=document.getElementById("wfu_component_box_"+l[r]),t&&(n.appendChild(t),t.className="wfu_component_box",t.style.display="inline-block",t=document.createElement("DIV"),t.className="wfu_component_separator_ver",t.setAttribute("draggable",!0),n.appendChild(t))}t=document.createElement("DIV"),t.className="wfu_component_separator_hor",t.setAttribute("draggable",!0),n.appendChild(t),t=document.createElement("DIV"),t.id="wfu_component_bar_hor",t.className="wfu_component_bar_hor",n.appendChild(t),t=document.createElement("DIV"),t.id="wfu_component_bar_ver",t.className="wfu_component_bar_ver",n.appendChild(t),wfu_attach_separator_dragdrop_events()}function wfu_subfolders_input_changed(e){e=e||window.event;var t=e.target,a=t.id.replace("wfu_subfolders_path_","");a=a.replace("wfu_subfolders_label_","");var l=document.getElementById("wfu_attribute_"+a);if(!(l.selectedIndex<0)){var n,d,u=document.getElementById("wfu_subfolders_path_"+a),r=document.getElementById("wfu_subfolders_label_"+a),o=document.getElementById("wfu_subfolders_ok_"+a),_="1"==document.getElementById("wfu_subfolders_isnewitem_"+a).value;if(_)n="",d="";else{var s=l.data;t=s[l.selectedIndex],n=t.path,d=t.label}if(u.value==n&&r.value==d)o.disabled=!0,_||wfu_subfolders_update_nav(a);else{o.disabled=!1;for(var f=document.getElementsByName("wfu_subfolder_nav_"+a),i=0;i<f.length;i++)f[i].disabled=!0}}}function wfu_subfolders_auto_changed(e){var t=document.getElementById("wfu_attribute_"+e),a=document.getElementById("wfu_subfolders_auto_"+e),l=document.getElementById("wfu_subfolders_editable_"+e),n=document.getElementById("wfu_subfolders_manualtext_"+e);if(a.checked){var d=document.getElementById("wfu_attribute_value_"+e).value;"auto"!=d.substr(0,4)&&(n.value=d),l.parentNode.style.display="inline",wfu_apply_value(e,"folderlist","auto"+(l.checked?"+":"")),t.disabled=!0}else t.disabled=!1,l.parentNode.style.display="none",wfu_apply_value(e,"folderlist",n.value)}function wfu_subfolders_up_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=t.data;item=a[t.selectedIndex];var l=item.index-1;if(!(0>l)){for(var n=-1,d=t.selectedIndex-1;d>=0;){if(a[d].level==item.level&&a[d].index==l){n=d;break}d--}if(-1!=n){var u=0;for(d=t.selectedIndex+1;d<a.length&&a[d].level>item.level;)u++,d++;a[n].index=item.index,item.index=l,t.data=a.slice(0,n).concat(a.slice(t.selectedIndex,t.selectedIndex+1+u)).concat(a.slice(n,t.selectedIndex)).concat(a.slice(t.selectedIndex+1+u));var r=wfu_update_subfolder_list(e);t.selectedIndex=n,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_down_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=t.data;item=a[t.selectedIndex];var l=item.index+1,n=-1;for(curind=t.selectedIndex+1;curind<a.length;){if(a[curind].level==item.level){n=curind;break}if(a[curind].level<item.level)break;curind++}if(-1!=n){var d=0;for(curind=n+1;curind<a.length&&a[curind].level>item.level;)d++,curind++;a[n].index=item.index,item.index=l,t.data=a.slice(0,t.selectedIndex).concat(a.slice(n,n+1+d)).concat(a.slice(t.selectedIndex,n)).concat(a.slice(n+1+d));var u=wfu_update_subfolder_list(e);t.selectedIndex=t.selectedIndex+d+1,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_left_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=t.data;for(item=a[t.selectedIndex],curind=t.selectedIndex+1;curind<a.length&&a[curind].level>item.level;)a[curind].level--,curind++;item.level--;var l=wfu_update_subfolder_list(e);t.data=wfu_decode_subfolder_list(e),wfu_subfolders_update_toolnav(e),item=t,l!==item.oldVal&&(item.oldVal=l,document.getElementById("wfu_attribute_value_"+e).value=l,wfu_generate_shortcode())}}function wfu_subfolders_right_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=t.data;for(item=a[t.selectedIndex],curind=t.selectedIndex+1;curind<a.length&&a[curind].level>item.level;)a[curind].level++,curind++;item.level++;var l=wfu_update_subfolder_list(e);t.data=wfu_decode_subfolder_list(e),wfu_subfolders_update_toolnav(e),item=t,l!==item.oldVal&&(item.oldVal=l,document.getElementById("wfu_attribute_value_"+e).value=l,wfu_generate_shortcode())}}function wfu_subfolders_def_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=t.data;if(item=a[t.selectedIndex],item.default)item.default=!1;else{for(var l=0;l<a.length;l++)a[l].default=!1;item.default=!0}var n=wfu_update_subfolder_list(e);wfu_subfolders_update_toolnav(e),item=t,n!==item.oldVal&&(item.oldVal=n,document.getElementById("wfu_attribute_value_"+e).value=n,wfu_generate_shortcode())}}function wfu_subfolders_ok_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=document.getElementById("wfu_subfolders_path_"+e),l=document.getElementById("wfu_subfolders_label_"+e);if(""==a.value||""==l.value)return void alert("Path or label cannot be empty!");var n=t.data,d="1"==document.getElementById("wfu_subfolders_isnewitem_"+e).value;if(d){var u=parseInt(document.getElementById("wfu_subfolders_newitemlevel_"+e).value),r={label:l.value,path:a.value,level:u,"default":!1},o=parseInt(document.getElementById("wfu_subfolders_newitemindex_"+e).value);o>=n.length?n.push(r):n.splice(o,0,r)}else item=n[t.selectedIndex],item.path=a.value,item.label=l.value;var _=wfu_update_subfolder_list(e);t.data=wfu_decode_subfolder_list(e),wfu_subfolders_update_toolnav(e),item=t,_!==item.oldVal&&(item.oldVal=_,document.getElementById("wfu_attribute_value_"+e).value=_,wfu_generate_shortcode())}}function wfu_subfolders_del_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=t.data;item=a[t.selectedIndex];var l=0;for(curind=t.selectedIndex+1;curind<a.length&&a[curind].level>item.level;)l++,curind++;if(!(l>0)||confirm("Children items will be deleted as well. Proceed?")){a.splice(t.selectedIndex,1+l);var n=wfu_update_subfolder_list(e);t.data=wfu_decode_subfolder_list(e),wfu_subfolders_update_toolnav(e),item=t,n!==item.oldVal&&(item.oldVal=n,document.getElementById("wfu_attribute_value_"+e).value=n,wfu_generate_shortcode())}}}function wfu_subfolders_add_clicked(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a=t.data,l=t.selectedIndex;item=a[l];var n=t.options,d=document.createElement("option");d.value="",d.innerHTML="",n.add(d,l),t.selectedIndex=l;var u=document.getElementById("wfu_subfolder_tools_"+e),r=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);u.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="",r.disabled=0==item.level,s.disabled=0==item.level,0==item.level?(r.value="{root}",o.value="{upload folder}"):(r.value="",o.value="");for(var f=document.getElementsByName("wfu_subfolder_nav_"+e),i=0;i<f.length;i++)f[i].disabled=!0}}function wfu_subfolders_browse_clicked(e){var t=wfu_GetHttpRequestObject();if(null!=t){var a=null;try{var a=new FormData}catch(l){}if(null!=a){for(var n=document.getElementById("wfu_global_dialog_container"),d=document.getElementById("wfu_subfolders_browser_"+e),u=document.getElementById("wfu_subfolders_browse_"+e),r=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),f=document.getElementById("wfu_subfolders_browser_ok_"+e),i=document.getElementById("wfu_subfolders_browser_list_"+e);i.options.length>0;)i.options.remove(0);f.disabled=!0,f.onclick=function(){wfu_folder_browser_cancel_clicked(e)},_.innerHTML="loading folder contents...",s.style.display="inline",o.style.display="block",n.style.display="block",d.style.display="block",d.style.left=u.offsetLeft+u.offsetWidth-d.offsetWidth+"px",d.style.top=u.offsetTop+u.offsetHeight-d.offsetHeight+"px",r.style.display="block",n.onclick=function(){wfu_folder_browser_cancel_clicked(e)};var c=document.getElementById("wfu_attribute_uploadpath").value;"/"==c.substr(c.length-1)&&(c=c.substr(0,c.length-1));var m=wfu_get_relative_path(e).split(","),w=c+m[0];"/"!=w.substr(0)&&(w="/"+w);var g="";2==m.length&&(g=m[1]),a.append("action","wfu_ajax_action_read_subfolders"),a.append("folder1",wfu_plugin_encode_string(w)),a.append("folder2",wfu_plugin_encode_string(g)),t.key=e,t.addEventListener("load",wfu_readfolderComplete,!1),t.addEventListener("error",wfu_readfolderFailed,!1),t.addEventListener("abort",wfu_readfolderCanceled,!1),t.open("POST",AdminParams.wfu_ajax_url),t.send(a)}}}function wfu_readfolderComplete(e){var t=e.target.key,a=document.getElementById("wfu_subfolders_browser_msgcont_"+t),l=document.getElementById("wfu_subfolders_browser_msg_"+t),n=document.getElementById("wfu_subfolders_browser_img_"+t),d=document.getElementById("wfu_subfolders_browser_list_"+t),u=document.getElementById("wfu_subfolders_browser_ok_"+t),r=document.getElementById("wfu_subfolders_path_"+t),o=document.getElementById("wfu_subfolders_label_"+t),_=e.target.responseText;if(-1!=_){var s="wfu_read_subfolders:",f=e.target.responseText.indexOf(s);-1==f&&(f=e.target.responseText.length);var i=(e.target.responseText.substr(0,f),e.target.responseText.substr(f+s.length,e.target.responseText.length-f-s.length));f=i.indexOf(":");var c=i.substr(0,f);if(txt_value=i.substr(f+1,i.length-f-1),"success"==c){for(var m,w=wfu_plugin_decode_string(txt_value),g=w.split(","),p=0,v=0;v<g.length;v++)""!=g[v]&&(m=document.createElement("option"),m.value=g[v],m.innerHTML=g[v].replace("*","&nbsp;&nbsp;&nbsp;"),d.add(m),p++);0==p&&(m=document.createElement("option"),m.value="",m.innerHTML="{empty}",m.disabled=!0,d.add(m)),d.selectedIndex=-1,u.onclick=function(){var e=d.options[d.selectedIndex].value,a=parseInt(document.getElementById("wfu_subfolders_newitemlevel_"+t).value);("*"==e.substr(0,1)||0==a)&&(document.getElementById("wfu_subfolders_newitemlevel_"+t).value=a+1,a>0&&(e=e.substr(1))),r.value=e,o.value=e,wfu_folder_browser_cancel_clicked(t),wfu_subfolders_ok_clicked(t)},a.style.display="none"}else"error"==c?(l.innerHTML=txt_value,n.style.display="none",u.disabled=!1):(l.innerHTML="Unknown error",n.style.display="none",u.disabled=!1)}}function wfu_readfolderFailed(e){var t=e.target.key,a=document.getElementById("wfu_subfolders_browser_msg_"+t),l=document.getElementById("wfu_subfolders_browser_img_"+t),n=document.getElementById("wfu_subfolders_browser_ok_"+t);a.innerHTML="Unknown error",l.style.display="none",n.disabled=!1}function wfu_readfolderCanceled(e){var t=e.target.key,a=document.getElementById("wfu_subfolders_browser_msg_"+t),l=document.getElementById("wfu_subfolders_browser_img_"+t),n=document.getElementById("wfu_subfolders_browser_ok_"+t);a.innerHTML="Unknown error",l.style.display="none",n.disabled=!1}function wfu_subfolders_browser_list_changed(e){var t=document.getElementById("wfu_subfolders_browser_list_"+e),a=document.getElementById("wfu_subfolders_browser_ok_"+e);a.disabled=t.selectedIndex<0}function wfu_folder_browser_cancel_clicked(e){var t=document.getElementById("wfu_global_dialog_container"),a=document.getElementById("wfu_subfolders_browser_"+e),l=(document.getElementById("wfu_subfolders_browse_"+e),document.getElementById("wfu_subfolders_inner_shadow_"+e));t.onclick=null,l.style.display="none",a.style.display="none",t.style.display="none"}function wfu_get_relative_path(e){var t=document.getElementById("wfu_attribute_"+e);if(!(t.selectedIndex<0)){var a,l=t.data,n="1"==document.getElementById("wfu_subfolders_isnewitem_"+e).value;a=n?parseInt(document.getElementById("wfu_subfolders_newitemlevel_"+e).value):l[t.selectedIndex].level;for(var d="/",u=t.selectedIndex-1,r=a;u>=0&&r>1;)l[u].level<r&&(d="/"+l[u].path+d,r=l[u].level),u--;return n&&"1"==document.getElementById("wfu_subfolders_newitemlevel2_"+e).value&&a>0&&t.selectedIndex>0&&(d+=","+l[t.selectedIndex-1].path),d}}function wfu_subfolders_changed(e){wfu_update_subfolder_list(e),wfu_subfolders_update_toolnav(e)}function wfu_subfolders_update_toolnav(e){var t,a,l=document.getElementById("wfu_attribute_"+e),n=document.getElementById("wfu_subfolder_tools_"+e),d=document.getElementById("wfu_subfolders_path_"+e),u=document.getElementById("wfu_subfolders_label_"+e),r=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)n.className="wfu_subfolder_tools_container wfu_subfolder_tools_disabled",d.disabled=!0,u.disabled=!0,r.disabled=!0,o.disabled=!0,u.value="",d.value="";else if(l.selectedIndex>=l.options.length-1){n.className="wfu_subfolder_tools_container",u.disabled=!1,r.disabled=!0,document.getElementById("wfu_subfolders_isnewitem_"+e).value="1",document.getElementById("wfu_subfolders_newitemindex_"+e).value=t.length;var s;s=0==t.length?0:0==t[t.length-1].level?1:t[t.length-1].level,document.getElementById("wfu_subfolders_newitemlevel_"+e).value=s,document.getElementById("wfu_subfolders_newitemlevel2_"+e).value="1",d.disabled=0==s,o.disabled=!1,0==s?(d.value="{root}",u.value="{upload folder}"):(d.value="",u.value="")}else n.className="wfu_subfolder_tools_container",u.disabled=!1,r.disabled=!0,a=t[l.selectedIndex],d.disabled=0==a.level,o.disabled=0==a.level,u.value=a.label,d.value=a.path;var f=document.getElementsByName("wfu_subfolder_nav_"+e);if(l.selectedIndex<0||l.selectedIndex>=l.options.length-1)for(var i=0;i<f.length;i++)f[i].disabled=!0;else wfu_subfolders_update_nav(e)}function wfu_subfolders_update_nav(e){var t=document.getElementById("wfu_attribute_"+e),a=document.getElementById("wfu_subfolders_up_"+e),l=document.getElementById("wfu_subfolders_down_"+e),n=document.getElementById("wfu_subfolders_left_"+e),d=document.getElementById("wfu_subfolders_right_"+e),u=document.getElementById("wfu_subfolders_add_"+e),r=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,n.disabled=0==t.selectedIndex&&s.level<1||t.selectedIndex>0&&s.level<=1,prevlevel=t.selectedIndex>=1?_[t.selectedIndex-1].level:0,d.disabled=s.level-prevlevel>0,u.disabled=0==s.level,r.disabled=!1,r.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 n=e.split("/");return 1==n.length?(t.path=n[0],t.label=n[0]):n.length>1&&(t.path=n[0],t.label=n[1]),0==a&&(t.path="{root}",""==t.label&&(t.label="{upload folder}")),t}function wfu_decode_subfolder_list(e){for(var t,a=document.getElementById("wfu_attribute_"+e).options,l=Array(),n=["root"],d=[0],u=-1,r=0;r<a.length-1;r++){for(l.push(wfu_decode_subfolder(wfu_plugin_decode_string(a[r].value))),n.length>l[r].level?n[l[r].level]=l[r].path:n.push(l[r].path),t="",j=1;j<=l[r].level;j++)t+=n[j]+"/";l[r].fullpath=t,d.length<=l[r].level&&d.push(0),l[r].index=l[r].level>u?0:d[l[r].level]+1,d[l[r].level]=l[r].index,u=l[r].level}return l}function wfu_update_subfolder_list(e){var t=document.getElementById("wfu_attribute_"+e).options,a=document.getElementById("wfu_attribute_"+e),l=a.data;if(null!=l){var n,d,u="";t.length=l.length+1;for(var r=0;r<l.length;r++){for(n="",d="",j=0;j<l[r].level;j++)n+="*",d+="&nbsp;&nbsp;&nbsp;";l[r].default?(n+="&",t[r].className="wfu_select_folders_option_default"):t[r].className="",n+=l[r].path+"/"+l[r].label,d+=l[r].label,t[r].value=wfu_plugin_encode_string(n),t[r].innerHTML=d,""!=u&&(u+=","),u+=n}return t[l.length].value="",t[l.length].innerHTML="",u}}function wfu_userdata_edit_field(e,t,a){for(var l,n=0;n<e.childNodes.length;n++)l=e.childNodes[n],"INPUT"==l.tagName?"text"==l.type?(l.value=t,wfu_attach_element_handlers(l,wfu_update_userfield_value)):"checkbox"==l.type&&(l.checked=a):"DIV"==l.tagName&&(l.className="wfu_userdata_action")}function wfu_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_userdata_remove_field(e){for(var t=e.parentNode,a=t.parentNode,l=null,n=0;n<a.childNodes.length;n++)if(1===a.childNodes[n].nodeType){l=a.childNodes[n];break}if(t!=l){t.parentNode.removeChild(t);for(var n=0;n<l.childNodes.length;n++)if(1===l.childNodes[n].nodeType){wfu_update_userfield_value({target:l.childNodes[n]});break}}}function wfu_generate_shortcode(){for(var e,t=document.getElementById("wfu_attribute_defaults"),a=(document.getElementById("wfu_attribute_values"),""),l="",n="[wordpress_file_upload",d="",u=0;u<t.childNodes.length;u++)e=t.childNodes[u],1===e.nodeType&&(a=e.id.replace("wfu_attribute_default_",""),l=document.getElementById("wfu_attribute_value_"+a).value,e.value!=l&&(d+=" "+a+'="'+l+'"'));n+=d+"]",document.getElementById("wfu_shortcode").value=n,ShortcodeString=d.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_triplecolor_value(e){e=e||window.event;var t=e.target,a=t.id.replace("wfu_attribute_","");a=a.replace("_color",""),a=a.replace("_bgcolor",""),a=a.replace("_borcolor",""),t=document.getElementById("wfu_attribute_"+a+"_color");var l=t.value+","+document.getElementById("wfu_attribute_"+a+"_bgcolor").value+","+document.getElementById("wfu_attribute_"+a+"_borcolor").value;l!==t.oldVal&&(t.oldVal=l,document.getElementById("wfu_attribute_value_"+a).value=l,wfu_generate_shortcode())}function wfu_update_dimension_value(e){e=e||window.event;var t=e.target,a=t.name.replace("wfu_dimension_elements_",""),l=document.getElementsByName(t.name);t=l[0];for(var n="",d="",u=0;u<l.length;u++)d=l[u].id.replace("wfu_attribute_"+a+"_",""),""!=n&&""!=l[u].value&&(n+=", "),""!=l[u].value&&(n+=d+":"+l[u].value);n!==t.oldVal&&(t.oldVal=n,document.getElementById("wfu_attribute_value_"+a).value=n,wfu_generate_shortcode())}function wfu_update_ptext_value(e){e=e||window.event;var t=e.target,a=t.id.replace("wfu_attribute_","");a=a.substr(2);var l=document.getElementById("wfu_attribute_s_"+a).value,n=document.getElementById("wfu_attribute_p_"+a).value,d=l+"/"+n;d!==t.oldVal&&(t.oldVal=d,document.getElementById("wfu_attribute_value_"+a).value=d),wfu_generate_shortcode()}function wfu_update_mchecklist_value(e){var t="",a=(document.getElementById("wfu_attribute_"+e),document.getElementById("wfu_attribute_"+e+"_all"));a.checked?(jQuery("#wfu_attribute_"+e+" input").prop("disabled",!0),jQuery("#wfu_attribute_"+e+" input").prop("checked",!0),t="all"):(jQuery("#wfu_attribute_"+e+" input").prop("disabled",!1),jQuery("#wfu_attribute_"+e+" input").each(function(){jQuery(this).prop("checked")&&(t+=","+jQuery(this).next().html())}),t=t.substr(1)),document.getElementById("wfu_attribute_value_"+e).value=t,wfu_generate_shortcode()}function wfu_update_rolelist_value(e){var t="",a=document.getElementById("wfu_attribute_"+e),l=document.getElementById("wfu_attribute_"+e+"_all");if(l.checked)a.disabled=!0,t="all";else{a.disabled=!1;for(var n=a.options,d=0;d<n.length;d++)n[d].selected&&(""!=t&&(t+=","),t+=n[d].value)}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+"_guests"),n=document.getElementById("wfu_attribute_"+e+"_all");if(n.checked)a.disabled=!0,l.disabled=!0,t="all";else{a.disabled=!1,l.disabled=!1;for(var d=a.options,u=0;u<d.length;u++)d[u].selected&&(""!=t&&(t+=","),t+=d[u].value);l.checked&&(""!=t&&(t+=","),t+="guests")}document.getElementById("wfu_attribute_value_"+e).value=t,wfu_generate_shortcode()}function wfu_update_userfield_value(e){e=e||window.event;for(var t=e.target,a=t.parentNode,l=a.parentNode,n="",d=!1,u="",r=0;r<l.childNodes.length;r++)if(a=l.childNodes[r],"DIV"===a.tagName){for(var o=0;o<a.childNodes.length;o++)"INPUT"==a.childNodes[o].tagName&&("text"==a.childNodes[o].type?(n=a.childNodes[o].value,0==r&&(t=a.childNodes[o])):"checkbox"==a.childNodes[o].type&&(d=a.childNodes[o].checked));""!=u&&""!=n&&(u+="/"),""!=n&&d&&(u+="*"),""!=n&&(u+=n)}u!==t.oldVal&&(t.oldVal=u,document.getElementById("wfu_attribute_value_userdatalabel").value=u,wfu_generate_shortcode(),wfu_update_userfield_variables())}function wfu_update_userfield_variables(){for(var e=document.getElementById("wfu_attribute_value_userdatalabel").value,t=document.getElementById("wfu_wrapper"),a=document.getElementsByClassName("wfu_shadow_userdata","div",t),l=document.getElementsByName("wfu_userfield_select"),n=0;n<l.length;n++)l[n].style.display="none";if(0!=a.length&&"block"!=a[0].style.display){for(var d='<option style="display:none;">%userdataXXX%</option>',u=e.split("/"),r="",n=1;n<=u.length;n++)r=u[n-1],"*"==r[0]&&(r=r.substr(1)),d+='<option value="%userdata'+n+'%">'+n+": "+r+"</option>";for(var n=0;n<l.length;n++)l[n].innerHTML=d,l[n].style.display="inline-block"}}function wfu_attach_element_handlers(e,t){for(var a=["DOMAttrModified","textInput","input","change","keypress","paste","focus","propertychange"],l=0;l<a.length;l++)wfu_addEventHandler(e,a[l],t)}function wfu_Attach_Admin_Events(e){Autosave=e,wfu_generate_shortcode(),wfu_update_userfield_variables(),wfu_Attach_Admin_DragDrop_Events();for(var t=document.getElementsByName("wfu_text_elements"),a=0;a<t.length;a++)wfu_attach_element_handlers(t[a],wfu_update_text_value);for(var l=document.getElementsByName("wfu_ptext_elements"),a=0;a<l.length;a++)wfu_attach_element_handlers(l[a],wfu_update_ptext_value);for(var n=document.getElementsByName("wfu_triplecolor_elements"),a=0;a<n.length;a++)wfu_attach_element_handlers(n[a],wfu_update_triplecolor_value);for(var d=document.getElementsByName("wfu_dimension_elements_widths"),a=0;a<d.length;a++)wfu_attach_element_handlers(d[a],wfu_update_dimension_value);
2
+ d=document.getElementsByName("wfu_dimension_elements_heights");for(var a=0;a<d.length;a++)wfu_attach_element_handlers(d[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 r=document.getElementsByName("wfu_subfolder_tools_input"),a=0;a<r.length;a++)wfu_attach_element_handlers(r[a],wfu_subfolders_input_changed);""!=document.getElementById("wfu_shortcode_postid").value&&setTimeout(function(){wfu_check_page_obsolescence()},CheckObsolescenceTimeOut)}function wfu_insert_variable(e){var t=e.className.replace("wfu_variable wfu_variable_",""),a=document.getElementById("wfu_attribute_"+t),l=a.selectionStart,n=a.value;a.value=n.substr(0,l)+e.innerHTML+n.substr(l),wfu_update_text_value({target:a})}function wfu_insert_userfield_variable(e){var t=e.className.replace("wfu_variable wfu_variable_",""),a=document.getElementById("wfu_attribute_"+t),l=a.selectionStart,n=a.value;a.value=n.substr(0,l)+e.value+n.substr(l),e.value="%userdataXXX%",wfu_update_text_value({target:a})}function wfu_GetHttpRequestObject(){var e=null;try{e=new XMLHttpRequest}catch(t){try{e=new ActiveXObject("Msxml2.XMLHTTP")}catch(a){try{e=new ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}}if(null==e&&window.createRequest)try{xmlhttp=window.createRequest()}catch(t){}return e}function wfu_plugin_encode_string(e){var t,a=0,l="",n="";for(a=0;a<e.length;a++)t=e.charCodeAt(a),t>=2048?t=((16773120&t|917504)<<4)+((4032&t|8192)<<2)+(63&t|128):t>=128&&(t=((65472&t|12288)<<2)+(63&t|128)),n=t.toString(16),(1==n.length||3==n.length||5==n.length)&&(n="0"+n),l+=n;return l}function wfu_plugin_decode_string(e){for(var t,a,l=0,n="";l<e.length;)t=parseInt(e.substr(l,2),16),a=128>t?t:224>t?((31&t)<<6)+(63&parseInt(e.substr(l+=2,2),16)):((15&t)<<12)+((63&parseInt(e.substr(l+=2,2),16))<<6)+(63&parseInt(e.substr(l+=2,2),16)),n+=String.fromCharCode(a),l+=2;return n}function wfu_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(6),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;for(var a="",l=0;l<params.length;l++)a+=(l>0?"&":"")+params[l][0]+"="+encodeURI(params[l][1]);var n=new Date;Autosave?ShortcodeNextSave=n.getTime()+5e3:document.getElementById("wfu_update_shortcode")&&(document.getElementById("wfu_update_shortcode_wait").style.display="inline"),e.open("POST",t,!0),e.setRequestHeader("Content-type","application/x-www-form-urlencoded"),e.onreadystatechange=function(){if(4==e.readyState&&200==e.status){PageUpdating=!1;var t="wfu_save_shortcode:",a=e.responseText.indexOf(t);-1==a&&(a=e.responseText.length);var l=(e.responseText.substr(0,a),e.responseText.substr(a+t.length,e.responseText.length-a-t.length));a=l.indexOf(":");var d=l.substr(0,a);txt_value=l.substr(a+1,l.length-a-1),"success"==d?(Autosave?(document.getElementById("wfu_save_label").innerHTML="saved",document.getElementById("wfu_save_label").className="wfu_save_label",document.getElementById("wfu_save_label").style.opacity=1,wfu_fadeout_element(300),ShortcodeNextSave=n.getTime()+1e3,null!=ShortcodeTimeOut&&wfu_schedule_save_shortcode()):document.getElementById("wfu_update_shortcode")&&(document.getElementById("wfu_update_shortcode_wait").style.display="none",document.getElementById("wfu_update_shortcode").disabled=!0,window.plugin_window&&window.plugin_window.location.reload(!0)),""!=document.getElementById("wfu_shortcode_postid").value&&(document.getElementById("wfu_shortcode_original_enc").value=wfu_plugin_encode_string("[wordpress_file_upload "+ShortcodeString+"]"),document.getElementById("wfu_shortcode_posthash").value=txt_value,setTimeout(function(){wfu_check_page_obsolescence()},CheckObsolescenceTimeOut))):(Autosave&&(document.getElementById("wfu_save_label").innerHTML="not saved",document.getElementById("wfu_save_label").className="wfu_save_label_fail",document.getElementById("wfu_save_label").style.opacity=1,wfu_fadeout_element(300)),"fail"==d&&("post_modified"==txt_value?(PageObsolete=!0,document.getElementById("wfu_update_shortcode")&&(document.getElementById("wfu_update_shortcode").disabled=!0),document.getElementById("wfu_update_rejected_message").style.display="block"):document.getElementById("wfu_update_failed_message").style.display="block"))}},e.send(a)}}}function wfu_adjust_opacity(e){document.getElementById("wfu_save_label").style.opacity=e}function wfu_fadeout_element(e){for(var t=20,a=0,l=0;t>l;l++)a=1-l/t,setTimeout('wfu_adjust_opacity("'+a.toString()+'")',l*e/t);setTimeout('wfu_adjust_opacity("0.0")',l*e/t)}function wfu_apply_value(e,t,a){if("onoff"==t)document.getElementById("wfu_attribute_"+e).className="wfu_onoff_container_"+("true"!=a?"on":"off"),wfu_admin_onoff_clicked(e);else if("text"==t||"ltext"==t||"integer"==t||"float"==t||"mtext"==t||"color"==t){var l=document.getElementById("wfu_attribute_"+e);if(a=a.replace(/\%n\%/gm,"\n"),a=a.replace(/\%dq\%/gm,'"'),a=a.replace(/\%brl\%/gm,"["),a=a.replace(/\%brr\%/gm,"]"),"color"==t){var n=colourNameToHex(a);n||(n=a),jQuery("#wfu_attribute_"+e).wpColorPicker("color",n)}l.value=a,wfu_update_text_value({target:l})}else if("placements"==t)wfu_admin_recreate_placements_panel(a),document.getElementById("wfu_attribute_value_placements").value=a,wfu_generate_shortcode();else if("radio"==t){for(var d=document.getElementsByName("wfu_radioattribute_"+e),u=0;u<d.length;u++)d[u].checked=d[u].value==a||"*"+d[u].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 r=a.split("/"),o=r.length<1?"":r[0],_=r.length<2?o:r[1],s=document.getElementById("wfu_attribute_s_"+e);s.value=o;var f=document.getElementById("wfu_attribute_p_"+e);f.value=_,wfu_update_ptext_value({target:s}),wfu_update_ptext_value({target:f})}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 i=a.split(","),u=0;u<i.length;u++)i[u]=i[u].trim();jQuery("#wfu_attribute_"+e+" input").each(function(){jQuery(this).prop("checked",i.indexOf(jQuery(this).next().html())>-1)})}wfu_update_mchecklist_value(e)}else if("rolelist"==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 c=a.split(","),u=0;u<c.length;u++)c[u]=c[u].trim();for(var l=document.getElementById("wfu_attribute_"+e),u=0;u<l.options.length;u++)l.options[u].selected=c.indexOf(l.options[u].value)>-1}wfu_update_rolelist_value(e)}else if("userlist"==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 m=a.split(","),u=0;u<m.length;u++)m[u]=m[u].trim();for(var l=document.getElementById("wfu_attribute_"+e),u=0;u<l.options.length;u++)l.options[u].selected=m.indexOf(l.options[u].value)>-1;document.getElementById("wfu_attribute_"+e+"_guests").checked=m.indexOf("guests")>-1}wfu_update_userlist_value(e)}else if("dimensions"==t){for(var w,g,p,l,v=a.split(","),b=document.getElementsByName("wfu_dimension_elements_"+e),u=0;u<b.length;u++)b[u].value="";for(var u=0;u<v.length;u++)w=v[u].split(":",2),g=w.length<1?"":w[0],p=w.length<2?g:w[1],l=document.getElementById("wfu_attribute_"+e+"_"+g.trim()),l&&(l.value=p.trim());l=b[0],wfu_update_dimension_value({target:l})}else if("userfields"==t){for(var h,y=a.split("/"),I=Array(),u=0;u<y.length;u++)h="*"==y[u].substr(0,1),h&&(y[u]=y[u].substr(1)),""!=y[u]&&I.push({name:y[u],required:h});for(var E=document.getElementById("wfu_attribute_"+e),B=null,x=Array(),u=0;u<E.childNodes.length;u++)1===E.childNodes[u].nodeType&&(null==B?B=E.childNodes[u]:x.push(E.childNodes[u]));for(var u=0;u<x.length;u++)E.removeChild(x[u]);wfu_userdata_edit_field(B,"",!1);for(var N,k=B,u=0;u<I.length;u++)0==u?wfu_userdata_edit_field(B,I[u].name,I[u].required):(N=k.cloneNode(!0),wfu_userdata_edit_field(N,I[u].name,I[u].required),E.insertBefore(N,k.nextSibling),k=N);for(var l,u=0;u<B.childNodes.length&&(l=B.childNodes[u],"INPUT"!=l.tagName);u++);wfu_update_userfield_value({target:l})}else if("color-triplet"==t){for(var T=a.split(","),u=0;u<T.length;u++)T[u]=T[u].trim();2==T.length?T=[T[0],T[1],"#000000"]:1==T.length?T=[T[0],"#FFFFFF","#000000"]:T.length<3&&(T=["#000000","#FFFFFF","#000000"]);var n=colourNameToHex(T[0]);n||(n=T[0]),jQuery("#wfu_attribute_"+e+"_color").wpColorPicker("color",n);var l=document.getElementById("wfu_attribute_"+e+"_color");l.value=T[0],n=colourNameToHex(T[1]),n||(n=T[1]),jQuery("#wfu_attribute_"+e+"_bgcolor").wpColorPicker("color",n),document.getElementById("wfu_attribute_"+e+"_bgcolor").value=T[1],n=colourNameToHex(T[2]),n||(n=T[2]),jQuery("#wfu_attribute_"+e+"_borcolor").wpColorPicker("color",n),document.getElementById("wfu_attribute_"+e+"_borcolor").value=T[2],wfu_update_triplecolor_value({target:l})}else if("folderlist"==t){for(var i=wfu_parse_folderlist_js(a),H=document.getElementById("wfu_attribute_"+e).options;H.length>0;)H.remove(0);for(var A,j,C,O,D,S,u=0;u<i.path.length;u++){j=i.path[u],"/"==j.substr(j.length,1)&&(j=j.substr(0,j.length-1)),C=j.split("/"),j=C[C.length-1],D=parseInt(i.level[u]),O="",S="";for(var L=0;D>L;L++)O+="&nbsp;&nbsp;&nbsp;",S+="*";O+=i.label[u],i.default[u]&&(S+="&"),S+=""==j?"{root}/"+i.label[u]:j+i.label[u],A=document.createElement("option"),A.className=i.default[u]?"wfu_select_folders_option_default":"",A.value=wfu_plugin_encode_string(S),A.innerHTML=O,H.add(A)}A=document.createElement("option"),A.value="",A.innerHTML="",H.add(A);var V=document.getElementById("wfu_attribute_"+e);V.data=wfu_decode_subfolder_list(e),wfu_subfolders_update_toolnav(e),l=V,a!==l.oldVal&&(l.oldVal=a,document.getElementById("wfu_attribute_value_"+e).value=a,wfu_generate_shortcode())}}function wfu_parse_folderlist_js(e){var t=Object();if(t.path=Array(),t.label=Array(),t.level=Array(),t.default=Array(),"auto"==e.substr(0,4))return t;var a=e.split(",");if(0==a.length)return t;if(1==a.length&&""==a[0].trim())return t;for(var l,n,d,u,r,o,_,s=["root"],f=0,i=0,c=-1,m=0;m<a.length;m++){for(l=a[m].trim(),n=0,d="",u=!1;n<l.length&&"*"==l.substr(n,1);)n++,d+="&nbsp;&nbsp;&nbsp;";if(1>=n-f&&(n>0||0==i)&&(l=l.substr(n,l.length-n),"&"==l.substr(0,1)&&(l=l.substr(1),u=!0),subfolder_items=l.split("/"),subfolder_items.length<2&&subfolder_items.push(""),""!=subfolder_items[1]?(r=subfolder_items[0],o=subfolder_items[1]):(r=l,o=l),""!=r)){u&&-1==c?c=t.path.length:u=!1,0==n&&(i=1),s.length>n?s[n]=r:s.push(r),_="";for(var w=1;n>=w;w++)_+=s[w]+"/";t.path.push(_),t.label.push(o),t.level.push(n),t.default.push(u),f=n}}return t}function colourNameToHex(e){var t={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4","indianred ":"#cd5c5c","indigo ":"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};return"undefined"!=typeof t[e.toLowerCase()]?t[e.toLowerCase()]:!1}function wfu_download_file(e,t,a){var l=wfu_GetHttpRequestObject();if(null!=l){var n=AdminParams.wfu_ajax_url;params=new Array(3),params[0]=new Array(2),params[0][0]="action",params[0][1]="wfu_ajax_action_download_file_invoker",params[1]=new Array(2),params[1][0]="file",params[1][1]=e,params[2]=new Array(2),params[2][0]="nonce",params[2][1]=a;for(var d="",u=0;u<params.length;u++)d+=(u>0?"&":"")+params[u][0]+"="+encodeURI(params[u][1]);l.open("POST",n,!0),l.setRequestHeader("Content-type","application/x-www-form-urlencoded"),l.onreadystatechange=function(){if(4==l.readyState&&200==l.status){var a="wfu_ajax_action_download_file_invoker:",n=l.responseText.indexOf(a);-1==n&&(n=l.responseText.length);var d=(l.responseText.substr(0,n),l.responseText.substr(n+a.length,l.responseText.length-n-a.length));n=d.indexOf(":");var u=d.substr(0,n);if(txt_value=d.substr(n+1,d.length-n-1),"wfu_download_id;"==u.substr(0,16)){var r=u.substr(16),o=document.getElementById("wfu_file_download_container_"+t);o.innerHTML=txt_value,setTimeout("wfu_download_file_monitor('"+e+"', "+t+", '"+r+"')",100)}}},l.send(d)}}function wfu_download_file_monitor(e,t,a){var l=wfu_GetHttpRequestObject();if(null!=l){var n=AdminParams.wfu_ajax_url;params=new Array(3),params[0]=new Array(2),params[0][0]="action",params[0][1]="wfu_ajax_action_download_file_monitor",params[1]=new Array(2),params[1][0]="file",params[1][1]=e,params[2]=new Array(2),params[2][0]="id",params[2][1]=a;for(var d="",u=0;u<params.length;u++)d+=(u>0?"&":"")+params[u][0]+"="+encodeURI(params[u][1]);l.open("POST",n,!0),l.setRequestHeader("Content-type","application/x-www-form-urlencoded"),l.onreadystatechange=function(){if(4==l.readyState&&200==l.status){var a="wfu_ajax_action_download_file_monitor:",n=l.responseText.indexOf(a);-1==n&&(n=l.responseText.length);var d=(l.responseText.substr(0,n),l.responseText.substr(n+a.length,l.responseText.length-n-a.length));n=d.indexOf(":");var u=d.substr(0,n);if(txt_value=d.substr(n+1,d.length-n-1),"repeat"!=u){var r=document.getElementById("wfu_file_download_container_"+t);r.innerHTML=""}else"repeat"==u&&setTimeout("wfu_download_file_monitor('"+e+"', "+t+", '"+txt_value+"')",100)}},l.send(d)}}function wfu_filedetails_userdata_changed(){for(var e,t,a=document.getElementsByName("wfu_filedetails_userdata"),l=!1,n=0;n<a.length;n++)if(e=document.getElementById(a[n].id.replace("wfu_filedetails_userdata_value_","wfu_filedetails_userdata_default_")),t=document.getElementById(a[n].id.replace("wfu_filedetails_userdata_value_","wfu_filedetails_userdata_")),t.value=a[n].value,a[n].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)}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)}})});
languages/wordpress-file-upload-de_DE.mo ADDED
Binary file
languages/wordpress-file-upload-de_DE.po ADDED
@@ -0,0 +1,719 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Wordpress File Upload\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-06-22 02:03+0200\n"
6
+ "PO-Revision-Date: 2015-06-22 02:03+0200\n"
7
+ "Last-Translator: nickboss <info@iptanus.com>\n"
8
+ "Language-Team: Iptanus Team <info@iptanus.com>\n"
9
+ "Language: de_DE\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Poedit-KeywordsList: __;gettext;gettext_noop\n"
14
+ "X-Poedit-Basepath: ../\n"
15
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "X-Generator: Poedit 1.7.5\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+ "X-Poedit-SearchPathExcluded-0: vendor\n"
19
+
20
+ #: lib/wfu_constants.php:7
21
+ msgid "Upload files"
22
+ msgstr "Dateien hochladen"
23
+
24
+ #: lib/wfu_constants.php:8
25
+ msgid "Select File"
26
+ msgstr "Datei auswählen"
27
+
28
+ #: lib/wfu_constants.php:9
29
+ msgid "Upload File"
30
+ msgstr "Datei hochladen"
31
+
32
+ #: lib/wfu_constants.php:27
33
+ msgid "File Upload Notification"
34
+ msgstr "Datei-Upload-Benachrichtigung"
35
+
36
+ #: lib/wfu_constants.php:28
37
+ msgid ""
38
+ "Dear Recipient,%n%%n% This is an automatic delivery message to notify you "
39
+ "that a new file has been uploaded.%n%%n%Best Regards"
40
+ msgstr ""
41
+ "Sehr geehrter Empfänger,%n%%n%Dies ist eine automatische Nachricht, die Sie "
42
+ "benachrichtigt, dass eine neue Datei hochgeladen wurde.%n%%n%Beste Grüße"
43
+
44
+ #: lib/wfu_constants.php:34
45
+ #, php-format
46
+ msgid "File %filename% uploaded successfully"
47
+ msgstr "Datei %filename% erfolgreich hochgeladen"
48
+
49
+ #: lib/wfu_constants.php:35
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:36
55
+ msgid "File %filename% not uploaded"
56
+ msgstr "Datei% filename% nicht hochgeladen"
57
+
58
+ #: lib/wfu_constants.php:37
59
+ msgid "File %filename% is being uploaded"
60
+ msgstr "Datei %filename% wird hochgeladen"
61
+
62
+ #: lib/wfu_constants.php:55
63
+ msgid "Your message"
64
+ msgstr "Ihre Nachricht"
65
+
66
+ #: lib/wfu_constants.php:60
67
+ msgid ""
68
+ "Error. Could not resolve ftp target filedir. Check the domain in 'ftpinfo' "
69
+ "attribute."
70
+ msgstr ""
71
+ "Fehler. Der FTP-Ordner des FTP-Ziels konnte nicht aufgelöst werden. "
72
+ "Überprüfen Sie die Domäne in \"ftpinfo\"-Attribut."
73
+
74
+ #: lib/wfu_constants.php:61
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:62
80
+ msgid ""
81
+ "Error. Could not extract ftp information from 'ftpinfo' attribute. Check its "
82
+ "syntax."
83
+ msgstr ""
84
+ "Fehler. Ftp-Daten konnte nicht aus dem 'ftpinfo'-Attribut extrahiert werden. "
85
+ "Überprüfen Sie die Schreibweise."
86
+
87
+ #: lib/wfu_constants.php:63
88
+ msgid ""
89
+ "Error. Could not resolve ftp target filename. Check the domain in 'ftpinfo' "
90
+ "attribute."
91
+ msgstr ""
92
+ "Fehler. Ftp-Zieldateiname konnte nicht aufgelöst werden. Überprüfen Sie die "
93
+ "Domäne im 'ftpinfo'-Attribut."
94
+
95
+ #: lib/wfu_constants.php:64
96
+ msgid ""
97
+ "Error. The upload size limit of PHP directive upload_max_filesize is "
98
+ "preventing the upload of big files.\n"
99
+ "PHP directive upload_max_filesize limit is: "
100
+ msgstr ""
101
+ "Fehler. Die Upload-Größenbeschränkung der PHP Richtlinie upload_max_filesize "
102
+ "hat das Hochladen von großen Dateien verhindern.\n"
103
+ "Das upload_max_filesize-Limit beträgt derzeit:"
104
+
105
+ #: lib/wfu_constants.php:65
106
+ msgid ""
107
+ "The upload time limit of PHP directive max_input_time is preventing the "
108
+ "upload of big files.\n"
109
+ "PHP directive max_input_time limit is: "
110
+ msgstr ""
111
+ "Die Upload-Zeitspanne der PHP-Direktive max_input_time verhindert das "
112
+ "Hochladen von großen Dateien. \n"
113
+ "Das max_input_time Limit ist derzeit:"
114
+
115
+ #: lib/wfu_constants.php:66
116
+ msgid ""
117
+ "Error. Permission denied to write to target folder.\n"
118
+ "Check and correct read/write permissions of target folder."
119
+ msgstr ""
120
+ "Fehler. Schreibzugriff im Zielordner verweigert. \n"
121
+ "Prüfen und korrigieren Sie Schreib-/Lese-Berechtigungen des Zielordners."
122
+
123
+ #: lib/wfu_constants.php:67
124
+ msgid "Targer folder doesn't exist."
125
+ msgstr "Ziel-Ordner nicht vorhanden ist."
126
+
127
+ #: lib/wfu_constants.php:68
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:69
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:70
138
+ msgid "File not allowed."
139
+ msgstr "Dateiformat nicht erlaubt"
140
+
141
+ #: lib/wfu_constants.php:71
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:72
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:73
152
+ msgid ""
153
+ "Upload failed! The uploaded file exceeds the file size limit of the server. "
154
+ "Please contact the administrator."
155
+ msgstr ""
156
+ "Hochladen fehlgeschlagen! Die hochgeladene Datei überschreitet die maximale "
157
+ "Dateigröße des Servers. Bitte wenden Sie sich an den Administrator."
158
+
159
+ #: lib/wfu_constants.php:74
160
+ msgid ""
161
+ "Upload failed! The duration of the upload exceeded the time limit of the "
162
+ "server. Please contact the administrator."
163
+ msgstr ""
164
+ "Hochladen fehlgeschlagen! Die Dauer des Uploads liegt über dem Zeitlimit des "
165
+ "Servers. Bitte wenden Sie sich an den Administrator oder senden Sie die "
166
+ "Datei von einem Rechner mit schnellerer Internetverbindung."
167
+
168
+ #: lib/wfu_constants.php:75
169
+ msgid ""
170
+ "Upload failed! The uploaded file exceeds the MAX_FILE_SIZE directive that "
171
+ "was specified in the HTML form."
172
+ msgstr ""
173
+ "Hochladen fehlgeschlagen! Die hochgeladene Datei überschreitet die "
174
+ "MAX_FILE_SIZE Richtlinie, die im HTML-Formular angegeben wurde."
175
+
176
+ #: lib/wfu_constants.php:76
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:77
181
+ msgid "Upload failed! No file was uploaded."
182
+ msgstr "Hochladen fehlgeschlagen! Es wurde keine Datei hochgeladen."
183
+
184
+ #: lib/wfu_constants.php:78
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:79
191
+ msgid ""
192
+ "Upload failed! Error occured while moving temporary file. Please contact "
193
+ "administrator."
194
+ msgstr ""
195
+ "Hochladen fehlgeschlagen! Es ist ein Fehler aufgetreten, während der "
196
+ "Verschiebung der temporären Datei. Bitte kontaktieren Sie Administrator."
197
+
198
+ #: lib/wfu_constants.php:80
199
+ msgid ""
200
+ "Upload failed! A PHP extension stopped the file upload. PHP does not provide "
201
+ "a way to ascertain which extension caused the file upload to stop; examining "
202
+ "the list of loaded extensions with phpinfo() may help."
203
+ msgstr ""
204
+ "Hochladen fehlgeschlagen! Ein PHP-Erweiterung stoppte den Datei-Upload. PHP "
205
+ "bietet keine Möglichkeit, festzustellen, welche PHP-Erweiterung den Datei-"
206
+ "Upload-Stopp verursacht, zur Prüfung der Liste der geladenen Erweiterungen "
207
+ "kann phpinfo() helfen."
208
+
209
+ #: lib/wfu_constants.php:81
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:82
216
+ msgid "Upload failed!"
217
+ msgstr "Hochladen fehlgeschlagen!"
218
+
219
+ #: lib/wfu_constants.php:83
220
+ msgid "No file!"
221
+ msgstr "Keine Datei!"
222
+
223
+ #: lib/wfu_constants.php:84
224
+ msgid ""
225
+ "Upload failed! The upload has been canceled by the user or the browser "
226
+ "dropped the connection."
227
+ msgstr ""
228
+ "Hochladen fehlgeschlagen! Der Upload wurde vom Benutzer abgebrochen wurde "
229
+ "oder der Browser hat die Verbindung verloren."
230
+
231
+ #: lib/wfu_constants.php:85
232
+ msgid "Upload failed! Unknown error."
233
+ msgstr "Hochladen fehlgeschlagen! Unbekannter Fehler."
234
+
235
+ #: lib/wfu_constants.php:86
236
+ msgid "Please contact the administrator."
237
+ msgstr "Bitte kontaktieren Sie den Administrator."
238
+
239
+ #: lib/wfu_constants.php:87
240
+ msgid "No result from remote server!"
241
+ msgstr "Kein Ergebnis vom Remote-Server!"
242
+
243
+ #: lib/wfu_constants.php:88
244
+ msgid " but with warnings"
245
+ msgstr " aber mit Warnhinweisen"
246
+
247
+ #: lib/wfu_constants.php:89 lib/wfu_constants.php:91
248
+ msgid "Warning: JSON parse error."
249
+ msgstr "Warnung: JSON-Parser-Fehler."
250
+
251
+ #: lib/wfu_constants.php:90
252
+ msgid ""
253
+ "Upload parameters of this file, passed as JSON string to the handler, could "
254
+ "not be parsed."
255
+ msgstr ""
256
+ "Upload-Parameter dieser Datei, übergeben als als JSON String an den Handler, "
257
+ "konnte nicht analysiert werden."
258
+
259
+ #: lib/wfu_constants.php:92
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:93
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:94
274
+ msgid ""
275
+ "Redirection to classic form functionality occurred because AJAX is not "
276
+ "supported."
277
+ msgstr ""
278
+ "Bei der Umleitung auf die klassische Formular-Funktionalität ist ein Fehler "
279
+ "aufgetreten, weil AJAX nicht unterstützt wird."
280
+
281
+ #: lib/wfu_constants.php:95
282
+ msgid ""
283
+ "Redirection to classic form functionality occurred because HTML5 is not "
284
+ "supported."
285
+ msgstr ""
286
+ "Bei der Umleitung zu klassischen Formular-Funktionalität ist ein Fehler "
287
+ "aufgetreten, da HTML5 nicht unterstützt wird."
288
+
289
+ #: lib/wfu_constants.php:96
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:97
297
+ msgid "cannot be empty!"
298
+ msgstr "darf nicht leer sein!"
299
+
300
+ #: lib/wfu_constants.php:98
301
+ msgid ""
302
+ "There are more than one instances of the plugin in this page with the same "
303
+ "id. Please change it."
304
+ msgstr ""
305
+ "Es gibt mehrere Instanzen des Plugins auf dieser Seite mit der gleichen ID. "
306
+ "Bitte ändern Sie dies."
307
+
308
+ #: lib/wfu_constants.php:99
309
+ msgid ""
310
+ "Cannot edit the shortcode because the page has been modified. Please reload "
311
+ "the page."
312
+ msgstr ""
313
+ "Der Shortcode kann nicht bearbeitet werden, da die Seite geändert wurde. "
314
+ "Laden Sie die Seite erneut."
315
+
316
+ #: lib/wfu_constants.php:102
317
+ msgid "Upload skipped! File already exists."
318
+ msgstr "Hochladen abgebrochen! Datei ist bereits vorhanden."
319
+
320
+ #: lib/wfu_constants.php:103
321
+ msgid "No files have been selected!"
322
+ msgstr "Keine Dateien ausgewählt!"
323
+
324
+ #: lib/wfu_constants.php:104
325
+ msgid "WPFilebase Plugin not updated because there were no files uploaded."
326
+ msgstr ""
327
+ "WPFilebase Plugin konnte nicht aktualisiert werden, da keine Dateien "
328
+ "hochgeladen wurden."
329
+
330
+ #: lib/wfu_constants.php:105
331
+ msgid "Notification email was not sent because there were no files uploaded."
332
+ msgstr ""
333
+ "Benachrichtigung per E-Mail wurde nicht gesendet, weil keine Dateien "
334
+ "hochgeladen worden sind."
335
+
336
+ #: lib/wfu_constants.php:106
337
+ msgid ""
338
+ "Notification email was not sent because no recipients were defined. Please "
339
+ "check notifyrecipients attribute in the shortcode."
340
+ msgstr ""
341
+ "Benachrichtigung per E-Mail wurde nicht gesendet, da keine Empfänger "
342
+ "definiert wurde. Bitte überprüfen Sie das notifyrecipients-Attribut im "
343
+ "Shortcode."
344
+
345
+ #: lib/wfu_constants.php:107
346
+ msgid ""
347
+ "Notification email was not sent due to an error. Please check "
348
+ "notifyrecipients, notifysubject and notifymessage attributes for errors."
349
+ msgstr ""
350
+ "E-Mail-Benachrichtigung wurde wegen eines Fehlers nicht gesendet. Bitte "
351
+ "überprüfen Sie das notifysubject und das notifymessage Attribut auf Fehler."
352
+
353
+ #: lib/wfu_constants.php:108
354
+ msgid ""
355
+ "Redirection not executed because redirection link is empty. Please check "
356
+ "redirectlink attribute."
357
+ msgstr ""
358
+ "Umleitung nicht ausgeführt, da der Umleitungs-Link leer ist. Bitte "
359
+ "überprüfen Sie das redirectlink Attribut."
360
+
361
+ #: lib/wfu_constants.php:109
362
+ msgid ""
363
+ "Redirection not executed because not all files were successfully uploaded."
364
+ msgstr ""
365
+ "Umleitung nicht ausgeführt, da nicht alle Dateien erfolgreich hochgeladen "
366
+ "wurden."
367
+
368
+ #: lib/wfu_constants.php:112
369
+ msgid "Test Mode"
370
+ msgstr "Test Modus"
371
+
372
+ #: lib/wfu_constants.php:113
373
+ msgid "select dir..."
374
+ msgstr "Wählen Sie das Verzeichnis ..."
375
+
376
+ #: lib/wfu_constants.php:114
377
+ msgid "type dir"
378
+ msgstr "Geben Sie das Verzeichnis ein"
379
+
380
+ #: lib/wfu_constants.php:115
381
+ msgid "Upload path: %filepath%"
382
+ msgstr "Upload-Pfad: %filepath%"
383
+
384
+ #: lib/wfu_constants.php:116
385
+ msgid "Failed upload path: %filepath%"
386
+ msgstr "Fehlerhafter Upload-Pfad: %filepath%"
387
+
388
+ #: lib/wfu_constants.php:117
389
+ msgid " (required)"
390
+ msgstr "(erforderlich)"
391
+
392
+ #: lib/wfu_constants.php:118
393
+ msgid "Files are being uploaded. Are you sure you want to exit the page?"
394
+ msgstr ""
395
+ "Dateien werden hochgeladen wird. Sind Sie sicher, dass Sie die Seite "
396
+ "verlassen wollen?"
397
+
398
+ #: lib/wfu_constants.php:121
399
+ msgid "This is a test message"
400
+ msgstr "This is a test message"
401
+
402
+ #: lib/wfu_constants.php:122
403
+ msgid "This is a test administrator message"
404
+ msgstr "Dies ist eine Test-Admin-Nachricht"
405
+
406
+ #: lib/wfu_constants.php:123
407
+ msgid "File testfile 1 under test"
408
+ msgstr "Datei testfile 1 wird getestet"
409
+
410
+ #: lib/wfu_constants.php:124
411
+ msgid "File testfile 1 message"
412
+ msgstr "Datei testfile 1 Nachricht"
413
+
414
+ #: lib/wfu_constants.php:125
415
+ msgid "File testfile 1 administrator message"
416
+ msgstr "Datei testfile 1 Admin-Nachricht"
417
+
418
+ #: lib/wfu_constants.php:126
419
+ msgid "File testfile 2 under test"
420
+ msgstr "File testfile 2 wird getestet"
421
+
422
+ #: lib/wfu_constants.php:127
423
+ msgid "File testfile 2 message"
424
+ msgstr "Datei testfile 2 Nachricht"
425
+
426
+ #: lib/wfu_constants.php:128
427
+ msgid "File testfile 2 administrator message"
428
+ msgstr "Datei testfile 2 Admin-Nachricht"
429
+
430
+ #: lib/wfu_constants.php:131
431
+ msgid ""
432
+ "Failed to edit the shortcode because the contents of the page changed. Try "
433
+ "again to edit the shortcode."
434
+ msgstr ""
435
+ "Der Shortcode konnte nicht bearbeitet, da sich der Inhalt der Seite geändert "
436
+ "hat. Versuchen Sie erneut den Shortcode zu bearbeiten."
437
+
438
+ #: lib/wfu_constants.php:132
439
+ msgid ""
440
+ "Failed to delete the shortcode because the contents of the page changed. Try "
441
+ "again to delete it."
442
+ msgstr ""
443
+ "Der Shortcode konnte nicht gelöscht werden, da sich der Inhalt der Seite "
444
+ "geändert hat. Versuchen Sie erneut den Shortcode zu löschen."
445
+
446
+ #: lib/wfu_constants.php:133
447
+ msgid ""
448
+ "The page containing the shortcode has been modified and it is no longer "
449
+ "valid. Please go back to reload the shortcode."
450
+ msgstr ""
451
+ "Die Seite mit dem Shortcode wurde modifiziert und ist nicht mehr gültig. "
452
+ "Bitte gehen Sie zurück um zu den Shortcode zu laden."
453
+
454
+ #: lib/wfu_constants.php:134
455
+ msgid ""
456
+ "Failed to update the shortcode because the contents of the page changed. Go "
457
+ "back to reload the shortcode."
458
+ msgstr ""
459
+ "Der Shortcode konnte nicht aktualisiert werden, da sich der Inhalt der Seite "
460
+ "geändert geändert hat. Gehen Sie zurück um zu den Shortcode neu zu laden."
461
+
462
+ #: lib/wfu_constants.php:135
463
+ msgid ""
464
+ "Failed to update the shortcode. Please try again. If the problem persists, "
465
+ "go back and reload the shortcode."
466
+ msgstr ""
467
+ "Fehler beim Aktualisieren des Schortcodes. Bitte versuchen Sie es erneut. "
468
+ "Wenn das Problem weiterhin besteht, gehen Sie zurück und laden Sie den "
469
+ "Shortcode neu."
470
+
471
+ #: lib/wfu_constants.php:138
472
+ msgid ""
473
+ "Insert variable %userid% inside text. It will be replaced by the id of the "
474
+ "current user."
475
+ msgstr ""
476
+ "Fügen Sie die Variable %userid% in den Text ein. Sie wird durch die ID des "
477
+ "aktuellen Benutzers ersetzt."
478
+
479
+ #: lib/wfu_constants.php:139
480
+ msgid ""
481
+ "Insert variable %username% inside text. It will be replaced by the username "
482
+ "of the current user."
483
+ msgstr ""
484
+ "Fügen Sie die Variable %username% in den Text ein. Sie wird durch den "
485
+ "Benutzernamen des aktuellen Benutzers ersetzt."
486
+
487
+ #: lib/wfu_constants.php:140
488
+ msgid ""
489
+ "Insert variable %useremail% inside text. It will be replaced by the email of "
490
+ "the current user."
491
+ msgstr ""
492
+ "Fügen Sie die Variable %useremail% in den Text ein. Sie wird durch die E-"
493
+ "Mail-Adresse des aktuellen Benutzers ersetzt."
494
+
495
+ #: lib/wfu_constants.php:141
496
+ msgid ""
497
+ "Insert variable %filename% inside text. It will be replaced by the filename "
498
+ "of the uploaded file."
499
+ msgstr ""
500
+ "Fügen Sie die Variable %filename% in den Text. Sie wird durch den Dateinamen "
501
+ "der hochgeladenen Dateien ersetzt."
502
+
503
+ #: lib/wfu_constants.php:142
504
+ msgid ""
505
+ "Insert variable %filepath% inside text. It will be replaced by the full "
506
+ "filepath of the uploaded file."
507
+ msgstr ""
508
+ "Fügen Sie die Variable %filepath% in den Text ein. Sie wird durch die "
509
+ "vollständige Dateipfad der hochgeladenen Dateien ersetzt."
510
+
511
+ #: lib/wfu_constants.php:143
512
+ msgid ""
513
+ "Insert variable %blogid% inside text. It will be replaced by the blog id of "
514
+ "the website."
515
+ msgstr ""
516
+ "Fügen Sie die Variable %blogid% in den Text ein. Sie wird durch die Blog-ID "
517
+ "der Website ersetzt werden."
518
+
519
+ #: lib/wfu_constants.php:144
520
+ msgid ""
521
+ "Insert variable %pageid% inside text. It will be replaced by the id of the "
522
+ "current page."
523
+ msgstr ""
524
+ "Fügen Sie die Variable %pageid% in den Text ein. Sie wird durch die ID der "
525
+ "aktuellen Seite ersetzt."
526
+
527
+ #: lib/wfu_constants.php:145
528
+ msgid ""
529
+ "Insert variable %pagetitle% inside text. It will be replaced by the title of "
530
+ "the current page."
531
+ msgstr ""
532
+ "Fügen Sie die Variable %pagetitle% in den Text ein. Sie wird durch dden "
533
+ "Title des aktuellen Benutzers ersetzt."
534
+
535
+ #: lib/wfu_constants.php:146
536
+ msgid ""
537
+ "Insert variable %userdataXXX% inside text. Select the user field from the "
538
+ "drop-down list. It will be replaced by the value that the user entered in "
539
+ "this field."
540
+ msgstr ""
541
+ "Fügen Sie die Variable %userdataXXX% in den Text einfügen. Wählen Sie das "
542
+ "Feld \"Benutzer\" aus der Dropdown Liste. Die Variable wird durch den Wert "
543
+ "ersetzt, die der Benutzer in dieses Feld eingetragen hat."
544
+
545
+ #: lib/wfu_constants.php:147
546
+ msgid "Insert variable %n% inside text to denote a line change."
547
+ msgstr ""
548
+ "Fügen Sie die Variable %n% in den Text ein, um eine Änderung der Zeile zu "
549
+ "kennzeichnen."
550
+
551
+ #: lib/wfu_constants.php:150
552
+ msgid "Upload in progress"
553
+ msgstr "Upload läuft"
554
+
555
+ #: lib/wfu_constants.php:151
556
+ msgid "Upload in progress with warnings!"
557
+ msgstr "Upload läuft mit Warnhinweisen!"
558
+
559
+ #: lib/wfu_constants.php:152
560
+ msgid "Upload in progress but some files already failed!"
561
+ msgstr "Upload läuft, aber einige Dateien bereits gescheitert!"
562
+
563
+ #: lib/wfu_constants.php:153
564
+ msgid "Upload in progress but no files uploaded so far!"
565
+ msgstr "Upload läuft aber keine Dateien hochgeladen bis jetzt!"
566
+
567
+ #: lib/wfu_constants.php:154
568
+ msgid "All files uploaded successfully"
569
+ msgstr "Alle Dateien erfolgreich hochgeladen"
570
+
571
+ #: lib/wfu_constants.php:155
572
+ msgid "All files uploaded successfully but there are warnings!"
573
+ msgstr "Alle Dateien erfolgreich hochgeladen, aber es gibt Warnhinweise!"
574
+
575
+ #: lib/wfu_constants.php:156
576
+ msgid "File uploaded successfully but there are warnings!"
577
+ msgstr "Datei erfolgreich hochgeladen, aber es gibt Warnhinweise!"
578
+
579
+ #: lib/wfu_constants.php:157
580
+ msgid "Some files failed to upload!"
581
+ msgstr "Einige Dateien konnten nicht hochgeladen werden!"
582
+
583
+ #: lib/wfu_constants.php:158
584
+ msgid "All files failed to upload"
585
+ msgstr "Alle Dateien konnten nicht hochgeladen werden"
586
+
587
+ #: lib/wfu_constants.php:159
588
+ msgid "File failed to upload"
589
+ msgstr "Datei konnte nicht hochgeladen werden"
590
+
591
+ #: lib/wfu_constants.php:160
592
+ msgid "There are no files to upload!"
593
+ msgstr "Es gibt keine Dateien zum Hochladen!"
594
+
595
+ #: lib/wfu_constants.php:161
596
+ msgid "Test upload message"
597
+ msgstr "Test-Upload-Nachricht"
598
+
599
+ #: lib/wfu_constants.php:162
600
+ msgid "JSON parse warning!"
601
+ msgstr "JSON parse Warnung!"
602
+
603
+ #: lib/wfu_constants.php:163
604
+ msgid "please wait while redirecting..."
605
+ msgstr "Bitte warten Sie, Sie werden umgeleitet ..."
606
+
607
+ #: lib/wfu_constants.php:164
608
+ msgid "Open visual shortcode editor in new window"
609
+ msgstr "Offenen des visuellen Shortcode-Editor in neuem Fenster"
610
+
611
+ #: lib/wfu_constants.php:165
612
+ msgid "loading visual editor"
613
+ msgstr "visueller Editor laden"
614
+
615
+ #~ msgid "Select File/Select Files"
616
+ #~ msgstr "Wählen Sie Datei/Dateien Auswählen"
617
+
618
+ #~ msgid "Upload File/Upload Files"
619
+ #~ msgstr "Datei Hochladen/Dateien Hochladen"
620
+
621
+ #~ msgid "Please fill in the above words: "
622
+ #~ msgstr "Bitte füllen Sie die Worte oben: "
623
+
624
+ #~ msgid ""
625
+ #~ "ERROR: Captcha not supported! You have an old PHP version. Upgrade your "
626
+ #~ "PHP or use RecaptchaV2 (no account)."
627
+ #~ msgstr ""
628
+ #~ "Fehler: Captcha nicht unterstützt! Sie haben eine alte PHP-Version. "
629
+ #~ "Aktualisieren Sie Ihr PHP oder RecaptchaV2 verwenden (kein Konto)."
630
+
631
+ #~ msgid "ERROR: No site key. Please contact administrator!"
632
+ #~ msgstr "ERROR: Keine Website-Taste. Bitte kontaktieren Sie Administrator!"
633
+
634
+ #~ msgid ""
635
+ #~ "ERROR: No site key defined! Please go to the plugin settings in Dashboard "
636
+ #~ "to define Google Recaptcha keys."
637
+ #~ msgstr ""
638
+ #~ "Fehler: nicht vorhanden Website Schlüssel definiert! Bitte gehen Sie auf "
639
+ #~ "die Plugin-Einstellungen im Dashboard, um Google Recaptcha Schlüssel "
640
+ #~ "definieren."
641
+
642
+ #~ msgid "Bad captcha image!"
643
+ #~ msgstr "Schlechten Captcha-Bild!"
644
+
645
+ #~ msgid "No input!"
646
+ #~ msgstr "Keine Eingabe!"
647
+
648
+ #~ msgid "Captcha not completed!"
649
+ #~ msgstr "Captcha nicht abgeschlossen!"
650
+
651
+ #~ msgid "Wrong captcha!"
652
+ #~ msgstr "Falsche Captcha!"
653
+
654
+ #~ msgid "Error refreshing captcha!"
655
+ #~ msgstr "Fehler erfrischenden captcha!"
656
+
657
+ #~ msgid "Unknown captcha error!"
658
+ #~ msgstr "Captcha unbekannter Fehler"
659
+
660
+ #~ msgid "Captcha not supported by your browser!"
661
+ #~ msgstr "Captcha von Ihrem Browser nicht unterstützt!"
662
+
663
+ #~ msgid "the secret parameter is missing"
664
+ #~ msgstr "das Geheimnis Parameter fehlt"
665
+
666
+ #~ msgid "the secret parameter is invalid or malformed"
667
+ #~ msgstr "das Geheimnis Parameter ist ungültig oder fehlerhaft"
668
+
669
+ #~ msgid "the response parameter is missing"
670
+ #~ msgstr "die Antwort Parameter fehlt"
671
+
672
+ #~ msgid "the response parameter is invalid or malformed"
673
+ #~ msgstr "die Antwort Parameter ist ungültig oder fehlerhaft"
674
+
675
+ #~ msgid "Please do not use drag drop due to an internal problem."
676
+ #~ msgstr ""
677
+ #~ "Bitte verwenden Sie keine Drag Drop aufgrund eines internen Problems."
678
+
679
+ #~ msgid "Error during chunked upload. Unique ID empty in chunk %d"
680
+ #~ msgstr "Fehler beim chunked Hochladen. Eindeutige ID leer in chunk %d"
681
+
682
+ #~ msgid "Chunked upload is not allowed!"
683
+ #~ msgstr "Chunked Hochladen ist nicht erlaubt!"
684
+
685
+ #~ msgid "Chunked upload aborted due to error in previous chunk!"
686
+ #~ msgstr ""
687
+ #~ "Chunked Hochladen aufgrund eines Fehlers in früheren chunk abgebrochen!"
688
+
689
+ #~ msgid "Chunked upload failed, final file could not be created!"
690
+ #~ msgstr ""
691
+ #~ "Chunked Hochladen fehlgeschlagen ist, konnte die letzte Datei nicht "
692
+ #~ "erstellt werden!"
693
+
694
+ #~ msgid "Could not write file chuck to destination on chunk %d"
695
+ #~ msgstr "Konnte Datei chuck bis zum Ziel nicht schreiben am chunk %d"
696
+
697
+ #~ msgid "Could not enlarge destination file on chunk %d"
698
+ #~ msgstr "Datei konnte nicht vergrößern am chunk %d"
699
+
700
+ #~ msgid "Could not open file handles on chunk %d"
701
+ #~ msgstr "Dateihandles konnte nicht geöffnet werden am chunk %d"
702
+
703
+ #~ msgid "checking captcha..."
704
+ #~ msgstr "Prüfung captcha..."
705
+
706
+ #~ msgid "refreshing..."
707
+ #~ msgstr "erfrischend..."
708
+
709
+ #~ msgid "correct captcha"
710
+ #~ msgstr "korrekte captcha"
711
+
712
+ #~ msgid "click to continue the upload"
713
+ #~ msgstr "Klicken Sie, um das Hochladen fortsetzen"
714
+
715
+ #~ msgid "Clear file list?"
716
+ #~ msgstr "Klar Dateiliste?"
717
+
718
+ #~ msgid "DROP HERE"
719
+ #~ msgstr "HIER ABLEGEN"
languages/wordpress-file-upload-el_GR.mo ADDED
Binary file
languages/wordpress-file-upload-el_GR.po ADDED
@@ -0,0 +1,707 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Wordpress File Upload\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-06-22 02:03+0200\n"
6
+ "PO-Revision-Date: 2015-06-22 02:03+0200\n"
7
+ "Last-Translator: nickboss <info@iptanus.com>\n"
8
+ "Language-Team: Iptanus Team <info@iptanus.com>\n"
9
+ "Language: el\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Poedit-KeywordsList: __;gettext;gettext_noop\n"
14
+ "X-Poedit-Basepath: ../\n"
15
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "X-Generator: Poedit 1.7.5\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+ "X-Poedit-SearchPathExcluded-0: vendor\n"
19
+
20
+ #: lib/wfu_constants.php:7
21
+ msgid "Upload files"
22
+ msgstr "Αποστολή αρχείων"
23
+
24
+ #: lib/wfu_constants.php:8
25
+ msgid "Select File"
26
+ msgstr "Επιλογή Αρχείου"
27
+
28
+ #: lib/wfu_constants.php:9
29
+ msgid "Upload File"
30
+ msgstr "Αποστολή Αρχείου"
31
+
32
+ #: lib/wfu_constants.php:27
33
+ msgid "File Upload Notification"
34
+ msgstr "Ειδοποίηση Αποστολής Αρχείου"
35
+
36
+ #: lib/wfu_constants.php:28
37
+ msgid ""
38
+ "Dear Recipient,%n%%n% This is an automatic delivery message to notify you "
39
+ "that a new file has been uploaded.%n%%n%Best Regards"
40
+ msgstr ""
41
+ "Αγαπητέ Παραλήπτη,%n%%n% Αυτό είναι ένα αυτοματοποιημένο μήνυμα για να σας "
42
+ "ενημερώσει ότι απεστάλη ένα νέο αρχείο.%n%%n%Φιλικούς Χαιρετισμούς"
43
+
44
+ #: lib/wfu_constants.php:34
45
+ #, php-format
46
+ msgid "File %filename% uploaded successfully"
47
+ msgstr "Το αρχείο %filename% απεστάλη επιτυχώς"
48
+
49
+ #: lib/wfu_constants.php:35
50
+ #, php-format
51
+ msgid "File %filename% uploaded successfully but with warnings"
52
+ msgstr "Το αρχείο %filename% απεστάλη επιτυχώς αλλά με προειδοποιήσεις"
53
+
54
+ #: lib/wfu_constants.php:36
55
+ msgid "File %filename% not uploaded"
56
+ msgstr "Το αρχείο %filename% δεν απεστάλη"
57
+
58
+ #: lib/wfu_constants.php:37
59
+ msgid "File %filename% is being uploaded"
60
+ msgstr "Το αρχείο %filename% αποστέλλεται"
61
+
62
+ #: lib/wfu_constants.php:55
63
+ msgid "Your message"
64
+ msgstr "Το μήνυμά σας"
65
+
66
+ #: lib/wfu_constants.php:60
67
+ msgid ""
68
+ "Error. Could not resolve ftp target filedir. Check the domain in 'ftpinfo' "
69
+ "attribute."
70
+ msgstr ""
71
+ "Σφάλμα. Δεν ήταν δυνατή η επίλυση του καταλόγου προορισμού ftp. Ελέγξτε το "
72
+ "domain στην ιδιότητα 'ftpinfo'."
73
+
74
+ #: lib/wfu_constants.php:61
75
+ msgid "Error. Invalid ftp information. Check 'ftpinfo' attribute."
76
+ msgstr "Σφάλμα. Μη έγκυρες πληροφορίες ftp. Ελέγξτε την ιδιότητα 'ftpinfo'."
77
+
78
+ #: lib/wfu_constants.php:62
79
+ msgid ""
80
+ "Error. Could not extract ftp information from 'ftpinfo' attribute. Check its "
81
+ "syntax."
82
+ msgstr ""
83
+ "Σφάλμα. Δεν ήταν δυνατή η εξαγωγή πληροφοριών ftp από την ιδιότητα "
84
+ "'ftpinfo'. Ελέγξτε τη σύνταξή της."
85
+
86
+ #: lib/wfu_constants.php:63
87
+ msgid ""
88
+ "Error. Could not resolve ftp target filename. Check the domain in 'ftpinfo' "
89
+ "attribute."
90
+ msgstr ""
91
+ "Σφάλμα. Δεν ήταν δυνατή η επίλυση του ονόματος αρχείου προορισμού ftp. "
92
+ "Ελέγξτε το domain στην ιδιότητα 'ftpinfo'."
93
+
94
+ #: lib/wfu_constants.php:64
95
+ msgid ""
96
+ "Error. The upload size limit of PHP directive upload_max_filesize is "
97
+ "preventing the upload of big files.\n"
98
+ "PHP directive upload_max_filesize limit is: "
99
+ msgstr ""
100
+ "Σφάλμα. Το όριο μεγέθους αρχείου της PHP ιδιότητας upload_max_filesize "
101
+ "εμποδίζει την αποστολή μεγάλων αρχείων.\n"
102
+ "Το όριο της PHP ιδιότητας upload_max_filesize είναι:"
103
+
104
+ #: lib/wfu_constants.php:65
105
+ msgid ""
106
+ "The upload time limit of PHP directive max_input_time is preventing the "
107
+ "upload of big files.\n"
108
+ "PHP directive max_input_time limit is: "
109
+ msgstr ""
110
+ "Σφάλμα. Το όριο χρόνου αποστολής αρχείου της PHP ιδιότητας max_input_time "
111
+ "εμποδίζει την αποστολή μεγάλων αρχείων.\n"
112
+ "Το όριο της PHP ιδιότητας max_input_time είναι:"
113
+
114
+ #: lib/wfu_constants.php:66
115
+ msgid ""
116
+ "Error. Permission denied to write to target folder.\n"
117
+ "Check and correct read/write permissions of target folder."
118
+ msgstr ""
119
+ "Σφάλμα. Δεν επιτρέπεται η εγραφή στο φάκελο προορισμού.\n"
120
+ "Ελέγξτε και διορθώστε τα δικαιώματα ανάγνωσης/εγγραφής στο φάκελο προορισμού."
121
+
122
+ #: lib/wfu_constants.php:67
123
+ msgid "Targer folder doesn't exist."
124
+ msgstr "Ο φάκελος προορισμού δεν υπάρχει."
125
+
126
+ #: lib/wfu_constants.php:68
127
+ msgid "Upload failed! Missing a temporary folder."
128
+ msgstr "Η αποστολή απέτυχε! Λείπει ο προσωρινός φάκελος."
129
+
130
+ #: lib/wfu_constants.php:69
131
+ msgid "Upload failed! Permission denied to write to target folder."
132
+ msgstr "Η αποστολή απέτυχε! Δεν επιτρέπεται η εγγραφή στο φάκελο προορισμού."
133
+
134
+ #: lib/wfu_constants.php:70
135
+ msgid "File not allowed."
136
+ msgstr "Το αρχείο δεν επιτρέπεται."
137
+
138
+ #: lib/wfu_constants.php:71
139
+ msgid "The uploaded file exceeds the file size limit."
140
+ msgstr "Το αποστελλόμενο αρχείο υπερβαίνει το όριο μεγέθους αρχείου."
141
+
142
+ #: lib/wfu_constants.php:72
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:73
149
+ msgid ""
150
+ "Upload failed! The uploaded file exceeds the file size limit of the server. "
151
+ "Please contact the administrator."
152
+ msgstr ""
153
+ "Η αποστολή απέτυχε! Το αποστελλόμενο αρχείο υπερβαίνει το όριο μεγέθους "
154
+ "αρχείου του server. Παρακαλούμε επικοινωνήστε με το διαχειριστή."
155
+
156
+ #: lib/wfu_constants.php:74
157
+ msgid ""
158
+ "Upload failed! The duration of the upload exceeded the time limit of the "
159
+ "server. Please contact the administrator."
160
+ msgstr ""
161
+ "Η αποστολή απέτυχε! Η διάρκεια αποστολής υπερέβη το όριο χρόνου του server. "
162
+ "Παρακαλούμε επικοινωνήστε με το διαχειριστή."
163
+
164
+ #: lib/wfu_constants.php:75
165
+ msgid ""
166
+ "Upload failed! The uploaded file exceeds the MAX_FILE_SIZE directive that "
167
+ "was specified in the HTML form."
168
+ msgstr ""
169
+ "Η αποστολή απέτυχε! Το αποστελλόμενο αρχείο υπερβαίνει την ιδιότητα "
170
+ "MAX_FILE_SIZE που ορίστηκε στη φόρμα HTML."
171
+
172
+ #: lib/wfu_constants.php:76
173
+ msgid "Upload failed! The uploaded file was only partially uploaded."
174
+ msgstr "Η αποστολή απέτυχε: Το αποστελλόμενο αρχείο απεστάλλη μερικώς."
175
+
176
+ #: lib/wfu_constants.php:77
177
+ msgid "Upload failed! No file was uploaded."
178
+ msgstr "Η αποστολή απέτυχε. Κανένα αρχείο δεν απεστάλη."
179
+
180
+ #: lib/wfu_constants.php:78
181
+ msgid "Upload failed! Failed to write file to disk."
182
+ msgstr "Η αποστολή απέτυχε. Δεν κατέστη δυνατή η εγγραφή στο δίσκο."
183
+
184
+ #: lib/wfu_constants.php:79
185
+ msgid ""
186
+ "Upload failed! Error occured while moving temporary file. Please contact "
187
+ "administrator."
188
+ msgstr ""
189
+ "Η αποστολή απέτυχε! Ένα σφάλμα συνέβη κατά τη μετακίνηση του προσωρινού "
190
+ "αρχείου. Παρακαλούμε επικοινωνήστε με το διαχειριστή."
191
+
192
+ #: lib/wfu_constants.php:80
193
+ msgid ""
194
+ "Upload failed! A PHP extension stopped the file upload. PHP does not provide "
195
+ "a way to ascertain which extension caused the file upload to stop; examining "
196
+ "the list of loaded extensions with phpinfo() may help."
197
+ msgstr ""
198
+ "Η αποστολή απέτυχε: Μία επέκταση PHP σταμάτησε την αποστολή. Η PHP δεν "
199
+ "παρέχει τρόπο εντοπισμού της επέκτασης που προκάλεσε τη διακοπή, ίσως η "
200
+ "εξέταση της λίστας των επεκτάσεων που έχουν φορτωθεί με την phpinfo() να "
201
+ "βοηθήσει."
202
+
203
+ #: lib/wfu_constants.php:81
204
+ msgid "Upload failed! Error occured while attemting to upload the file."
205
+ msgstr ""
206
+ "Η αποστολή απέτυχε! Συνέβη κάποιο σφάλμα κατά την αποστολή του αρχείου."
207
+
208
+ #: lib/wfu_constants.php:82
209
+ msgid "Upload failed!"
210
+ msgstr "Η αποστολή απέτυχε!"
211
+
212
+ #: lib/wfu_constants.php:83
213
+ msgid "No file!"
214
+ msgstr "Κανένα αρχείο!"
215
+
216
+ #: lib/wfu_constants.php:84
217
+ msgid ""
218
+ "Upload failed! The upload has been canceled by the user or the browser "
219
+ "dropped the connection."
220
+ msgstr ""
221
+ "Η αποστολή απέτυχε! Είτε η αποστολή ακυρώθηκε από το χρήστη ή ο browser "
222
+ "έχασε τη σύνδεση."
223
+
224
+ #: lib/wfu_constants.php:85
225
+ msgid "Upload failed! Unknown error."
226
+ msgstr "Η αποστολή απέτυχε! Άγνωστο σφάλμα."
227
+
228
+ #: lib/wfu_constants.php:86
229
+ msgid "Please contact the administrator."
230
+ msgstr "Παρακαλούμε επικοινωνήστε με το διαχειριστή."
231
+
232
+ #: lib/wfu_constants.php:87
233
+ msgid "No result from remote server!"
234
+ msgstr "Καμία απάντηση από τον απομακρυσμένο server!"
235
+
236
+ #: lib/wfu_constants.php:88
237
+ msgid " but with warnings"
238
+ msgstr " αλλά με προειδοποιήσεις"
239
+
240
+ #: lib/wfu_constants.php:89 lib/wfu_constants.php:91
241
+ msgid "Warning: JSON parse error."
242
+ msgstr "Προειδοποίηση: Σφάλμα μετατροπής JSON."
243
+
244
+ #: lib/wfu_constants.php:90
245
+ msgid ""
246
+ "Upload parameters of this file, passed as JSON string to the handler, could "
247
+ "not be parsed."
248
+ msgstr ""
249
+ "Οι παράμετροι αποστολής αυτού του αρχείου, οι οποίες πέρασαν στο χειριστή ως "
250
+ "συμβολοσειρά JSON, δεν μπόρεσαν να μετατραπούν."
251
+
252
+ #: lib/wfu_constants.php:92
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:93
260
+ msgid ""
261
+ "Redirection to classic form functionality occurred due to unknown error."
262
+ msgstr "Προκλήθηκε μετάπτωση σε λειτουργία κλασικής φόρμας λόγω σφάλματος."
263
+
264
+ #: lib/wfu_constants.php:94
265
+ msgid ""
266
+ "Redirection to classic form functionality occurred because AJAX is not "
267
+ "supported."
268
+ msgstr ""
269
+ "Προκλήθηκε μετάπτωση σε λειτουργία κλασικής φόρμας διότι δεν υποστηρίζεται η "
270
+ "AJAX."
271
+
272
+ #: lib/wfu_constants.php:95
273
+ msgid ""
274
+ "Redirection to classic form functionality occurred because HTML5 is not "
275
+ "supported."
276
+ msgstr ""
277
+ "Προκλήθηκε μετάπτωση σε λειτουργία κλασικής φόρμας διότι δεν υποστηρίζεται η "
278
+ "HTML5."
279
+
280
+ #: lib/wfu_constants.php:96
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:97
288
+ msgid "cannot be empty!"
289
+ msgstr "δεν μπορεί να είναι κενό!"
290
+
291
+ #: lib/wfu_constants.php:98
292
+ msgid ""
293
+ "There are more than one instances of the plugin in this page with the same "
294
+ "id. Please change it."
295
+ msgstr ""
296
+ "Υπάρχουν περισσότερες από μία εμφανίσεις του plugin σε αυτή τη σελίδα με το "
297
+ "ίδιο id. Παρακαλούμε να το αλλάξετε."
298
+
299
+ #: lib/wfu_constants.php:99
300
+ msgid ""
301
+ "Cannot edit the shortcode because the page has been modified. Please reload "
302
+ "the page."
303
+ msgstr ""
304
+ "Δεν είναι δυνατή η επεξεργασία του shortcode διότι η σελίδα τροποποιήθηκε. "
305
+ "Παρακαλούμε ξαναφορτώστε τη σελίδα."
306
+
307
+ #: lib/wfu_constants.php:102
308
+ msgid "Upload skipped! File already exists."
309
+ msgstr "Η αποστολή παραβλέφθηκε! Το αρχείο υπάρχει ήδη."
310
+
311
+ #: lib/wfu_constants.php:103
312
+ msgid "No files have been selected!"
313
+ msgstr "Δεν επιλέχθηκαν αρχεία!"
314
+
315
+ #: lib/wfu_constants.php:104
316
+ msgid "WPFilebase Plugin not updated because there were no files uploaded."
317
+ msgstr "Το plugin WPFilebase δεν ενημερώθηκε διότι δεν απεστάλη κανένα αρχείο."
318
+
319
+ #: lib/wfu_constants.php:105
320
+ msgid "Notification email was not sent because there were no files uploaded."
321
+ msgstr ""
322
+ "Δεν πραγματοποιήθηκε ειδοποίηση με email διότι δεν απεστάλη κανένα αρχείο."
323
+
324
+ #: lib/wfu_constants.php:106
325
+ msgid ""
326
+ "Notification email was not sent because no recipients were defined. Please "
327
+ "check notifyrecipients attribute in the shortcode."
328
+ msgstr ""
329
+ "Δεν πραγματοποιήθηκε ειδοποίηση με email διότι δεν ορίστηκαν παραλήπτες. "
330
+ "Παρακαλούμε ελέγξτε την ιδιότητα notifyrecipients στο shortcode."
331
+
332
+ #: lib/wfu_constants.php:107
333
+ msgid ""
334
+ "Notification email was not sent due to an error. Please check "
335
+ "notifyrecipients, notifysubject and notifymessage attributes for errors."
336
+ msgstr ""
337
+ "Δεν πραγματοποιήθηκε ειδοποίηση με email λόγω σφάλματος. Παρακαλούμε ελέγξτε "
338
+ "τις ιδιότητες notifyrecipients, notifysubject και notifymessage για σφάλματα."
339
+
340
+ #: lib/wfu_constants.php:108
341
+ msgid ""
342
+ "Redirection not executed because redirection link is empty. Please check "
343
+ "redirectlink attribute."
344
+ msgstr ""
345
+ "Δεν πραγματοποιήθηκε αναδρομολόγηση διότι ο σύνδεσμος αναδρομολόγησης είναι "
346
+ "κενός. Παρακαλούμε ελέγξτε την ιδιότητα redirectlink."
347
+
348
+ #: lib/wfu_constants.php:109
349
+ msgid ""
350
+ "Redirection not executed because not all files were successfully uploaded."
351
+ msgstr ""
352
+ "Δεν πραγματοποιήθηκε αναδρομολόγηση διότι δεν αποεστάλησαν όλα τα αρχεία "
353
+ "επιτυχώς."
354
+
355
+ #: lib/wfu_constants.php:112
356
+ msgid "Test Mode"
357
+ msgstr "Κατάσταση Ελέγχου"
358
+
359
+ #: lib/wfu_constants.php:113
360
+ msgid "select dir..."
361
+ msgstr "επιλογή καταλόγου..."
362
+
363
+ #: lib/wfu_constants.php:114
364
+ msgid "type dir"
365
+ msgstr "εισάγετε κατάλογο"
366
+
367
+ #: lib/wfu_constants.php:115
368
+ msgid "Upload path: %filepath%"
369
+ msgstr "Διαδρομή προορισμού: %filepath%"
370
+
371
+ #: lib/wfu_constants.php:116
372
+ msgid "Failed upload path: %filepath%"
373
+ msgstr "Εσφαλμένη διαδρομή προορισμού: %filepath%"
374
+
375
+ #: lib/wfu_constants.php:117
376
+ msgid " (required)"
377
+ msgstr " (απαραίτητο)"
378
+
379
+ #: lib/wfu_constants.php:118
380
+ msgid "Files are being uploaded. Are you sure you want to exit the page?"
381
+ msgstr ""
382
+ "Υπάρχουν αρχεία που αποστέλλονται. Σίγουρα θέλετε να φύγετε από τη σελίδα;"
383
+
384
+ #: lib/wfu_constants.php:121
385
+ msgid "This is a test message"
386
+ msgstr "Αυτό είναι ένα μήνυμα ελέγχου"
387
+
388
+ #: lib/wfu_constants.php:122
389
+ msgid "This is a test administrator message"
390
+ msgstr "Αυτό είναι ένα μήνυμα διαχειριστή ελέγχου"
391
+
392
+ #: lib/wfu_constants.php:123
393
+ msgid "File testfile 1 under test"
394
+ msgstr "Αρχείο testfile 1 υπό έλεγχο"
395
+
396
+ #: lib/wfu_constants.php:124
397
+ msgid "File testfile 1 message"
398
+ msgstr "Μήνυμα αρχείου testfile 1"
399
+
400
+ #: lib/wfu_constants.php:125
401
+ msgid "File testfile 1 administrator message"
402
+ msgstr "Μήνυμα διαχειριστή αρχείου testfile 1"
403
+
404
+ #: lib/wfu_constants.php:126
405
+ msgid "File testfile 2 under test"
406
+ msgstr "Αρχείο testfile 2 υπό έλεγχο"
407
+
408
+ #: lib/wfu_constants.php:127
409
+ msgid "File testfile 2 message"
410
+ msgstr "Μήνυμα αρχείου testfile 2"
411
+
412
+ #: lib/wfu_constants.php:128
413
+ msgid "File testfile 2 administrator message"
414
+ msgstr "Μήνυμα διαχειριστή αρχείου testfile 2"
415
+
416
+ #: lib/wfu_constants.php:131
417
+ msgid ""
418
+ "Failed to edit the shortcode because the contents of the page changed. Try "
419
+ "again to edit the shortcode."
420
+ msgstr ""
421
+ "Δεν ήταν δυνατή η επεξεργασία του shortcode διότι τα περιεχόμενα της σελίδας "
422
+ "άλλαξαν. Παρακαλούμε δοκιμάστε ξανά να επεξεργαστείτε το shortcode."
423
+
424
+ #: lib/wfu_constants.php:132
425
+ msgid ""
426
+ "Failed to delete the shortcode because the contents of the page changed. Try "
427
+ "again to delete it."
428
+ msgstr ""
429
+ "Δεν ήταν δυνατή η διαγραφή του shortcode διότι τα περιεχόμενα της σελίδας "
430
+ "άλλαξαν. Παρακαλούμε δοκιμάστε ξανά να διαγράψετε το shortcode."
431
+
432
+ #: lib/wfu_constants.php:133
433
+ msgid ""
434
+ "The page containing the shortcode has been modified and it is no longer "
435
+ "valid. Please go back to reload the shortcode."
436
+ msgstr ""
437
+ "Η σελίδα που περιέχει το shortcode τροποποιήθηκε και δεν είναι πλέον σε "
438
+ "ισχύ. Παρακαλούμε πηγαίνετε πίσω και ξαναφορτώστε το shortcode."
439
+
440
+ #: lib/wfu_constants.php:134
441
+ msgid ""
442
+ "Failed to update the shortcode because the contents of the page changed. Go "
443
+ "back to reload the shortcode."
444
+ msgstr ""
445
+ "Δεν ήταν δυνατή η ενημέρωση του shortcode διότι τα περιεχόμενα της σελίδας "
446
+ "άλλαξαν. Πηγαίνετε πίσω και ξαναφορτώστε το shortcode."
447
+
448
+ #: lib/wfu_constants.php:135
449
+ msgid ""
450
+ "Failed to update the shortcode. Please try again. If the problem persists, "
451
+ "go back and reload the shortcode."
452
+ msgstr ""
453
+ "Δεν ήταν δυνατή η ενημέρωση του shortcode. Παρακαλούμε ξαναδοκιμάστε. Αν το "
454
+ "πρόβλημα παραμείνει, πηγαίνετε πίσω και ξαναφορτώστε το shortcode."
455
+
456
+ #: lib/wfu_constants.php:138
457
+ msgid ""
458
+ "Insert variable %userid% inside text. It will be replaced by the id of the "
459
+ "current user."
460
+ msgstr ""
461
+ "Εισάγετε τη μεταβλητή %userid% στο κείμενο. Θα αντικατασταθεί από το id του "
462
+ "τρέχοντος χρήστη."
463
+
464
+ #: lib/wfu_constants.php:139
465
+ msgid ""
466
+ "Insert variable %username% inside text. It will be replaced by the username "
467
+ "of the current user."
468
+ msgstr ""
469
+ "Εισάγετε τη μεταβλητή %username% στο κείμενο. Θα αντικατασταθεί από το όνομα "
470
+ "του τρέχοντος χρήστη."
471
+
472
+ #: lib/wfu_constants.php:140
473
+ msgid ""
474
+ "Insert variable %useremail% inside text. It will be replaced by the email of "
475
+ "the current user."
476
+ msgstr ""
477
+ "Εισάγετε τη μεταβλητή %useremail% στο κείμενο. Θα αντικατασταθεί από το "
478
+ "email του τρέχοντος χρήστη."
479
+
480
+ #: lib/wfu_constants.php:141
481
+ msgid ""
482
+ "Insert variable %filename% inside text. It will be replaced by the filename "
483
+ "of the uploaded file."
484
+ msgstr ""
485
+ "Εισάγετε τη μεταβλητή %filename% στο κείμενο. Θα αντικατασταθεί από το όνομα "
486
+ "του αποστελλομένου αρχείου."
487
+
488
+ #: lib/wfu_constants.php:142
489
+ msgid ""
490
+ "Insert variable %filepath% inside text. It will be replaced by the full "
491
+ "filepath of the uploaded file."
492
+ msgstr ""
493
+ "Εισάγετε τη μεταβλητή %filepath% στο κείμενο. Θα αντικατασταθεί από την "
494
+ "πλήρη διαδρομή του αποστελλομένου αρχείου."
495
+
496
+ #: lib/wfu_constants.php:143
497
+ msgid ""
498
+ "Insert variable %blogid% inside text. It will be replaced by the blog id of "
499
+ "the website."
500
+ msgstr ""
501
+ "Εισάγετε τη μεταβλητή %blogid% στο κείμενο. Θα αντικατασταθεί από το blog id "
502
+ "της ιστοσελίδας."
503
+
504
+ #: lib/wfu_constants.php:144
505
+ msgid ""
506
+ "Insert variable %pageid% inside text. It will be replaced by the id of the "
507
+ "current page."
508
+ msgstr ""
509
+ "Εισάγετε τη μεταβλητή %pageid% στο κείμενο. Θα αντικατασταθεί από το id της "
510
+ "τρέχουσας σελίδας."
511
+
512
+ #: lib/wfu_constants.php:145
513
+ msgid ""
514
+ "Insert variable %pagetitle% inside text. It will be replaced by the title of "
515
+ "the current page."
516
+ msgstr ""
517
+ "Εισάγετε τη μεταβλητή %pagetitle% στο κείμενο. Θα αντικατασταθεί από τον "
518
+ "τίτλο της τρέχουσας σελίδας."
519
+
520
+ #: lib/wfu_constants.php:146
521
+ msgid ""
522
+ "Insert variable %userdataXXX% inside text. Select the user field from the "
523
+ "drop-down list. It will be replaced by the value that the user entered in "
524
+ "this field."
525
+ msgstr ""
526
+ "Εισάγετε τη μεταβλητή %userdataXXX% στο κείμενο. Επιλέξτε το πεδίο χρήστη "
527
+ "από την εμφανιζόμενη dropdown λίστα. Θα αντικατασταθεί από την τιμή που "
528
+ "εισήγαγε ο χρήστης σε αυτό το πεδίο."
529
+
530
+ #: lib/wfu_constants.php:147
531
+ msgid "Insert variable %n% inside text to denote a line change."
532
+ msgstr ""
533
+ "Εισάγετε τη μεταβλητή %n% στο κείμενο για να υποδείξετε αλλαγή γραμμής."
534
+
535
+ #: lib/wfu_constants.php:150
536
+ msgid "Upload in progress"
537
+ msgstr "Αποστολή σε εξέλιξη"
538
+
539
+ #: lib/wfu_constants.php:151
540
+ msgid "Upload in progress with warnings!"
541
+ msgstr "Αποστολή σε εξέλιξη με προειδοποιήσεις!"
542
+
543
+ #: lib/wfu_constants.php:152
544
+ msgid "Upload in progress but some files already failed!"
545
+ msgstr "Αποστολή σε εξέλιξη αλλά κάποια αρχεία ήδη απέτυχαν!"
546
+
547
+ #: lib/wfu_constants.php:153
548
+ msgid "Upload in progress but no files uploaded so far!"
549
+ msgstr "Αποστολή σε εξέλιξη αλλά δεν απεστάλη κανένα αρχείο μέχρι τώρα!"
550
+
551
+ #: lib/wfu_constants.php:154
552
+ msgid "All files uploaded successfully"
553
+ msgstr "Όλα τα αρχεία απεστάλησαν επιτυχώς"
554
+
555
+ #: lib/wfu_constants.php:155
556
+ msgid "All files uploaded successfully but there are warnings!"
557
+ msgstr "Όλα τα αρχεία απεστάλησαν επιτυχώς αλλά υπάρχουν προειδοποιήσεις!"
558
+
559
+ #: lib/wfu_constants.php:156
560
+ msgid "File uploaded successfully but there are warnings!"
561
+ msgstr "Το αρχείο απεστάλη επιτυχώς αλλά υπάρχουν προειδοποιήσεις!"
562
+
563
+ #: lib/wfu_constants.php:157
564
+ msgid "Some files failed to upload!"
565
+ msgstr "Μερικά αρχεία απέτυχαν να αποσταλούν!"
566
+
567
+ #: lib/wfu_constants.php:158
568
+ msgid "All files failed to upload"
569
+ msgstr "Όλα τα αρχεία απέτυχαν να αποσταλούν"
570
+
571
+ #: lib/wfu_constants.php:159
572
+ msgid "File failed to upload"
573
+ msgstr "Το αρχείο απέτυχε να αποσταλεί"
574
+
575
+ #: lib/wfu_constants.php:160
576
+ msgid "There are no files to upload!"
577
+ msgstr "Δεν υπάρχουν αρχεία για αποστολή!"
578
+
579
+ #: lib/wfu_constants.php:161
580
+ msgid "Test upload message"
581
+ msgstr "Μήνυμα αποστολής ελέγχου"
582
+
583
+ #: lib/wfu_constants.php:162
584
+ msgid "JSON parse warning!"
585
+ msgstr "Προειδοποίηση μετατροπής JSON!"
586
+
587
+ #: lib/wfu_constants.php:163
588
+ msgid "please wait while redirecting..."
589
+ msgstr "παρακαλούμε περιμένετε ενώ γίνεται αναδρομολόγηση..."
590
+
591
+ #: lib/wfu_constants.php:164
592
+ msgid "Open visual shortcode editor in new window"
593
+ msgstr "Ανοίξτε τη γραφική επεξεργασία του shortcode σε νέο παράθυρο"
594
+
595
+ #: lib/wfu_constants.php:165
596
+ msgid "loading visual editor"
597
+ msgstr "φόρτωση του γραφικού επεξεργαστή"
598
+
599
+ #~ msgid "Select File/Select Files"
600
+ #~ msgstr "Επιλογή Αρχείου/Επιλογή Αρχείων"
601
+
602
+ #~ msgid "Upload File/Upload Files"
603
+ #~ msgstr "Αποστολή Αρχείου/Αποστολή Αρχείων"
604
+
605
+ #~ msgid "Please fill in the above words: "
606
+ #~ msgstr "Παρακαλώ συμπληρώστε τις παραπάνω λέξεις: "
607
+
608
+ #~ msgid ""
609
+ #~ "ERROR: Captcha not supported! You have an old PHP version. Upgrade your "
610
+ #~ "PHP or use RecaptchaV2 (no account)."
611
+ #~ msgstr ""
612
+ #~ "ΣΦΑΛΜΑ: Δεν υποστηρίζεται το captcha. Έχετε παλαιά έκδοση της PHP. "
613
+ #~ "Αναβαθμίστε την PHP ή χρησιμοποιήστε την επιλογή RecaptchaV2 (no account)."
614
+
615
+ #~ msgid "ERROR: No site key. Please contact administrator!"
616
+ #~ msgstr ""
617
+ #~ "ΣΦΑΛΜΑ: Δεν υπάρχει κλειδί site. Παρακαλούμε επικοινωνήστε με το "
618
+ #~ "διαχειριστή."
619
+
620
+ #~ msgid ""
621
+ #~ "ERROR: No site key defined! Please go to the plugin settings in Dashboard "
622
+ #~ "to define Google Recaptcha keys."
623
+ #~ msgstr ""
624
+ #~ "ΣΦΑΛΜΑ: Δεν ορίστηκε κλειδί site! Παρακαλούμε πηγαίνεται στις επιλογές "
625
+ #~ "του plugin στο Dashboard για να ορίσετε κλειδιά του Google Recaptcha."
626
+
627
+ #~ msgid "Bad captcha image!"
628
+ #~ msgstr "Μη έγκυρη εικόνα captcha!"
629
+
630
+ #~ msgid "No input!"
631
+ #~ msgstr "Κενό!"
632
+
633
+ #~ msgid "Captcha not completed!"
634
+ #~ msgstr "Το captcha δε συμπληρώθηκε!"
635
+
636
+ #~ msgid "Wrong captcha!"
637
+ #~ msgstr "Λάθος captcha!"
638
+
639
+ #~ msgid "Error refreshing captcha!"
640
+ #~ msgstr "Σφάλμα ανανέωσης του captcha!"
641
+
642
+ #~ msgid "Unknown captcha error!"
643
+ #~ msgstr "Άγνωστο σφάλμα captcha!"
644
+
645
+ #~ msgid "Captcha not supported by your browser!"
646
+ #~ msgstr "Το captcha δεν υποστηρίζεται από το browser σας!"
647
+
648
+ #~ msgid "the secret parameter is missing"
649
+ #~ msgstr "η μυστική παράμετρος λείπει"
650
+
651
+ #~ msgid "the secret parameter is invalid or malformed"
652
+ #~ msgstr "η μυστική παράμετρος είναι μη έγκυρη ή δεν ορίστηκε σωστά"
653
+
654
+ #~ msgid "the response parameter is missing"
655
+ #~ msgstr "η παράμετρος απάντησης λείπει"
656
+
657
+ #~ msgid "the response parameter is invalid or malformed"
658
+ #~ msgstr "η παράμετρος απάντησης είναι μη έγκυρη ή δεν ορίστηκε σωστά"
659
+
660
+ #~ msgid "Please do not use drag drop due to an internal problem."
661
+ #~ msgstr ""
662
+ #~ "Παρακαλούμε μη χρησιμοποιείτε το drag drop λόγω εσωτερικού προβλήματος."
663
+
664
+ #~ msgid "Error during chunked upload. Unique ID empty in chunk %d"
665
+ #~ msgstr ""
666
+ #~ "Σφάλμα κατά τη διάρκεια τμηματικής αποστολής. Το μοναδικό ID είναι κενό "
667
+ #~ "στο τμήμα %d"
668
+
669
+ #~ msgid "Chunked upload is not allowed!"
670
+ #~ msgstr "Δεν επιτρέπεται τμηματική αποστολή!"
671
+
672
+ #~ msgid "Chunked upload aborted due to error in previous chunk!"
673
+ #~ msgstr ""
674
+ #~ "Η τμηματική αποστολή ματαιώθηκε λόγω σφάλματος στο προηγούμενο τμήμα!"
675
+
676
+ #~ msgid "Chunked upload failed, final file could not be created!"
677
+ #~ msgstr ""
678
+ #~ "Η τμηματική αποστολή ματαιώθηκε, το τελικό αρχείο δεν μπόρεσε να "
679
+ #~ "δημιουργηθεί!"
680
+
681
+ #~ msgid "Could not write file chuck to destination on chunk %d"
682
+ #~ msgstr ""
683
+ #~ "Δεν ήταν δυνατή η εγγραφή τμήματος αρχείου στον προορισμό στο τμήμα %d"
684
+
685
+ #~ msgid "Could not enlarge destination file on chunk %d"
686
+ #~ msgstr "Δεν ήταν δυνατή η μεγέθυνση του αρχείου προορισμού στο τμήμα %d"
687
+
688
+ #~ msgid "Could not open file handles on chunk %d"
689
+ #~ msgstr "Δεν ήταν δυνατό το άνοιγμα χειριστών αρχείου στο τμήμα %d"
690
+
691
+ #~ msgid "checking captcha..."
692
+ #~ msgstr "έλεγχος captcha..."
693
+
694
+ #~ msgid "refreshing..."
695
+ #~ msgstr "ανανέωση..."
696
+
697
+ #~ msgid "correct captcha"
698
+ #~ msgstr "σωστό captcha"
699
+
700
+ #~ msgid "click to continue the upload"
701
+ #~ msgstr "πατήστε click για να συνεχίσει η αποστολή"
702
+
703
+ #~ msgid "Clear file list?"
704
+ #~ msgstr "Να γίνει καθαρισμός της λίστας αρχείων;"
705
+
706
+ #~ msgid "DROP HERE"
707
+ #~ msgstr "ΑΦΗΣΤΕ ΕΔΩ"
lib/wfu_admin_composer.php CHANGED
@@ -384,7 +384,22 @@ function wfu_shortcode_composer($data = '') {
384
  foreach ( $roles as $roleid => $rolename )
385
  $echo_str .= $dlp."\t\t\t".'<option value="'.$roleid.'"'.( in_array($roleid, $selected) ? ' selected="selected"' : '' ).'>'.$rolename.'</option>';
386
  $echo_str .= $dlp."\t\t".'</select>';
387
- $echo_str .= $dlp."\t\t".'<div class="wfu_rolelist_checkall"><input id="wfu_attribute_'.$attr.'_all" type="checkbox" onchange="wfu_update_rolelist_value(\''.$attr.'\');"'.( strtolower($def['value']) == "all" ? ' checked="checked"' : '' ).' /> Select all (including guests)</div>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
388
  }
389
  elseif ( $def['type'] == "dimensions" ) {
390
  $vals_arr = explode(",", $def['value']);
384
  foreach ( $roles as $roleid => $rolename )
385
  $echo_str .= $dlp."\t\t\t".'<option value="'.$roleid.'"'.( in_array($roleid, $selected) ? ' selected="selected"' : '' ).'>'.$rolename.'</option>';
386
  $echo_str .= $dlp."\t\t".'</select>';
387
+ $echo_str .= $dlp."\t\t".'<div class="wfu_rolelist_checkall"><input id="wfu_attribute_'.$attr.'_all" type="checkbox" onchange="wfu_update_rolelist_value(\''.$attr.'\');"'.( strtolower($def['value']) == "all" ? ' checked="checked"' : '' ).' /><label for="wfu_attribute_'.$attr.'_all"> Select all</label></div>';
388
+ }
389
+ elseif ( $def['type'] == "userlist" ) {
390
+ $users = get_users();
391
+ $def['value'] = strtolower($def['value']);
392
+ if ( $def['value'] == "all" ) $selected = array($users[0]->user_login);
393
+ else $selected = explode(",", $def['value']);
394
+ $echo_str .= $dlp."\t\t".'<table class="wfu_userlist_container"><tbody><tr><td>';
395
+ $echo_str .= $dlp."\t\t".'<select id="wfu_attribute_'.$attr.'" multiple="multiple" size="'.count($users).'" onchange="wfu_update_userlist_value(\''.$attr.'\');"'.( strtolower($def['value']) == "all" ? ' disabled="disabled"' : '' ).'>';
396
+ foreach ( $users as $userid => $user )
397
+ $echo_str .= $dlp."\t\t\t".'<option value="'.$user->user_login.'"'.( in_array($user->user_login, $selected) ? ' selected="selected"' : '' ).'>'.$user->display_name.' ('.$user->user_login.')</option>';
398
+ $echo_str .= $dlp."\t\t".'</select>';
399
+ $echo_str .= $dlp."\t\t".'</td><td>';
400
+ $echo_str .= $dlp."\t\t".'<div class="wfu_userlist_checkall"><input id="wfu_attribute_'.$attr.'_guests" type="checkbox" onchange="wfu_update_userlist_value(\''.$attr.'\');"'.( strtolower($def['value']) == "all" || in_array("guests", $selected) ? ' checked="checked"' : '' ).( strtolower($def['value']) == "all" ? ' disabled="disabled"' : '' ).' /><label for="wfu_attribute_'.$attr.'_guests"> Include guests</label></div><br />';
401
+ $echo_str .= $dlp."\t\t".'<div class="wfu_userlist_checkall"><input id="wfu_attribute_'.$attr.'_all" type="checkbox" onchange="wfu_update_userlist_value(\''.$attr.'\');"'.( strtolower($def['value']) == "all" ? ' checked="checked"' : '' ).' /><label for="wfu_attribute_'.$attr.'_all"> Select all (including guests)</label></div>';
402
+ $echo_str .= $dlp."\t\t".'</td></tr></tbody></table>';
403
  }
404
  elseif ( $def['type'] == "dimensions" ) {
405
  $vals_arr = explode(",", $def['value']);
readme.txt CHANGED
@@ -41,8 +41,10 @@ The characteristics of the plugin are:
41
 
42
  The plugin is translated in the following languages:
43
 
 
44
  * French, kindly provided by Thomas Bastide of http://www.omicronn.fr/
45
  * Serbian, kindly provided by Andrijana Nikolic of http://webhostinggeeks.com/
 
46
 
47
  Please note that old desktop browsers or mobile browsers may not support all of the above functionalities. In order to get full functionality use the latest versions browsers, supporting HTML5, AJAX and CSS3.
48
 
@@ -125,6 +127,9 @@ In the free version the upload will fail. However in the Pro version the upload
125
 
126
  == Changelog ==
127
 
 
 
 
128
  = 2.7.4 =
129
  * added Serbian translation thanks to Andrijana Nikolic from http://webhostinggeeks.com/
130
  * bug fix with %blogid%, %pageid% and %pagetitle% that where not implemented in notification emails
@@ -428,6 +433,9 @@ Initial version.
428
 
429
  == Upgrade Notice ==
430
 
 
 
 
431
  = 2.7.4 =
432
  Upgrade to add some new features and address some bugs.
433
 
@@ -838,9 +846,9 @@ function wfu_before_email_notification_handler($changable_data, $additional_data
838
  }
839
  `
840
 
841
- **wfu_before_file_check**
842
 
843
- It is executed before file is uploaded and before any internal file checks, in order to allow the filter to perform its own checks or change some basic upload parameters, such as filename or userdata. You can use it as follows:
844
 
845
  `
846
  add_filter('wfu_after_file_upload', 'wfu_after_file_upload_handler', 10, 2);
41
 
42
  The plugin is translated in the following languages:
43
 
44
+ * German
45
  * French, kindly provided by Thomas Bastide of http://www.omicronn.fr/
46
  * Serbian, kindly provided by Andrijana Nikolic of http://webhostinggeeks.com/
47
+ * Greek
48
 
49
  Please note that old desktop browsers or mobile browsers may not support all of the above functionalities. In order to get full functionality use the latest versions browsers, supporting HTML5, AJAX and CSS3.
50
 
127
 
128
  == Changelog ==
129
 
130
+ = 2.7.5 =
131
+ * added German and Greek translation
132
+
133
  = 2.7.4 =
134
  * added Serbian translation thanks to Andrijana Nikolic from http://webhostinggeeks.com/
135
  * bug fix with %blogid%, %pageid% and %pagetitle% that where not implemented in notification emails
433
 
434
  == Upgrade Notice ==
435
 
436
+ = 2.7.5 =
437
+ Upgrade to add some new features.
438
+
439
  = 2.7.4 =
440
  Upgrade to add some new features and address some bugs.
441
 
846
  }
847
  `
848
 
849
+ **wfu_after_file_upload**
850
 
851
+ It is executed after the upload process for each individual file has finished, in order to allow additional actions to be executed (such as define custom javascript code to be executed in client's browser after file upload). You can use it as follows:
852
 
853
  `
854
  add_filter('wfu_after_file_upload', 'wfu_after_file_upload_handler', 10, 2);
release_notes.txt CHANGED
@@ -1,3 +1 @@
1
- <span><strong>Latest release notes: </strong>This version introduces a new filter, <strong>wfu_after_file_upload</strong>, that is executed right after a file is uploaded for executing custom tasks and extending the plugin's capabilities. It replaces the action wfu_after_file_upload that existed for the same reason, however through the filter javascript code can be defined that will be executed at the client's browser after each file is uploaded.<br />This version introduces also a new option in Settings to select the POST method. This options resolves errors like <em>"http:// wrapper is disabled in the server configuration by allow_url_fopen"</em> or <em>"Call to undefined function curl_init()"</em> that may appear in some server environments.<br />In addition, Serbian translation was added thanks to Andrijana Nikolic from </span><a href="http://webhostinggeeks.com">webhostinggeeks</a><span>. </span><span style="text-decoration:underline;"><strong>Translations in other languages are more than welcome!</strong></span>
2
- <!--
3
- -->
1
+ <span><strong>Latest release notes: </strong>This version introduces <!-- -->translation of the plugin in German and Greek language.</span>
 
 
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: 2.7.4
8
  Author: Nickolas Bossinas
9
  Author URI: http://www.iptanus.com
10
  */
4
  /*
5
  Plugin URI: http://www.iptanus.com/support/wordpress-file-upload
6
  Description: Simple interface to upload files from a page.
7
+ Version: 2.7.5
8
  Author: Nickolas Bossinas
9
  Author URI: http://www.iptanus.com
10
  */