Fix: Translation
This commit is contained in:
parent
cc698e6ed0
commit
4dc0787274
@ -195,6 +195,7 @@ PL_UNKNOWN=Unknown
|
|||||||
PL_LOW=Low
|
PL_LOW=Low
|
||||||
PL_MEDIUM=Medium
|
PL_MEDIUM=Medium
|
||||||
PL_HIGH=High
|
PL_HIGH=High
|
||||||
|
TE_UNKNOWN=-
|
||||||
TE_STARTUP=Startup
|
TE_STARTUP=Startup
|
||||||
TE_GROUP=Large company
|
TE_GROUP=Large company
|
||||||
TE_MEDIUM=Medium company
|
TE_MEDIUM=Medium company
|
||||||
|
|||||||
@ -195,6 +195,7 @@ PL_UNKNOWN=Ind
|
|||||||
PL_LOW=Faible
|
PL_LOW=Faible
|
||||||
PL_MEDIUM=Moyen
|
PL_MEDIUM=Moyen
|
||||||
PL_HIGH=Elevé
|
PL_HIGH=Elevé
|
||||||
|
TE_UNKNOWN=-
|
||||||
TE_STARTUP=Startup
|
TE_STARTUP=Startup
|
||||||
TE_GROUP=Grand compte
|
TE_GROUP=Grand compte
|
||||||
TE_MEDIUM=PME/PMI
|
TE_MEDIUM=PME/PMI
|
||||||
|
|||||||
@ -23,7 +23,7 @@
|
|||||||
\brief Page of links to other third parties
|
\brief Page of links to other third parties
|
||||||
\version $Id$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/lib/company.lib.php");
|
require_once(DOL_DOCUMENT_ROOT."/lib/company.lib.php");
|
||||||
|
|
||||||
@ -180,10 +180,11 @@ if($_GET["socid"])
|
|||||||
|
|
||||||
$title=$langs->trans("CompanyList");
|
$title=$langs->trans("CompanyList");
|
||||||
|
|
||||||
$sql = "SELECT s.rowid as socid, s.nom, s.ville, s.prefix_comm, s.client, s.fournisseur, te.libelle";
|
$sql = "SELECT s.rowid as socid, s.nom, s.ville, s.prefix_comm, s.client, s.fournisseur,";
|
||||||
$sql .= " FROM ".MAIN_DB_PREFIX."societe as s";
|
$sql.= " te.code, te.libelle";
|
||||||
$sql .= " , ".MAIN_DB_PREFIX."c_typent as te";
|
$sql.= " FROM ".MAIN_DB_PREFIX."societe as s,";
|
||||||
$sql .= " WHERE s.fk_typent = te.id";
|
$sql.= " ".MAIN_DB_PREFIX."c_typent as te";
|
||||||
|
$sql.= " WHERE s.fk_typent = te.id";
|
||||||
|
|
||||||
if (strlen(trim($_GET["search_nom"])))
|
if (strlen(trim($_GET["search_nom"])))
|
||||||
{
|
{
|
||||||
@ -192,10 +193,10 @@ if($_GET["socid"])
|
|||||||
|
|
||||||
$sql .= " ORDER BY s.nom ASC " . $db->plimit($conf->liste_limit+1, $offset);
|
$sql .= " ORDER BY s.nom ASC " . $db->plimit($conf->liste_limit+1, $offset);
|
||||||
|
|
||||||
$result = $db->query($sql);
|
$resql = $db->query($sql);
|
||||||
if ($result)
|
if ($resql)
|
||||||
{
|
{
|
||||||
$num = $db->num_rows();
|
$num = $db->num_rows($resql);
|
||||||
$i = 0;
|
$i = 0;
|
||||||
|
|
||||||
$params = "&socid=".$_GET["socid"];
|
$params = "&socid=".$_GET["socid"];
|
||||||
@ -227,12 +228,12 @@ if($_GET["socid"])
|
|||||||
|
|
||||||
while ($i < min($num,$conf->liste_limit))
|
while ($i < min($num,$conf->liste_limit))
|
||||||
{
|
{
|
||||||
$obj = $db->fetch_object();
|
$obj = $db->fetch_object($resql);
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
print "<tr $bc[$var]><td>";
|
print "<tr $bc[$var]><td>";
|
||||||
print stripslashes($obj->nom)."</td>\n";
|
print $obj->nom."</td>\n";
|
||||||
print "<td>".$obj->ville." </td>\n";
|
print "<td>".$obj->ville." </td>\n";
|
||||||
print "<td>".$obj->libelle." </td>\n";
|
print "<td>".$langs->getLabelFromKey($db,$obj->code,'c_typent','code','libelle')."</td>\n";
|
||||||
print '<td align="center">';
|
print '<td align="center">';
|
||||||
if ($obj->client==1)
|
if ($obj->client==1)
|
||||||
{
|
{
|
||||||
@ -267,7 +268,7 @@ if($_GET["socid"])
|
|||||||
|
|
||||||
print "</table>";
|
print "</table>";
|
||||||
print '<br>';
|
print '<br>';
|
||||||
$db->free();
|
$db->free($resql);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user