diff --git a/templates/aide.tpl b/templates/aide.tpl index 6c17205..f84b14d 100644 --- a/templates/aide.tpl +++ b/templates/aide.tpl @@ -1,4 +1,4 @@ -{include file="_head.tpl" title="Aide — %s"|args:$plugin.name current="plugin_%s"|args:$plugin.id} +{include file="_head.tpl" title="Aide — %s"|args:$plugin.name current="plugin_%s"|args:$plugin.name} {include file="%s/templates/_menu.tpl"|args:$plugin_root current="aide"}

Quelques remarques et conseils sur l'utilisation du plugin Facturation

diff --git a/templates/client.tpl b/templates/client.tpl index 6f689a8..f9d5609 100644 --- a/templates/client.tpl +++ b/templates/client.tpl @@ -1,4 +1,4 @@ -{include file="_head.tpl" title="Client — %s"|args:$plugin.name current="plugin_%s"|args:$plugin.id js=0} +{include file="_head.tpl" title="Client — %s"|args:$plugin.name current="plugin_%s"|args:$plugin.name js=0} {include file="%s/templates/_menu_client.tpl"|args:$plugin_root current="client"}
diff --git a/templates/client_modifier.tpl b/templates/client_modifier.tpl index b00c2cb..62f713b 100644 --- a/templates/client_modifier.tpl +++ b/templates/client_modifier.tpl @@ -1,4 +1,4 @@ -{include file="_head.tpl" title="Modifier un client — %s"|args:$plugin.name current="plugin_%s"|args:$plugin.id js=0} +{include file="_head.tpl" title="Modifier un client — %s"|args:$plugin.name current="plugin_%s"|args:$plugin.name js=0} {include file="%s/templates/_menu_client.tpl"|args:$plugin_root current="client_modifier"} {form_errors} diff --git a/templates/client_supprimer.tpl b/templates/client_supprimer.tpl index de3becb..5759d2f 100644 --- a/templates/client_supprimer.tpl +++ b/templates/client_supprimer.tpl @@ -1,4 +1,4 @@ -{include file="_head.tpl" title="Supprimer un client — %s"|args:$plugin.name current="plugin_%s"|args:$plugin.id js=0} +{include file="_head.tpl" title="Supprimer un client — %s"|args:$plugin.name current="plugin_%s"|args:$plugin.name js=0} {include file="%s/templates/_menu_client.tpl"|args:$plugin_root current="client_supprimer"} {if !$deletable} @@ -12,4 +12,4 @@ {/if} -{include file="_foot.tpl"} \ No newline at end of file +{include file="_foot.tpl"} diff --git a/templates/clients.tpl b/templates/clients.tpl index 06fea3d..2c30760 100644 --- a/templates/clients.tpl +++ b/templates/clients.tpl @@ -1,4 +1,4 @@ -{include file="_head.tpl" title="Clients — %s"|args:$plugin.name current="plugin_%s"|args:$plugin.id js=1} +{include file="_head.tpl" title="Clients — %s"|args:$plugin.name current="plugin_%s"|args:$plugin.name js=1} {include file="%s/templates/_menu.tpl"|args:$plugin_root current="clients"} {if $list->count()} diff --git a/templates/config.tpl b/templates/config.tpl index 60c62c1..5bde404 100644 --- a/templates/config.tpl +++ b/templates/config.tpl @@ -1,4 +1,4 @@ -{include file="_head.tpl" title="Configuration — %s"|args:$plugin.name current="plugin_%s"|args:$plugin.id} +{include file="_head.tpl" title="Configuration — %s"|args:$plugin.name current="plugin_%s"|args:$plugin.name} {include file="%s/templates/_menu.tpl"|args:$plugin_root current="config"} {if $ok && !$form->hasErrors()} diff --git a/templates/facture.tpl b/templates/facture.tpl index 9248779..1464bc4 100644 --- a/templates/facture.tpl +++ b/templates/facture.tpl @@ -1,4 +1,4 @@ -{include file="_head.tpl" title="Document — %s"|args:$plugin.name current="plugin_%s"|args:$plugin.id} +{include file="_head.tpl" title="Document — %s"|args:$plugin.name current="plugin_%s"|args:$plugin.name} {include file="%s/templates/_menu.tpl"|args:$plugin_root current="index"} {form_errors} diff --git a/templates/facture_ajouter.tpl b/templates/facture_ajouter.tpl index e4add63..3730550 100644 --- a/templates/facture_ajouter.tpl +++ b/templates/facture_ajouter.tpl @@ -1,4 +1,4 @@ -{include file="_head.tpl" title="Créer un document — %s"|args:$plugin.name current="plugin_%s"|args:$plugin.id js=1} +{include file="_head.tpl" title="Créer un document — %s"|args:$plugin.name current="plugin_%s"|args:$plugin.name js=1} {include file="%s/templates/_menu.tpl"|args:$plugin_root current="facture"} {include file="%s/templates/_form.tpl"|args:$plugin_root} diff --git a/templates/facture_modifier.tpl b/templates/facture_modifier.tpl index 77dd30b..73fb70d 100644 --- a/templates/facture_modifier.tpl +++ b/templates/facture_modifier.tpl @@ -1,4 +1,4 @@ -{include file="_head.tpl" title="Modifier un document — %s"|args:$plugin.name current="plugin_%s"|args:$plugin.id js=1} +{include file="_head.tpl" title="Modifier un document — %s"|args:$plugin.name current="plugin_%s"|args:$plugin.name js=1} {include file="%s/templates/_menu.tpl"|args:$plugin_root current="index"} {include file="%s/templates/_form.tpl"|args:$plugin_root} diff --git a/templates/facture_supprimer.tpl b/templates/facture_supprimer.tpl index 4ba5791..3f9c761 100644 --- a/templates/facture_supprimer.tpl +++ b/templates/facture_supprimer.tpl @@ -1,4 +1,4 @@ -{include file="_head.tpl" title="Supprimer un document — %s"|args:$plugin.name current="plugin_%s"|args:$plugin.id js=0} +{include file="_head.tpl" title="Supprimer un document — %s"|args:$plugin.name current="plugin_%s"|args:$plugin.name js=0} {include file="%s/templates/_menu.tpl"|args:$plugin_root current="index"} {form_errors} @@ -22,4 +22,4 @@ -{include file="_foot.tpl"} \ No newline at end of file +{include file="_foot.tpl"} diff --git a/templates/index.tpl b/templates/index.tpl index fd673cb..b6da4de 100644 --- a/templates/index.tpl +++ b/templates/index.tpl @@ -1,4 +1,4 @@ -{include file="_head.tpl" title="Documents — %s"|args:$plugin.name current="plugin_%s"|args:$plugin.id} +{include file="_head.tpl" title="Documents — %s"|args:$plugin.name current="plugin_%s"|args:$plugin.name} {include file="%s/templates/_menu.tpl"|args:$plugin_root current="index"} {form_errors}