mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Gestion de la configuration pour afficher on non les formulaires de recherches
This commit is contained in:
parent
ffc9a36d0b
commit
1713b169ef
|
|
@ -195,25 +195,35 @@ Function left_menu($menu)
|
|||
|
||||
}
|
||||
|
||||
print '<tr><td class="barre" valign="top" align="right">';
|
||||
print '<A class="menu" href="/comm/clients.php3">Societes</A>';
|
||||
print '<form action="/comm/clients.php3">';
|
||||
print '<input type="hidden" name="mode" value="search">';
|
||||
print '<input type="hidden" name="mode-search" value="soc">';
|
||||
print '<input type="text" name="socname" class="flat" size="10"> ';
|
||||
print '<input type="submit" class="flat" value="go">';
|
||||
print '</form>';
|
||||
|
||||
print '<A class="menu" href="/comm/contact.php3">Contacts</A>';
|
||||
print '<form action="/comm/contact.php3">';
|
||||
print '<input type="hidden" name="mode" value="search">';
|
||||
print '<input type="hidden" name="mode-search" value="contact">';
|
||||
print '<input type="text" class="flat" name="contactname" size="10"> ';
|
||||
print '<input type="submit" class="flat" value="go">';
|
||||
print '</form>';
|
||||
print '</td></tr>';
|
||||
if (MAIN_SEARCHFORM_SOCIETE or MAIN_SEARCHFORM_CONTACT)
|
||||
{
|
||||
print '<tr><td class="barre" valign="top" align="right">';
|
||||
|
||||
if (MAIN_SEARCHFORM_SOCIETE)
|
||||
{
|
||||
print '<A class="menu" href="/comm/clients.php3">Societes</A>';
|
||||
print '<form action="/comm/clients.php3">';
|
||||
print '<input type="hidden" name="mode" value="search">';
|
||||
print '<input type="hidden" name="mode-search" value="soc">';
|
||||
print '<input type="text" name="socname" class="flat" size="10"> ';
|
||||
print '<input type="submit" class="flat" value="go">';
|
||||
print '</form>';
|
||||
}
|
||||
|
||||
if (MAIN_SEARCHFORM_CONTACT)
|
||||
{
|
||||
print '<A class="menu" href="/comm/contact.php3">Contacts</A>';
|
||||
print '<form action="/comm/contact.php3">';
|
||||
print '<input type="hidden" name="mode" value="search">';
|
||||
print '<input type="hidden" name="mode-search" value="contact">';
|
||||
print '<input type="text" class="flat" name="contactname" size="10"> ';
|
||||
print '<input type="submit" class="flat" value="go">';
|
||||
print '</form>';
|
||||
}
|
||||
print '</td></tr>';
|
||||
}
|
||||
print '</table>';
|
||||
|
||||
/*
|
||||
*
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user