Trad: Un paquet de pages passées en multi-langues.
This commit is contained in:
parent
4188598b10
commit
2b2d1d4788
@ -39,41 +39,49 @@ else
|
|||||||
|
|
||||||
if ($conf->commercial->enabled)
|
if ($conf->commercial->enabled)
|
||||||
{
|
{
|
||||||
|
$langs->load("commercial");
|
||||||
|
|
||||||
$class="";
|
$class="";
|
||||||
if ($_SESSION["topmenu"] && $_SESSION["topmenu"] == "commercial") { $class="menusel"; }
|
if ($_SESSION["topmenu"] && $_SESSION["topmenu"] == "commercial") { $class="menusel"; }
|
||||||
elseif (ereg("^".DOL_URL_ROOT."\/comm\/",$_SERVER["PHP_SELF"])) { $class="menusel"; }
|
elseif (ereg("^".DOL_URL_ROOT."\/comm\/",$_SERVER["PHP_SELF"])) { $class="menusel"; }
|
||||||
print '<td class="'.$class.'" width="'.$widthtd.'%" align=center>';
|
print '<td class="'.$class.'" width="'.$widthtd.'%" align=center>';
|
||||||
print '<a class="'.$class.'" href="'.DOL_URL_ROOT.'/comm/index.php"'.($target?" target=$target":"").'>Commercial</A>';
|
print '<a class="'.$class.'" href="'.DOL_URL_ROOT.'/comm/index.php"'.($target?" target=$target":"").'>'.$langs->trans("Commercial").'</a>';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($conf->adherent->enabled)
|
if ($conf->adherent->enabled)
|
||||||
{
|
{
|
||||||
|
$langs->load("members");
|
||||||
|
|
||||||
$class="";
|
$class="";
|
||||||
if ($_SESSION["topmenu"] && $_SESSION["topmenu"] == "adherent") { $class="menusel"; }
|
if ($_SESSION["topmenu"] && $_SESSION["topmenu"] == "adherent") { $class="menusel"; }
|
||||||
elseif (ereg("^".DOL_URL_ROOT."\/adherents\/",$_SERVER["PHP_SELF"])) { $class="menusel"; }
|
elseif (ereg("^".DOL_URL_ROOT."\/adherents\/",$_SERVER["PHP_SELF"])) { $class="menusel"; }
|
||||||
print '<td class="'.$class.'" width="'.$widthtd.'%" align=center>';
|
print '<td class="'.$class.'" width="'.$widthtd.'%" align=center>';
|
||||||
print '<a class="'.$class.'" href="'.DOL_URL_ROOT.'/adherents/index.php"'.($target?" target=$target":"").'>Adhérents</A>';
|
print '<a class="'.$class.'" href="'.DOL_URL_ROOT.'/adherents/index.php"'.($target?" target=$target":"").'>'.$langs->trans("Members").'</a>';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($conf->compta->enabled || $conf->banque->enabled || $conf->caisse->enabled)
|
if ($conf->compta->enabled || $conf->banque->enabled || $conf->caisse->enabled)
|
||||||
{
|
{
|
||||||
|
$langs->load("compta");
|
||||||
|
|
||||||
$class="";
|
$class="";
|
||||||
if ($_SESSION["topmenu"] && $_SESSION["topmenu"] == "compta") { $class="menusel"; }
|
if ($_SESSION["topmenu"] && $_SESSION["topmenu"] == "compta") { $class="menusel"; }
|
||||||
elseif (ereg("^".DOL_URL_ROOT."\/compta\/",$_SERVER["PHP_SELF"])) { $class="menusel"; }
|
elseif (ereg("^".DOL_URL_ROOT."\/compta\/",$_SERVER["PHP_SELF"])) { $class="menusel"; }
|
||||||
print '<td class="'.$class.'" width="'.$widthtd.'%" align=center>';
|
print '<td class="'.$class.'" width="'.$widthtd.'%" align=center>';
|
||||||
print '<a class="'.$class.'" href="'.DOL_URL_ROOT.'/compta/index.php"'.($target?" target=$target":"").'>Compta/Tréso</A>';
|
print '<a class="'.$class.'" href="'.DOL_URL_ROOT.'/compta/index.php"'.($target?" target=$target":"").'>'.$langs->trans("Accountancy")."/".$langs->trans("Treasury").'</a>';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($conf->produit->enabled || $conf->service->enabled)
|
if ($conf->produit->enabled || $conf->service->enabled)
|
||||||
{
|
{
|
||||||
|
$langs->load("products");
|
||||||
|
|
||||||
$class="";
|
$class="";
|
||||||
if ($_SESSION["topmenu"] && $_SESSION["topmenu"] == "product") { $class="menusel"; }
|
if ($_SESSION["topmenu"] && $_SESSION["topmenu"] == "product") { $class="menusel"; }
|
||||||
elseif (ereg("^".DOL_URL_ROOT."\/product\/",$_SERVER["PHP_SELF"])) { $class="menusel"; }
|
elseif (ereg("^".DOL_URL_ROOT."\/product\/",$_SERVER["PHP_SELF"])) { $class="menusel"; }
|
||||||
$chaine="";
|
$chaine="";
|
||||||
if ($conf->produit->enabled) { $chaine.="Produits"; }
|
if ($conf->produit->enabled) { $chaine.=$langs->trans("Products"); }
|
||||||
if ($conf->produit->enabled && $conf->service->enabled) { $chaine.="/"; }
|
if ($conf->produit->enabled && $conf->service->enabled) { $chaine.="/"; }
|
||||||
if ($conf->service->enabled) { $chaine.="Services"; }
|
if ($conf->service->enabled) { $chaine.="Services"; }
|
||||||
print '<td class="'.$class.'" width="'.$widthtd.'%" align=center>';
|
print '<td class="'.$class.'" width="'.$widthtd.'%" align=center>';
|
||||||
@ -83,12 +91,13 @@ else
|
|||||||
|
|
||||||
if ($conf->webcal->enabled)
|
if ($conf->webcal->enabled)
|
||||||
{
|
{
|
||||||
|
$langs->load("other");
|
||||||
|
|
||||||
$class="";
|
$class="";
|
||||||
if ($_SESSION["topmenu"] && $_SESSION["topmenu"] == "webcalendar") { $class="menusel"; }
|
if ($_SESSION["topmenu"] && $_SESSION["topmenu"] == "webcalendar") { $class="menusel"; }
|
||||||
elseif (ereg("^".DOL_URL_ROOT."\/projet\/",$_SERVER["PHP_SELF"]) || ereg("^".DOL_URL_ROOT."\/webcalendar\/",$_SERVER["PHP_SELF"])) { $class="menusel"; }
|
elseif (ereg("^".DOL_URL_ROOT."\/projet\/",$_SERVER["PHP_SELF"]) || ereg("^".DOL_URL_ROOT."\/webcalendar\/",$_SERVER["PHP_SELF"])) { $class="menusel"; }
|
||||||
print '<td class="'.$class.'" width="'.$widthtd.'%" align=center>';
|
print '<td class="'.$class.'" width="'.$widthtd.'%" align=center>';
|
||||||
// print '<a class="'.$class.'" href="'. PHPWEBCALENDAR_URL .'">Calendrier</a>';
|
print '<a class="'.$class.'" href="'.DOL_URL_ROOT.'/projet/webcal.php"'.($target?" target=$target":"").'>'.$langs->trans("Calendar").'</a>';
|
||||||
print '<a class="'.$class.'" href="'.DOL_URL_ROOT.'/projet/webcal.php"'.($target?" target=$target":"").'>Calendrier</a>';
|
|
||||||
print '</td>';
|
print '</td>';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
8
htdocs/langs/en_US/admin.lang
Normal file
8
htdocs/langs/en_US/admin.lang
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# Dolibarr language file - en_US - admin
|
||||||
|
GlobalSetup=Global setup
|
||||||
|
GUISetup=GUI Setup
|
||||||
|
DictionnarySetup=Dictionnary setup
|
||||||
|
OtherSetup=Other setup
|
||||||
|
Modules=Modules
|
||||||
|
Boxes=Boxes
|
||||||
|
System=System
|
||||||
2
htdocs/langs/en_US/commercial.lang
Normal file
2
htdocs/langs/en_US/commercial.lang
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Dolibarr language file - en_US - commercial
|
||||||
|
Commercial=Commercial
|
||||||
@ -1,6 +1,7 @@
|
|||||||
# Dolibarr language file - fr_FR - soc
|
# Dolibarr language file - fr_FR - soc
|
||||||
NewCompany=New company (prospect, customer, supplier)
|
NewCompany=New company (prospect, customer, supplier)
|
||||||
Company=Company
|
Company=Company
|
||||||
|
Companies=Companies
|
||||||
Name=Name
|
Name=Name
|
||||||
Surname=Surname
|
Surname=Surname
|
||||||
Address=Addrese
|
Address=Addrese
|
||||||
3
htdocs/langs/en_US/compta.lang
Normal file
3
htdocs/langs/en_US/compta.lang
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# Dolibarr language file - en_US - compta
|
||||||
|
Accountancy=Accountancy
|
||||||
|
Tresury=Tresury
|
||||||
@ -1,5 +1,7 @@
|
|||||||
# Dolibarr language file - en_US - main
|
# Dolibarr language file - en_US - main
|
||||||
charset="iso-8859-1"
|
charset="iso-8859-1"
|
||||||
|
Home=Home
|
||||||
|
Help=Help
|
||||||
Activate=Activate
|
Activate=Activate
|
||||||
Activated=Activated
|
Activated=Activated
|
||||||
Add=Add
|
Add=Add
|
||||||
@ -10,7 +12,9 @@ Edit=Edit
|
|||||||
Search=Search
|
Search=Search
|
||||||
ChooseLangage=Please choose your language
|
ChooseLangage=Please choose your language
|
||||||
User=User
|
User=User
|
||||||
|
Users=Users
|
||||||
Group=Group
|
Group=Group
|
||||||
|
Groups=Groups
|
||||||
Name=Name
|
Name=Name
|
||||||
Value=Value
|
Value=Value
|
||||||
Type=Type
|
Type=Type
|
||||||
@ -18,4 +22,6 @@ Note=Note
|
|||||||
Action=Action
|
Action=Action
|
||||||
About=About
|
About=About
|
||||||
WelcomeString=<font class="body">We are </font>%s<font class="body">, and you are connected with name</font> %s
|
WelcomeString=<font class="body">We are </font>%s<font class="body">, and you are connected with name</font> %s
|
||||||
|
Number=Number
|
||||||
|
DevelopmentTeam=Development Team
|
||||||
|
Logout=Logout
|
||||||
3
htdocs/langs/en_US/members.lang
Normal file
3
htdocs/langs/en_US/members.lang
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# Dolibarr language file - en_US - members
|
||||||
|
Members=Members
|
||||||
|
Attributs=Attributs
|
||||||
2
htdocs/langs/en_US/other.lang
Normal file
2
htdocs/langs/en_US/other.lang
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Dolibarr language file - en_US - other
|
||||||
|
Calendar=Calendar
|
||||||
3
htdocs/langs/en_US/products.lang
Normal file
3
htdocs/langs/en_US/products.lang
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# Dolibarr language file - en_US - products
|
||||||
|
Products=Products
|
||||||
|
Services=Services
|
||||||
2
htdocs/langs/en_US/suppliers.lang
Normal file
2
htdocs/langs/en_US/suppliers.lang
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Dolibarr language file - en_US - suppliers
|
||||||
|
Suppliers=Suppliers
|
||||||
8
htdocs/langs/fr_FR/admin.lang
Normal file
8
htdocs/langs/fr_FR/admin.lang
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# Dolibarr language file - fr_FR - admin
|
||||||
|
GlobalSetup=Configuration générale
|
||||||
|
GUISetup=Configuration IHM
|
||||||
|
DictionnarySetup=Configuration dictionnaires
|
||||||
|
OtherSetup=Configuration autre
|
||||||
|
Modules=Modules
|
||||||
|
Boxes=Boites
|
||||||
|
System=Système
|
||||||
2
htdocs/langs/fr_FR/commercial.lang
Normal file
2
htdocs/langs/fr_FR/commercial.lang
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Dolibarr language file - fr_FR - commercial
|
||||||
|
Commercial=Commercial
|
||||||
@ -1,6 +1,7 @@
|
|||||||
# Dolibarr language file - fr_FR - soc
|
# Dolibarr language file - fr_FR - soc
|
||||||
NewCompany=Nouvelle société (prospect, client, fournisseur)
|
NewCompany=Nouvelle société (prospect, client, fournisseur)
|
||||||
Company=Société
|
Company=Société
|
||||||
|
Companies=Sociétés
|
||||||
Name=Nom
|
Name=Nom
|
||||||
Surname=Prénom
|
Surname=Prénom
|
||||||
Address=Adresse
|
Address=Adresse
|
||||||
3
htdocs/langs/fr_FR/compta.lang
Normal file
3
htdocs/langs/fr_FR/compta.lang
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# Dolibarr language file - fr_FR - compta
|
||||||
|
Accountancy=Compta
|
||||||
|
Treasury=Treso
|
||||||
@ -1,5 +1,7 @@
|
|||||||
# Dolibarr language file - fr_FR - main
|
# Dolibarr language file - fr_FR - main
|
||||||
charset="iso-8859-1"
|
charset="iso-8859-1"
|
||||||
|
Home=Accueil
|
||||||
|
Help=Aide
|
||||||
Activate=Activer
|
Activate=Activer
|
||||||
Activated=Activé
|
Activated=Activé
|
||||||
Add=Ajouter
|
Add=Ajouter
|
||||||
@ -10,7 +12,9 @@ Edit=Editer
|
|||||||
Search=Rechercher
|
Search=Rechercher
|
||||||
ChooseLangage=Choisissez votre langue
|
ChooseLangage=Choisissez votre langue
|
||||||
User=Utilisateur
|
User=Utilisateur
|
||||||
|
Users=Utilisateurs
|
||||||
Group=Groupe
|
Group=Groupe
|
||||||
|
Groups=Groupes
|
||||||
Name=Nom
|
Name=Nom
|
||||||
Value=Valeur
|
Value=Valeur
|
||||||
Type=Type
|
Type=Type
|
||||||
@ -18,4 +22,6 @@ Note=Note
|
|||||||
Action=Action
|
Action=Action
|
||||||
About=A propos
|
About=A propos
|
||||||
WelcomeString=<font class="body">Nous sommes le</font> %s<font class="body">, et vous êtes connectés sous le user</font> %s
|
WelcomeString=<font class="body">Nous sommes le</font> %s<font class="body">, et vous êtes connectés sous le user</font> %s
|
||||||
|
Number=Nombre
|
||||||
|
DevelopmentTeam=Equipe de développement
|
||||||
|
Logout=Deconnexion
|
||||||
|
|||||||
3
htdocs/langs/fr_FR/members.lang
Normal file
3
htdocs/langs/fr_FR/members.lang
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# Dolibarr language file - fr_FR - members
|
||||||
|
Members=Adhérents
|
||||||
|
Attributs=Attributs
|
||||||
2
htdocs/langs/fr_FR/other.lang
Normal file
2
htdocs/langs/fr_FR/other.lang
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Dolibarr language file - fr_FR - other
|
||||||
|
Calendar=Calendrier
|
||||||
3
htdocs/langs/fr_FR/products.lang
Normal file
3
htdocs/langs/fr_FR/products.lang
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# Dolibarr language file - fr_FR - products
|
||||||
|
Products=Produits
|
||||||
|
Services=Services
|
||||||
2
htdocs/langs/fr_FR/suppliers.lang
Normal file
2
htdocs/langs/fr_FR/suppliers.lang
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Dolibarr language file - fr_FR - suppliers
|
||||||
|
Suppliers=Fournisseurs
|
||||||
@ -444,11 +444,11 @@ function top_menu($head, $title="", $target="")
|
|||||||
print $langs->lang_header();
|
print $langs->lang_header();
|
||||||
print $head;
|
print $head;
|
||||||
|
|
||||||
print '<link rel="top" title="Accueil" href="'.DOL_URL_ROOT.'/">';
|
print '<link rel="top" title="'.$langs->trans("Home").'" href="'.DOL_URL_ROOT.'/">';
|
||||||
print '<link rel="help" title="Aide" href="http://www.dolibarr.com/aide.fr.html">';
|
print '<link rel="help" title="'.$langs->trans("Help").'" href="http://www.dolibarr.com/aide.fr.html">';
|
||||||
|
|
||||||
print '<link rel="copyright" title="GNU General Public License" href="http://www.gnu.org/copyleft/gpl.html#SEC1">'."\n";
|
print '<link rel="copyright" title="GNU General Public License" href="http://www.gnu.org/copyleft/gpl.html#SEC1">'."\n";
|
||||||
print '<link rel="author" title="Equipe de développement" href="http://www.dolibarr.com/dev.fr.html">'."\n";
|
print '<link rel="author" title="'.$langs->trans("DevelopmentTeam").'" href="http://www.dolibarr.com/dev.fr.html">'."\n";
|
||||||
|
|
||||||
print '<link rel="stylesheet" type="text/css" media="print" HREF="'.DOL_URL_ROOT.'/theme/print.css">'."\n";
|
print '<link rel="stylesheet" type="text/css" media="print" HREF="'.DOL_URL_ROOT.'/theme/print.css">'."\n";
|
||||||
print '<link rel="stylesheet" type="text/css" title="default" href="'.DOL_URL_ROOT.'/'.$conf->css.'">'."\n";
|
print '<link rel="stylesheet" type="text/css" title="default" href="'.DOL_URL_ROOT.'/'.$conf->css.'">'."\n";
|
||||||
@ -486,8 +486,7 @@ function top_menu($head, $title="", $target="")
|
|||||||
{
|
{
|
||||||
print '<table class="topbarre" width="100%">';
|
print '<table class="topbarre" width="100%">';
|
||||||
print "<tr><td>Votre système nécessite d'être mis à jour. ";
|
print "<tr><td>Votre système nécessite d'être mis à jour. ";
|
||||||
print "Pour cela ";
|
print 'Pour cela cliquez sur <A href="'.DOL_URL_ROOT.'/admin/system/update.php">Mettre à jour</A> !!</td></tr>';
|
||||||
print 'cliquez sur <A href="'.DOL_URL_ROOT.'/admin/system/update.php">Mettre à jour</A> !!</td></tr>';
|
|
||||||
print "</table>";
|
print "</table>";
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -504,7 +503,7 @@ function top_menu($head, $title="", $target="")
|
|||||||
$class="";
|
$class="";
|
||||||
if ($_SESSION["topmenu"] && $_SESSION["topmenu"] == "accueil") { $class="menusel"; }
|
if ($_SESSION["topmenu"] && $_SESSION["topmenu"] == "accueil") { $class="menusel"; }
|
||||||
elseif (ereg("^".DOL_URL_ROOT."\/[^\\\/]+$",$PHP_SELF) || ereg("^".DOL_URL_ROOT."\/user\/",$PHP_SELF) || ereg("^".DOL_URL_ROOT."\/admin\/",$PHP_SELF)) { $class="menusel"; }
|
elseif (ereg("^".DOL_URL_ROOT."\/[^\\\/]+$",$PHP_SELF) || ereg("^".DOL_URL_ROOT."\/user\/",$PHP_SELF) || ereg("^".DOL_URL_ROOT."\/admin\/",$PHP_SELF)) { $class="menusel"; }
|
||||||
print '<td width="200" class="menu"><table cellpadding=0 cellspacing=0 width="100%"><tr><td class="'.$class.'" align=center><a class="'.$class.'" href="'.DOL_URL_ROOT.'/index.php"'.($target?" target=$target":"").'>Accueil</a></td></tr></table></td>';
|
print '<td width="200" class="menu"><table cellpadding=0 cellspacing=0 width="100%"><tr><td class="'.$class.'" align=center><a class="'.$class.'" href="'.DOL_URL_ROOT.'/index.php"'.($target?" target=$target":"").'>'.$langs->trans("Home").'</a></td></tr></table></td>';
|
||||||
|
|
||||||
// Sommet géré par gestionnaire de menu du haut
|
// Sommet géré par gestionnaire de menu du haut
|
||||||
print '<td class="menu">';
|
print '<td class="menu">';
|
||||||
@ -522,7 +521,7 @@ function top_menu($head, $title="", $target="")
|
|||||||
print '<a href="'.DOL_URL_ROOT.'/user/fiche.php?id='.$user->id.'">'.$user->login.'</a>' ;
|
print '<a href="'.DOL_URL_ROOT.'/user/fiche.php?id='.$user->id.'">'.$user->login.'</a>' ;
|
||||||
|
|
||||||
print '<a href="'.DOL_URL_ROOT.'/user/logout.php">';
|
print '<a href="'.DOL_URL_ROOT.'/user/logout.php">';
|
||||||
print '<img border="0" src="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/logout.png" alt="Logout" title="Logout"></a>';
|
print '<img border="0" src="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/logout.png" alt="'.$langs->trans("Logout").'" title="'.$langs->trans("Logout").'"></a>';
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -550,7 +549,7 @@ function top_menu($head, $title="", $target="")
|
|||||||
*/
|
*/
|
||||||
Function left_menu($menu, $help_url='', $form_search='', $author='')
|
Function left_menu($menu, $help_url='', $form_search='', $author='')
|
||||||
{
|
{
|
||||||
global $user, $conf, $rtplang;
|
global $user, $conf, $langs;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Colonne de gauche
|
* Colonne de gauche
|
||||||
@ -572,6 +571,7 @@ Function left_menu($menu, $help_url='', $form_search='', $author='')
|
|||||||
|
|
||||||
if ((defined("MAIN_SEARCHFORM_SOCIETE") && MAIN_SEARCHFORM_SOCIETE > 0) || (defined("MAIN_SEARCHFORM_CONTACT") && MAIN_SEARCHFORM_CONTACT > 0))
|
if ((defined("MAIN_SEARCHFORM_SOCIETE") && MAIN_SEARCHFORM_SOCIETE > 0) || (defined("MAIN_SEARCHFORM_CONTACT") && MAIN_SEARCHFORM_CONTACT > 0))
|
||||||
{
|
{
|
||||||
|
$langs->load("companies");
|
||||||
print '<div class="leftmenu">'."\n";
|
print '<div class="leftmenu">'."\n";
|
||||||
|
|
||||||
if (defined("MAIN_SEARCHFORM_SOCIETE") && MAIN_SEARCHFORM_SOCIETE > 0)
|
if (defined("MAIN_SEARCHFORM_SOCIETE") && MAIN_SEARCHFORM_SOCIETE > 0)
|
||||||
@ -584,7 +584,7 @@ Function left_menu($menu, $help_url='', $form_search='', $author='')
|
|||||||
{
|
{
|
||||||
print '<form action="'.DOL_URL_ROOT.'/societe.php">';
|
print '<form action="'.DOL_URL_ROOT.'/societe.php">';
|
||||||
}
|
}
|
||||||
print '<A class="menu" href="'.DOL_URL_ROOT.'/comm/clients.php">Societes</A><br>';
|
print '<a class="menu" href="'.DOL_URL_ROOT.'/comm/clients.php">'.$langs->trans("Companies").'</a><br>';
|
||||||
print '<input type="hidden" name="mode" value="search">';
|
print '<input type="hidden" name="mode" value="search">';
|
||||||
print '<input type="hidden" name="page" value="0">';
|
print '<input type="hidden" name="page" value="0">';
|
||||||
print '<input type="hidden" name="mode-search" value="soc">';
|
print '<input type="hidden" name="mode-search" value="soc">';
|
||||||
@ -595,8 +595,8 @@ Function left_menu($menu, $help_url='', $form_search='', $author='')
|
|||||||
|
|
||||||
if (defined("MAIN_SEARCHFORM_CONTACT") && MAIN_SEARCHFORM_CONTACT > 0)
|
if (defined("MAIN_SEARCHFORM_CONTACT") && MAIN_SEARCHFORM_CONTACT > 0)
|
||||||
{
|
{
|
||||||
print '<form action="'.DOL_URL_ROOT.'/contact/index.php">';
|
print '<form action="'.DOL_URL_ROOT.'/contact/index.php">';
|
||||||
print '<A class="menu" href="'.DOL_URL_ROOT.'/contact/index.php">Contacts</A><br>';
|
print '<A class="menu" href="'.DOL_URL_ROOT.'/contact/index.php">'.$langs->trans("Contacts").'</A><br>';
|
||||||
print '<input type="hidden" name="mode" value="search">';
|
print '<input type="hidden" name="mode" value="search">';
|
||||||
print '<input type="hidden" name="mode-search" value="contact">';
|
print '<input type="hidden" name="mode-search" value="contact">';
|
||||||
print '<input type="text" class="flat" name="contactname" size="10"> ';
|
print '<input type="text" class="flat" name="contactname" size="10"> ';
|
||||||
@ -606,8 +606,9 @@ Function left_menu($menu, $help_url='', $form_search='', $author='')
|
|||||||
|
|
||||||
if ($conf->produit->enabled)
|
if ($conf->produit->enabled)
|
||||||
{
|
{
|
||||||
|
$langs->load("products");
|
||||||
print '<form action="'.DOL_URL_ROOT.'/product/liste.php" method="post">';
|
print '<form action="'.DOL_URL_ROOT.'/product/liste.php" method="post">';
|
||||||
print '<A class="menu" href="'.DOL_URL_ROOT.'/product/">Produits</A><br>';
|
print '<A class="menu" href="'.DOL_URL_ROOT.'/product/">'.$langs->trans("Products").'</A><br>';
|
||||||
print '<input type="text" class="flat" name="sall" size="10"> ';
|
print '<input type="text" class="flat" name="sall" size="10"> ';
|
||||||
print '<input type="submit" class="flat" value="go">';
|
print '<input type="submit" class="flat" value="go">';
|
||||||
print "</form>\n";
|
print "</form>\n";
|
||||||
|
|||||||
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
require("pre.inc.php");
|
require("pre.inc.php");
|
||||||
|
|
||||||
$langs->load("soc");
|
$langs->load("companies");
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user