From 42c4bb04ab9916c30526bbed8914d31f645a3eef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Dufraisse?= Date: Mon, 12 Jul 2021 18:28:59 +0200 Subject: [PATCH] feat(editconfig): add htmltopdf_service_url parameter --- config.yaml | 4 ++++ lang/publication_fr.inc.php | 3 +++ 2 files changed, 7 insertions(+) diff --git a/config.yaml b/config.yaml index 612e51d..56a0e64 100644 --- a/config.yaml +++ b/config.yaml @@ -25,3 +25,7 @@ parameters: # Use cases: reverse-proxy, within a YesWiki Docker container. htmltopdf_base_url: ~ #htmltopdf_base_url: http://localhost:8000/? + # + # for edit config action + publication_editable_config_params: + - 'htmltopdf_service_url' diff --git a/lang/publication_fr.inc.php b/lang/publication_fr.inc.php index 41f3d15..1c9e6ba 100644 --- a/lang/publication_fr.inc.php +++ b/lang/publication_fr.inc.php @@ -129,5 +129,8 @@ 'AB_publication_publicationgenerator_template_hint' => 'ex: exportpages_table.tpl.html', 'AB_publication_publicationlist_label' => 'Liste des publications', 'AB_publication_publicationlist_pagenameprefix_label' => 'prefix de page', + + // edit config + 'EDIT_CONFIG_HINT_htmltopdf_service_url' => 'Adresse externe d\'un service chronium (exemple: https://example.org/yeswiki/?PagePrincipale/pdf)', ) );