From ff624068532746ed7457701283c3b05fa5fae3bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Didier=20Clermont=C3=A9?= Date: Sat, 28 Aug 2021 18:44:20 +0200 Subject: [PATCH] Added version number (#4871). --- app/inc/smarty.php | 3 +++ tpl/header.tpl | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/inc/smarty.php b/app/inc/smarty.php index ff77dde..def88dd 100644 --- a/app/inc/smarty.php +++ b/app/inc/smarty.php @@ -106,3 +106,6 @@ function smarty_modifier_locale_2_lang($locale) { function path_for_datepicker_locale($lang) { return __DIR__ . '/../../js/locales/bootstrap-datepicker.' . $lang . '.js'; } + +# Customization #4871 par Didier le 28/08/2021. +$smarty->assign('VERSION',VERSION); \ No newline at end of file diff --git a/tpl/header.tpl b/tpl/header.tpl index 5f68c92..099a759 100644 --- a/tpl/header.tpl +++ b/tpl/header.tpl @@ -15,9 +15,10 @@ {/if}

- + {$APPLICATION_NAME|html} +  version chapril-{$VERSION|html}

{if !empty($title)}

{$title|html}

{/if}