Fix: delete of documents is done by page of element, not by the view

wrapper.

Conflicts:
	htdocs/langs/en_US/main.lang
	htdocs/langs/fr_FR/main.lang
	htdocs/projet/fiche.php
This commit is contained in:
Laurent Destailleur
2012-05-30 00:18:11 +02:00
committed by Regis Houssin
parent caadf396e2
commit 514babeab1
27 changed files with 324 additions and 195 deletions

View File

@@ -483,7 +483,7 @@ if (preg_match('/\.\./',$original_file) || preg_match('/[<>|]/',$original_file))
exit;
}
/*
if ($action == 'remove_file') // Remove a file
{
clearstatcache();
@@ -508,7 +508,7 @@ if ($action == 'remove_file') // Remove a file
return;
}
else // Open and return file
{
{*/
clearstatcache();
$filename = basename($original_file);
@@ -540,6 +540,6 @@ else // Open and return file
//flush();
readfile($original_file_osencoded);
}
//}
?>