Look: picto working mis dans chaque theme

This commit is contained in:
Laurent Destailleur 2007-05-09 09:37:28 +00:00
parent 192acfe422
commit 31fa87b4d8
9 changed files with 9 additions and 9 deletions

View File

@ -407,7 +407,7 @@ class Form
print '<input type="text" size="45" id="pays" name="pays" value="'.$obj->libelle.'" '.$htmloption.' />'; print '<input type="text" size="45" id="pays" name="pays" value="'.$obj->libelle.'" '.$htmloption.' />';
} }
print ajax_autocompleter($pays_id,'pays','/societe/ajaxcountries.php','ajaxworking'); print ajax_autocompleter($pays_id,'pays','/societe/ajaxcountries.php','working');
} }
else else
@ -819,7 +819,7 @@ class Form
if ($conf->global->PRODUIT_USE_SEARCH_TO_SELECT) if ($conf->global->PRODUIT_USE_SEARCH_TO_SELECT)
{ {
print $langs->trans("RefOrLabel").' : <input type="text" size="16" name="keysearch'.$htmlname.'" id="keysearch'.$htmlname.'">'; print $langs->trans("RefOrLabel").' : <input type="text" size="16" name="keysearch'.$htmlname.'" id="keysearch'.$htmlname.'">';
print ajax_updater($htmlname,'keysearch','/product/ajaxproducts.php','&price_level='.$price_level.'&type=1','ajaxworking'); print ajax_updater($htmlname,'keysearch','/product/ajaxproducts.php','&price_level='.$price_level.'&type=1','working');
} }
else else
{ {
@ -972,7 +972,7 @@ class Form
if ($conf->global->PRODUIT_USE_SEARCH_TO_SELECT) if ($conf->global->PRODUIT_USE_SEARCH_TO_SELECT)
{ {
print $langs->trans("RefOrLabel").' : <input type="text" size="16" name="keysearch'.$htmlname.'" id="keysearch'.$htmlname.'">'; print $langs->trans("RefOrLabel").' : <input type="text" size="16" name="keysearch'.$htmlname.'" id="keysearch'.$htmlname.'">';
print ajax_updater($htmlname,'keysearch','/product/ajaxproducts.php','&socid='.$socid.'&type=2','ajaxworking'); print ajax_updater($htmlname,'keysearch','/product/ajaxproducts.php','&socid='.$socid.'&type=2','working');
} }
else else
{ {

View File

@ -20,13 +20,13 @@
*/ */
/** /**
\defgroup menuDb Module menuDb \defgroup menudb Module menu Db
\brief Module pour administrer les menus par bdd \brief Module pour administrer les menus par bdd
*/ */
/** /**
\file htdocs/includes/modules/modMenuBd.class.php \file htdocs/includes/modules/modMenuBd.class.php
\ingroup menuDb \ingroup menudb
\brief Fichier de description et activation du module menuDb \brief Fichier de description et activation du module menuDb
*/ */

View File

@ -2619,10 +2619,10 @@ function num_lines($texte)
\param keysearch nom et id complémentaire du champ de collecte \param keysearch nom et id complémentaire du champ de collecte
\param url chemin du fichier de réponse : /chemin/fichier.php \param url chemin du fichier de réponse : /chemin/fichier.php
\param option champ supplémentaire de recherche dans les paramètres \param option champ supplémentaire de recherche dans les paramètres
\param indicator nom de l'image gif \param indicator nom de l'image gif sans l'extension
\return script script complet \return script script complet
*/ */
function ajax_updater($htmlname,$keysearch,$url,$option='',$indicator='ajaxworking') function ajax_updater($htmlname,$keysearch,$url,$option='',$indicator='working')
{ {
$script = '<input type="hidden" name="'.$htmlname.'" id="'.$htmlname.'" value="">'; $script = '<input type="hidden" name="'.$htmlname.'" id="'.$htmlname.'" value="">';
$script.= '<span id="indicator'.$htmlname.'" style="display: none">'.img_gif('Working...',$indicator).'</span>'; $script.= '<span id="indicator'.$htmlname.'" style="display: none">'.img_gif('Working...',$indicator).'</span>';
@ -2654,10 +2654,10 @@ function ajax_updater($htmlname,$keysearch,$url,$option='',$indicator='ajaxworki
\brief Récupère la valeur d'un champ, effectue un traitement Ajax et affiche le résultat \brief Récupère la valeur d'un champ, effectue un traitement Ajax et affiche le résultat
\param htmlname nom et id du champ \param htmlname nom et id du champ
\param url chemin du fichier de réponse : /chemin/fichier.php \param url chemin du fichier de réponse : /chemin/fichier.php
\param indicator nom de l'image gif \param indicator nom de l'image gif sans l'extension
\return script script complet \return script script complet
*/ */
function ajax_autocompleter($selected='',$htmlname,$url,$indicator='ajaxworking') function ajax_autocompleter($selected='',$htmlname,$url,$indicator='working')
{ {
$script.= '<span id="indicator'.$htmlname.'" style="display: none">'.img_gif('Working...',$indicator).'</span>'; $script.= '<span id="indicator'.$htmlname.'" style="display: none">'.img_gif('Working...',$indicator).'</span>';
$script.= '<input type="hidden" name="'.$htmlname.'_id" id="'.$htmlname.'_id" value="'.$selected.'" />'; $script.= '<input type="hidden" name="'.$htmlname.'_id" id="'.$htmlname.'_id" value="'.$selected.'" />';

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB