diff options
author | Jonas Kohl | 2024-12-22 13:06:42 +0100 |
---|---|---|
committer | Jonas Kohl | 2024-12-22 13:06:42 +0100 |
commit | 08e4128ddce9dcffe0a4224ae57ad664609935b2 (patch) | |
tree | 87f5160bfa5203d46c5c301d530e51d11cf5efe7 /src/application/templates | |
parent | bf15bdf4639c61d9855cc76b4e58463eabbd6760 (diff) |
Add statisticsv0.7.0
Diffstat (limited to 'src/application/templates')
-rw-r--r-- | src/application/templates/old/base.twig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/application/templates/old/base.twig b/src/application/templates/old/base.twig index bdad515..bdb9768 100644 --- a/src/application/templates/old/base.twig +++ b/src/application/templates/old/base.twig @@ -73,6 +73,14 @@ © {{ "now"|date("Y") }} {{ g.env.MYSTIC_FORUM_COPYRIGHT|default(g.env.MYSTIC_FORUM_TITLE)|default("Forum") }}. Powered by <a href="https://git.jkohl.link/mystic-forum.git/tag/?h=v{{ constant("MYSTICBB_VERSION")|url_encode }}">mysticBB v{{ constant("MYSTICBB_VERSION") }}</a>. </td> + <td align="center"> + {{ __("Page generation took %dur% second(s)", { + dur: getRunTime()|round(3), + }) }}<br> + {{ __("Number of database queries: %count%", { + count: getQueryCount(), + }) }} + </td> <td align="right"> <table><tr><td> <form action="?_action=settheme" method="post"> |