Added option to hide HTMLy version publicly and added version to admin layout

A configuration setting has been added to allow users to hide the version of HTMLy from the source code publicly as a security precaution. The version has been added to the admin layout for easier visibility for admins.
This commit is contained in:
KuJoe 2024-05-22 10:16:25 -04:00
commit a35e503fbf
5 changed files with 30 additions and 4 deletions

View file

@ -328,7 +328,7 @@ if (isset($_GET['search'])) {
<small><?php echo i18n('Admin_panel_style_based_on');?> <a rel="nofollow" target="_blank" href="https://github.com/ColorlibHQ/AdminLTE">AdminLTE</a></small>
</div>
<!-- Default to the left -->
<?php echo i18n('Proudly_powered_by');?> <a href="https://www.htmly.com" target="_blank">HTMLy</a>
<?php echo i18n('Proudly_powered_by');?> <a href="https://www.htmly.com" target="_blank"><?php echo 'HTMLy ' . constant('HTMLY_VERSION'); ?></a>
</footer>
</div>
<!-- ./wrapper -->