diff --git a/action/comptetraduction_export.php b/action/comptetraduction_export.php new file mode 100644 index 0000000000000000000000000000000000000000..4a718b7b36bc0138e3c6eedeb7877bd0e97b4f33 --- /dev/null +++ b/action/comptetraduction_export.php @@ -0,0 +1,14 @@ +<?php +if (!defined("_ECRIRE_INC_VERSION")) return; + +function action_comptetraduction_export_dist(){ + $securiser_action = charger_fonction('securiser_action', 'inc'); + $arg = $securiser_action(); + + recuperer_fond('inclure/comptetraduction_export', array( + 'id_mot' => _request('id_mot'), + 'lang' => _request('lang') + )); + + return; +} \ No newline at end of file diff --git a/comptetraduction.html b/comptetraduction.html index 5bdbe0b94439ce373c5be231ad216d682a8151fc..8bc1f3e21a87aa85f7439b2f89a310b9548c5a2a 100644 --- a/comptetraduction.html +++ b/comptetraduction.html @@ -11,7 +11,7 @@ <li><a href="[(#SELF|parametre_url{id_mot,113})]">Seulement les textes marqués à traduire</a> / <a href="[(#SELF|parametre_url{id_mot,''})]">Tous</a></li> <li><a href="[(#SELF|parametre_url{textes,oui})]">Récupérer les textes</a></li> <li><a href="[(#SELF|parametre_url{textes,spip})]">Récupérer les textes au format SPIP</a></li> -<li><a href="[(#URL_PAGE{comptetraduction_export}|parametre_url{id_mot,#ENV{id_mot,''}}|parametre_url{lang,#ENV{lang,#CONFIG{langue_site}}})]">Récupérer les textes au format SPIP sous Excel</a></li> +<li><a href="[(#URL_ACTION_AUTEUR{comptetraduction_export}|parametre_url{id_mot,#ENV{id_mot,''}}|parametre_url{lang,#ENV{lang,#CONFIG{langue_site}}})]">Récupérer les textes au format SPIP sous Excel</a></li> </ol>] [(#ENV{textes}|=={oui}|oui) <h1>#NOM_SITE_SPIP</h1> diff --git a/comptetraduction_export.html b/inclure/comptetraduction_export.html similarity index 100% rename from comptetraduction_export.html rename to inclure/comptetraduction_export.html diff --git a/comptetraduction_export_fonctions.php b/inclure/comptetraduction_export_fonctions.php similarity index 100% rename from comptetraduction_export_fonctions.php rename to inclure/comptetraduction_export_fonctions.php