2
0
forked from Wavyzz/dolibarr

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

@@ -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.'" />';