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