First commit

This commit is contained in:
2025-02-28 08:45:43 +01:00
commit 1f4e772600
1122 changed files with 74621 additions and 0 deletions

View File

@ -0,0 +1,55 @@
function confirmFileDelete(string)
{
return confirm(string);
}
function confirmFolderDelete(string)
{
return confirm(string);
}
function showcmsimplefbForm(id)
{
forms = document.getElementsByTagName('fieldset');
for(i=0; i<forms.length; i++){
form = forms[i];
if(form.className == "cmsimplefbform"){
form.style.display='none';
}
}
document.getElementById(id).style.display='block';
document.getElementById(id).getElementsByTagName('input')[0].focus();
}
function closecmsimplefbForm(id)
{
document.getElementById(id).style.display='none';
}
function oldshowRenameForm(id)
{
document.getElementById("rename_" + id).style.display='inline';
document.getElementById("rename_" + id).renameFile.select();
document.getElementById("file_" + id).style.display='none';
}
function showRenameForm(id, message)
{ var oldName = document.getElementById("rename_" + id).renameFile.value;
var newName = prompt(message, oldName);
if(newName){
// document.getElementById("rename_" + id).style.display='inline';
document.getElementById("rename_" + id).renameFile.value=newName;
document.getElementById("rename_" + id).submit();
}
}
function hideRenameForm(id)
{
document.getElementById("rename_" + id).style.display='none';
document.getElementById("file_" + id).style.display='inline';
}