suppresssion module.url dans redirect

This commit is contained in:
Jean-Christophe Engel 2024-12-02 10:47:38 +01:00
parent b5afcb8ea3
commit edcecfd9e2
4 changed files with 8 additions and 8 deletions

View File

@ -114,17 +114,17 @@
<td class="actions"> <td class="actions">
{{:linkbutton {{:linkbutton
label="Dupliquer" label="Dupliquer"
href="%smouvements/dupliquer_mouvement.html?key=%s&direction=%s&prop=%s"|args:$module.url:$key:$direction:$_GET.prop href="mouvements/dupliquer_mouvement.html?key=%s&direction=%s&prop=%s"|args:$key:$direction:$_GET.prop
shape="plus" shape="plus"
target="_dialog"}} target="_dialog"}}
{{:linkbutton {{:linkbutton
label="Modifier" label="Modifier"
href="%smouvements/modifier_mouvement.html?key=%s&direction=%s&prop=%s"|args:$module.url:$key:$direction:$_GET.prop href="mouvements/modifier_mouvement.html?key=%s&direction=%s&prop=%s"|args:$key:$direction:$_GET.prop
shape="edit" shape="edit"
target="_dialog"}} target="_dialog"}}
{{:linkbutton {{:linkbutton
label="Supprimer" label="Supprimer"
href="%smouvements/supprimer_mouvement.html?key=%s&direction=%s&prop=%s"|args:$module.url:$key:$direction:$_GET.prop href="mouvements/supprimer_mouvement.html?key=%s&direction=%s&prop=%s"|args:$key:$direction:$_GET.prop
shape="delete" shape="delete"
target="_dialog"}} target="_dialog"}}
</td> </td>

View File

@ -98,11 +98,11 @@
target="_dialog"}} target="_dialog"}}
{{:linkbutton {{:linkbutton
label="Mouvements" label="Mouvements"
href="%shistorique.html?key=%s&prop=1"|args:$module.url:$equipment href="historique.html?key=%s&prop=1"|args:$equipment
shape="table"}} shape="table"}}
{{:linkbutton {{:linkbutton
label="Modifier" label="Modifier"
href="%smodifier_materiel.html?key=%s&prop=1"|args:$module.url:$equipment href="modifier_materiel.html?key=%s&prop=1"|args:$equipment
shape="edit" shape="edit"
target="_dialog"}} target="_dialog"}}
</td> </td>

View File

@ -84,11 +84,11 @@
target="_dialog"}} target="_dialog"}}
{{:linkbutton {{:linkbutton
label="Mouvements" label="Mouvements"
href="%shistorique.html?key=%s&prop=0"|args:$module.url:$equipment href="historique.html?key=%s&prop=0"|args:$equipment
shape="table"}} shape="table"}}
{{:linkbutton {{:linkbutton
label="Modifier" label="Modifier"
href="%smodifier_materiel.html?key=%s&prop=0"|args:$module.url:$equipment href="modifier_materiel.html?key=%s&prop=0"|args:$equipment
shape="edit" shape="edit"
target="_dialog"}} target="_dialog"}}
</td> </td>

View File

@ -59,7 +59,7 @@
{{else}} {{else}}
{{:assign prop=1}} {{:assign prop=1}}
{{/if}} {{/if}}
{{:redirect force="%sindex.html?ok=1&msg=entrée&prop=%s"|args:$module.url:$prop}} {{:redirect force="../../index.html?ok=1&msg=entrée&prop=%s"|args:$prop}}
{{else}} {{else}}
{{:form_errors}} {{:form_errors}}
{{/form}} {{/form}}