Look: picto working mis dans chaque theme
@@ -407,7 +407,7 @@ class Form
|
||||
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
|
||||
@@ -819,7 +819,7 @@ class Form
|
||||
if ($conf->global->PRODUIT_USE_SEARCH_TO_SELECT)
|
||||
{
|
||||
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
|
||||
{
|
||||
@@ -972,7 +972,7 @@ class Form
|
||||
if ($conf->global->PRODUIT_USE_SEARCH_TO_SELECT)
|
||||
{
|
||||
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
|
||||
{
|
||||
|
||||
@@ -20,13 +20,13 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
\defgroup menuDb Module menuDb
|
||||
\defgroup menudb Module menu Db
|
||||
\brief Module pour administrer les menus par bdd
|
||||
*/
|
||||
|
||||
/**
|
||||
\file htdocs/includes/modules/modMenuBd.class.php
|
||||
\ingroup menuDb
|
||||
\ingroup menudb
|
||||
\brief Fichier de description et activation du module menuDb
|
||||
*/
|
||||
|
||||
|
||||
@@ -2619,10 +2619,10 @@ function num_lines($texte)
|
||||
\param keysearch nom et id compl<70>mentaire du champ de collecte
|
||||
\param url chemin du fichier de r<>ponse : /chemin/fichier.php
|
||||
\param option champ suppl<70>mentaire de recherche dans les param<61>tres
|
||||
\param indicator nom de l'image gif
|
||||
\param indicator nom de l'image gif sans l'extension
|
||||
\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.= '<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<75>re la valeur d'un champ, effectue un traitement Ajax et affiche le r<>sultat
|
||||
\param htmlname nom et id du champ
|
||||
\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
|
||||
*/
|
||||
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.= '<input type="hidden" name="'.$htmlname.'_id" id="'.$htmlname.'_id" value="'.$selected.'" />';
|
||||
|
||||
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
BIN
htdocs/theme/dev/img/working.gif
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
htdocs/theme/dolibarr/img/working.gif
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
htdocs/theme/eldy/img/working.gif
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
htdocs/theme/freelug/img/working.gif
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
htdocs/theme/yellow/img/working.gif
Normal file
|
After Width: | Height: | Size: 2.4 KiB |