Skip to content
Extraits de code Groupes Projets
Valider 3502d148 rédigé par esj's avatar esj
Parcourir les fichiers

generer_url_ecrire dans JS. Sportif

parent 802e9209
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -671,8 +671,8 @@ function afficher_script_statut($id, $type, $n, $img, $statut, $title, $act) ...@@ -671,8 +671,8 @@ function afficher_script_statut($id, $type, $n, $img, $statut, $title, $act)
{ {
return http_href_img("javascript:selec_statut('$id', '$type', -1, '" . return http_href_img("javascript:selec_statut('$id', '$type', -1, '" .
_DIR_IMG_PACK . $img . _DIR_IMG_PACK . $img .
"', '$statut', '" . "', '" .
generer_url_ecrire('iframe_action') . generer_url_ecrire('iframe_action', "action=$type"."s&id=$id&statut=$statut",false,true) .
"');", "');",
$img, $img,
"title=\"".$title."\"", "title=\"".$title."\"",
......
...@@ -58,7 +58,7 @@ function decalerCouche(id_couche) { ...@@ -58,7 +58,7 @@ function decalerCouche(id_couche) {
var accepter_change_statut; var accepter_change_statut;
function selec_statut(id, type, decal, puce, statut, script) { function selec_statut(id, type, decal, puce, script) {
if (!accepter_change_statut) { if (!accepter_change_statut) {
accepter_change_statut = confirm(confirm_changer_statut) accepter_change_statut = confirm(confirm_changer_statut)
...@@ -69,8 +69,7 @@ function selec_statut(id, type, decal, puce, statut, script) { ...@@ -69,8 +69,7 @@ function selec_statut(id, type, decal, puce, statut, script) {
cacher ('statutdecal'+type+id); cacher ('statutdecal'+type+id);
findObj('imgstatut'+type+id).src = puce; findObj('imgstatut'+type+id).src = puce;
frames['iframe_action'].location.href = frames['iframe_action'].location.href = script;
script + '?action=' + type + 's' + '&id='+id+'&statut='+statut;
} }
} }
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter