mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-03 07:32:32 +01:00
Modif mineure
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
|
||||
/**
|
||||
\file htdocs/docsoc.php
|
||||
\brief Fichier onglet documents li<6C>s <20> la soci<63>t<EFBFBD>
|
||||
\brief Fichier onglet documents li<6C>s <20> la soci<63>t<EFBFBD>
|
||||
\ingroup societe
|
||||
\version $Revision$
|
||||
*/
|
||||
@@ -41,7 +41,7 @@ $sortfield=$_GET["sortfield"];
|
||||
if (! $sortorder) $sortorder="ASC";
|
||||
if (! $sortfield) $sortfield="name";
|
||||
|
||||
// S<>curit<69> d'acc<63>s client et commerciaux
|
||||
// S<>curit<69> d'acc<63>s client et commerciaux
|
||||
$socid = restrictedArea($user, 'societe', $socid);
|
||||
|
||||
/*
|
||||
@@ -65,13 +65,13 @@ if ( $_POST["sendit"] && $conf->upload != 0)
|
||||
}
|
||||
else if (!$result)
|
||||
{
|
||||
// Echec transfert (fichier d<>passant la limite ?)
|
||||
// Echec transfert (fichier d<>passant la limite ?)
|
||||
$mesg = '<div class="error">'.$langs->trans("ErrorFileNotUploaded").'</div>';
|
||||
// print_r($_FILES);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Fichier infect<63> par un virus
|
||||
// Fichier infect<63> par un virus
|
||||
$mesg = '<div class="error">'.$langs->trans("ErrorFileIsInfectedWith",$result).'</div>';
|
||||
}
|
||||
}
|
||||
@@ -169,7 +169,9 @@ if ($socid > 0)
|
||||
// Affiche liste des documents existant
|
||||
print_titre($langs->trans("AttachedFiles"));
|
||||
|
||||
// \TODO Mettre cette section dans une zone AJAX
|
||||
/**
|
||||
* TODO Mettre cette section dans une zone AJAX
|
||||
*/
|
||||
$prefix=$socid.'/';
|
||||
$modulepart='societe';
|
||||
$url=$_SERVER["PHP_SELF"];
|
||||
|
||||
Reference in New Issue
Block a user