function js_new_folder_ui(tree,new_type) { var d = parent.frames[tree.ui_frame_name].document; d.open(); d.write('' + ''+ ''+ ' '+ ' '+ ''+ ''+ ''+ ''+ ' '+ '
'+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ '
'+ ' '+ ' '+ ' '+ '
'+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ '
'+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ '
  Create New '+new_type+'
'+ ' '+ ' '+ ' '+ '
Create new '+new_type+' in:  '+tree.title[tree.active_node]+'
'+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ '
Name:
Description:
View Password:
Upload Password:
Anonymous Upload:
'+ '  '+ ' '+ '
'+ '
'+ ' '+ ' '+ '
'+ ''+ ''+ ''); d.close(); } function js_delete_folder_ui(tree,type,type_id) { var d = parent.frames[tree.ui_frame_name].document; d.open(); d.write('' + ''+ ' '+ ' '+ ' '+ ''+ ' '+ ''+ ''+ ''+ ' '+ '
'+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ '
'+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ '
Delete
 
  You are about to delete the '+type+':

'+ ' '+ ' '+ ' '+ ' '+ '
'+ ' '+ ' '+ ' '+ ' '+ '
'+ ' '+ ' '+ ' '+ ' '+ '
'+ ' '+ ' '+ ' '+ ' '+ '
'+ '   '+ ' '+tree.title[tree.active_node]+'
 
'+ '  This will delete all data associated with this '+type+'. 
'+ '  Are you sure you want to do this?
'+ ' 
'+ ' '+ ' '+ ' '+ ' '+ ' '+ '
 '+ ' '+ ' '+ '
'+ ' 
'+ '
'+ ' '+ ' '+ ''+ ''); d.close(); } function js_edit_folder_ui(tree, folder_id,type,type_id) { var d = parent.frames[tree.ui_frame_name].document; var sort_options; var i; var parent_id; var sibling_id; var anonymous_upload_check = ''; var selected; parent_id = tree.parent_id[folder_id]; sort_options = ''; for(i = 0; i < tree.node[tree.parent_id[folder_id]].length; i++) { sibling_id = tree.node[tree.parent_id[folder_id]][i]; if(sibling_id == folder_id) { selected = 'selected'; } else { selected = ' '; } sort_options = sort_options + ''; } if(tree.AnonymousUpload[folder_id] != 0) { anonymous_upload_check = 'checked'; } d.open(); d.write('' + '
'+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ '
  Edit '+type+'
'+ ' '+ ' '+ ' '+ ' '+ '
'+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ '
Name:
Description:
Sort After
'+ ' '+ ' '+ ' '+ ' '+ '
'+ '
'+ '
'+ ''); d.close(); if(tree.alpha_sort == 1) { var form_name = 'form_' + tree.active_node; //d[form_name].elements['SortAfter'].disabled = true; d[form_name].elements['SortAfter'].style.display = 'none'; d.getElementById('SortAfterText').style.display = 'none'; } if((type_id == 1) || (type_id == 7) || (type_id == 6)) { var x = d.getElementById('read_password_tr'); if(x) { x.style.display = ''; } } if(type_id == 1) { var x = d.getElementById('write_password_tr'); if(x) { x.style.display = ''; } x = d.getElementById('anonymous_upload_tr'); if(x) { x.style.display = ''; } } } function js_email_folder_ui(tree, folder, type) { var d = parent.frames[folder.ui_frame_name].document; d.open(); d.write(''+ ''+ ''+ ''+ ''+ '
'+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ '
Email '+type+'
'+ ' '+ ' '+ ' '+ ' '+ '
'+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ '
Email the following '+type+' link to:
'+ ' (Ex. name@domain.xxx)
From:
'+tree.title[tree.active_node]+'
Include the following message:
'+ ' '+ ' '+ '
'+ ' '+ ' '+ ' '+ ' '+ '
'+ '
'+ ''+ ''+ ''); d.close(); }