Fix public client IP extraction and hide duplicate footer creation date

- Enhance RequestLogger::getClientIp() with 2-pass detection prioritizing public IPs over proxy/internal IPs
- Hide footer creation date when identical to modification date to prevent duplicate date display
- Improve AdminAuth log helper and footer template tooltips
This commit is contained in:
2026-07-28 17:11:00 +02:00
parent 0626e8c6cc
commit e2d9ddd516
4 changed files with 47 additions and 21 deletions
+5 -3
View File
@@ -9,10 +9,12 @@
<span class="page-title d-none d-lg-inline" title="{{page_title}}">{{page_title}}</span>
{{#file_info_block}}
<span class="ms-2">
{{#show_created}}
<i class="bi bi-calendar-plus footer-icon" title="{{t_created}}: {{created}}"></i>
<span class="file-created">{{created}}</span>
<i class="bi bi-calendar-check ms-1 footer-icon" title="{{t_modified}}: {{modified}}"></i>
<span class="file-modified">{{modified}}</span>
<span class="file-created me-1" title="{{t_created}}: {{created}}">{{created}}</span>
{{/show_created}}
<i class="bi bi-calendar-check footer-icon" title="{{t_modified}}: {{modified}}"></i>
<span class="file-modified" title="{{t_modified}}: {{modified}}">{{modified}}</span>
</span>
{{/file_info_block}}
</small>