Modif mineure

This commit is contained in:
Laurent Destailleur
2007-11-28 21:08:03 +00:00
parent 2e7c64ab2d
commit aedddbff03

View File

@@ -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"];