$StrFolderInvalidName";
else if (@file_exists($home_directory.$path.$new_directory_name))
print "$StrAlreadyExists";
else if (@rename($home_directory.$path.$directory_name, $home_directory.$path.$new_directory_name))
print "$StrRenameFolderSuccess";
else
{
print "$StrRenameFolderFail
";
print $StrRenameFolderFailHelp;
}
}
else if (isset($_GET['rename']) && isset($_POST['filename']))
{
if (!is_valid_name($new_filename))
print "$StrFileInvalidName";
else if (@file_exists($home_directory.$path.$new_filename))
print "$StrAlreadyExists";
else if (@rename($home_directory.$path.$filename, $home_directory.$path.$new_filename))
print "$StrRenameFileSuccess";
else
{
print "$StrRenameFileFail
";
print $StrRenameFileFailHelp;
}
}
else
{
print "