mirror of
https://github.com/danpros/htmly.git
synced 2026-04-18 11:36:20 +05:30
Update version + cleaning up
This commit is contained in:
parent
33a29d1b2c
commit
5226e9c01c
33 changed files with 56 additions and 38 deletions
2
cache/installedVersion.json
vendored
2
cache/installedVersion.json
vendored
|
|
@ -1,3 +1,3 @@
|
||||||
{
|
{
|
||||||
"tag_name": "v2.9.8"
|
"tag_name": "v2.9.9"
|
||||||
}
|
}
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
define('HTMLY', true);
|
define('HTMLY', true);
|
||||||
define('HTMLY_VERSION', 'v2.9.8');
|
define('HTMLY_VERSION', 'v2.9.9');
|
||||||
$config_file = 'config/config.ini';
|
$config_file = 'config/config.ini';
|
||||||
require 'system/vendor/autoload.php';
|
require 'system/vendor/autoload.php';
|
||||||
require 'system/htmly.php';
|
require 'system/htmly.php';
|
||||||
|
|
|
||||||
|
|
@ -301,5 +301,5 @@ mfa_config = "Multi Factor Authentication (MFA)"
|
||||||
set_mfa_globally = "Set the status of MFA"
|
set_mfa_globally = "Set the status of MFA"
|
||||||
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
||||||
set_version_publicly = "Version Visibility"
|
set_version_publicly = "Version Visibility"
|
||||||
explain_version = "By default the version of HTMLy is visible publicly in the source code, some bots and bad actors can use this information for bad reasons so some admins may prefer to hide this."
|
explain_version = "By default the version of HTMLy is visible publicly in the source code, some admins may prefer to hide this."
|
||||||
focus_mode = "Toggle Focus"
|
focus_mode = "Toggle Focus"
|
||||||
|
|
|
||||||
|
|
@ -312,5 +312,5 @@ mfa_config = "Multi Factor Authentication (MFA)"
|
||||||
set_mfa_globally = "Set the status of MFA"
|
set_mfa_globally = "Set the status of MFA"
|
||||||
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
||||||
set_version_publicly = "Version Visibility"
|
set_version_publicly = "Version Visibility"
|
||||||
explain_version = "By default the version of HTMLy is visible publicly in the source code, some bots and bad actors can use this information for bad reasons so some admins may prefer to hide this."
|
explain_version = "By default the version of HTMLy is visible publicly in the source code, some admins may prefer to hide this."
|
||||||
focus_mode = "Toggle Focus"
|
focus_mode = "Toggle Focus"
|
||||||
|
|
|
||||||
|
|
@ -301,5 +301,5 @@ mfa_config = "Multi Factor Authentication (MFA)"
|
||||||
set_mfa_globally = "Set the status of MFA"
|
set_mfa_globally = "Set the status of MFA"
|
||||||
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
||||||
set_version_publicly = "Version Visibility"
|
set_version_publicly = "Version Visibility"
|
||||||
explain_version = "By default the version of HTMLy is visible publicly in the source code, some bots and bad actors can use this information for bad reasons so some admins may prefer to hide this."
|
explain_version = "By default the version of HTMLy is visible publicly in the source code, some admins may prefer to hide this."
|
||||||
focus_mode = "Toggle Focus"
|
focus_mode = "Toggle Focus"
|
||||||
|
|
|
||||||
|
|
@ -301,5 +301,5 @@ mfa_config = "Multi Factor Authentication (MFA)"
|
||||||
set_mfa_globally = "Set the status of MFA"
|
set_mfa_globally = "Set the status of MFA"
|
||||||
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
||||||
set_version_publicly = "Version Visibility"
|
set_version_publicly = "Version Visibility"
|
||||||
explain_version = "By default the version of HTMLy is visible publicly in the source code, some bots and bad actors can use this information for bad reasons so some admins may prefer to hide this."
|
explain_version = "By default the version of HTMLy is visible publicly in the source code, some admins may prefer to hide this."
|
||||||
focus_mode = "Toggle Focus"
|
focus_mode = "Toggle Focus"
|
||||||
|
|
|
||||||
|
|
@ -301,5 +301,5 @@ mfa_config = "Multi Factor Authentication (MFA)"
|
||||||
set_mfa_globally = "Set the status of MFA"
|
set_mfa_globally = "Set the status of MFA"
|
||||||
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
||||||
set_version_publicly = "Version Visibility"
|
set_version_publicly = "Version Visibility"
|
||||||
explain_version = "By default the version of HTMLy is visible publicly in the source code, some bots and bad actors can use this information for bad reasons so some admins may prefer to hide this."
|
explain_version = "By default the version of HTMLy is visible publicly in the source code, some admins may prefer to hide this."
|
||||||
focus_mode = "Toggle Focus"
|
focus_mode = "Toggle Focus"
|
||||||
|
|
|
||||||
|
|
@ -301,5 +301,5 @@ mfa_config = "Multi Factor Authentication (MFA)"
|
||||||
set_mfa_globally = "Set the status of MFA"
|
set_mfa_globally = "Set the status of MFA"
|
||||||
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
||||||
set_version_publicly = "Version Visibility"
|
set_version_publicly = "Version Visibility"
|
||||||
explain_version = "By default the version of HTMLy is visible publicly in the source code, some bots and bad actors can use this information for bad reasons so some admins may prefer to hide this."
|
explain_version = "By default the version of HTMLy is visible publicly in the source code, some admins may prefer to hide this."
|
||||||
focus_mode = "Toggle Focus"
|
focus_mode = "Toggle Focus"
|
||||||
|
|
|
||||||
|
|
@ -303,5 +303,5 @@ mfa_config = "Multi Factor Authentication (MFA)"
|
||||||
set_mfa_globally = "Set the status of MFA"
|
set_mfa_globally = "Set the status of MFA"
|
||||||
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
||||||
set_version_publicly = "Version Visibility"
|
set_version_publicly = "Version Visibility"
|
||||||
explain_version = "By default the version of HTMLy is visible publicly in the source code, some bots and bad actors can use this information for bad reasons so some admins may prefer to hide this."
|
explain_version = "By default the version of HTMLy is visible publicly in the source code, some admins may prefer to hide this."
|
||||||
focus_mode = "Toggle Focus"
|
focus_mode = "Toggle Focus"
|
||||||
|
|
@ -301,5 +301,5 @@ mfa_config = "Multi Factor Authentication (MFA)"
|
||||||
set_mfa_globally = "Set the status of MFA"
|
set_mfa_globally = "Set the status of MFA"
|
||||||
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
||||||
set_version_publicly = "Version Visibility"
|
set_version_publicly = "Version Visibility"
|
||||||
explain_version = "By default the version of HTMLy is visible publicly in the source code, some bots and bad actors can use this information for bad reasons so some admins may prefer to hide this."
|
explain_version = "By default the version of HTMLy is visible publicly in the source code, some admins may prefer to hide this."
|
||||||
focus_mode = "Toggle Focus"
|
focus_mode = "Toggle Focus"
|
||||||
|
|
|
||||||
|
|
@ -301,5 +301,5 @@ mfa_config = "Multi Factor Authentication (MFA)"
|
||||||
set_mfa_globally = "Set the status of MFA"
|
set_mfa_globally = "Set the status of MFA"
|
||||||
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
||||||
set_version_publicly = "Version Visibility"
|
set_version_publicly = "Version Visibility"
|
||||||
explain_version = "By default the version of HTMLy is visible publicly in the source code, some bots and bad actors can use this information for bad reasons so some admins may prefer to hide this."
|
explain_version = "By default the version of HTMLy is visible publicly in the source code, some admins may prefer to hide this."
|
||||||
focus_mode = "Toggle Focus"
|
focus_mode = "Toggle Focus"
|
||||||
|
|
|
||||||
|
|
@ -301,5 +301,5 @@ mfa_config = "Multi Factor Authentication (MFA)"
|
||||||
set_mfa_globally = "Set the status of MFA"
|
set_mfa_globally = "Set the status of MFA"
|
||||||
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
||||||
set_version_publicly = "Version Visibility"
|
set_version_publicly = "Version Visibility"
|
||||||
explain_version = "By default the version of HTMLy is visible publicly in the source code, some bots and bad actors can use this information for bad reasons so some admins may prefer to hide this."
|
explain_version = "By default the version of HTMLy is visible publicly in the source code, some admins may prefer to hide this."
|
||||||
focus_mode = "Toggle Focus"
|
focus_mode = "Toggle Focus"
|
||||||
|
|
|
||||||
|
|
@ -301,5 +301,5 @@ mfa_config = "Multi Factor Authentication (MFA)"
|
||||||
set_mfa_globally = "Set the status of MFA"
|
set_mfa_globally = "Set the status of MFA"
|
||||||
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
||||||
set_version_publicly = "Version Visibility"
|
set_version_publicly = "Version Visibility"
|
||||||
explain_version = "By default the version of HTMLy is visible publicly in the source code, some bots and bad actors can use this information for bad reasons so some admins may prefer to hide this."
|
explain_version = "By default the version of HTMLy is visible publicly in the source code, some admins may prefer to hide this."
|
||||||
focus_mode = "Toggle Focus"
|
focus_mode = "Toggle Focus"
|
||||||
|
|
|
||||||
|
|
@ -301,5 +301,5 @@ mfa_config = "Multi Factor Authentication (MFA)"
|
||||||
set_mfa_globally = "Set the status of MFA"
|
set_mfa_globally = "Set the status of MFA"
|
||||||
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
||||||
set_version_publicly = "Version Visibility"
|
set_version_publicly = "Version Visibility"
|
||||||
explain_version = "By default the version of HTMLy is visible publicly in the source code, some bots and bad actors can use this information for bad reasons so some admins may prefer to hide this."
|
explain_version = "By default the version of HTMLy is visible publicly in the source code, some admins may prefer to hide this."
|
||||||
focus_mode = "Toggle Focus"
|
focus_mode = "Toggle Focus"
|
||||||
|
|
|
||||||
|
|
@ -301,5 +301,5 @@ mfa_config = "Multi Factor Authentication (MFA)"
|
||||||
set_mfa_globally = "Set the status of MFA"
|
set_mfa_globally = "Set the status of MFA"
|
||||||
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
||||||
set_version_publicly = "Version Visibility"
|
set_version_publicly = "Version Visibility"
|
||||||
explain_version = "By default the version of HTMLy is visible publicly in the source code, some bots and bad actors can use this information for bad reasons so some admins may prefer to hide this."
|
explain_version = "By default the version of HTMLy is visible publicly in the source code, some admins may prefer to hide this."
|
||||||
focus_mode = "Toggle Focus"
|
focus_mode = "Toggle Focus"
|
||||||
|
|
|
||||||
|
|
@ -301,5 +301,5 @@ mfa_config = "Multi Factor Authentication (MFA)"
|
||||||
set_mfa_globally = "Set the status of MFA"
|
set_mfa_globally = "Set the status of MFA"
|
||||||
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
||||||
set_version_publicly = "Version Visibility"
|
set_version_publicly = "Version Visibility"
|
||||||
explain_version = "By default the version of HTMLy is visible publicly in the source code, some bots and bad actors can use this information for bad reasons so some admins may prefer to hide this."
|
explain_version = "By default the version of HTMLy is visible publicly in the source code, some admins may prefer to hide this."
|
||||||
focus_mode = "Toggle Focus"
|
focus_mode = "Toggle Focus"
|
||||||
|
|
|
||||||
|
|
@ -301,5 +301,5 @@ mfa_config = "Multi Factor Authentication (MFA)"
|
||||||
set_mfa_globally = "Set the status of MFA"
|
set_mfa_globally = "Set the status of MFA"
|
||||||
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
||||||
set_version_publicly = "Version Visibility"
|
set_version_publicly = "Version Visibility"
|
||||||
explain_version = "By default the version of HTMLy is visible publicly in the source code, some bots and bad actors can use this information for bad reasons so some admins may prefer to hide this."
|
explain_version = "By default the version of HTMLy is visible publicly in the source code, some admins may prefer to hide this."
|
||||||
focus_mode = "Toggle Focus"
|
focus_mode = "Toggle Focus"
|
||||||
|
|
|
||||||
|
|
@ -303,5 +303,5 @@ mfa_config = "Autenticazione Multi Fattore (MFA)"
|
||||||
set_mfa_globally = "Imposta lo stato della MFA"
|
set_mfa_globally = "Imposta lo stato della MFA"
|
||||||
explain_mfa = "Una volta abilitata, la MFA è facoltativa per tutti gli utenti. Se disattivata, nessun utente può usarla ed il relativo campo nella pagina di connessione viene nascosto."
|
explain_mfa = "Una volta abilitata, la MFA è facoltativa per tutti gli utenti. Se disattivata, nessun utente può usarla ed il relativo campo nella pagina di connessione viene nascosto."
|
||||||
set_version_publicly = "Visibilità della versione"
|
set_version_publicly = "Visibilità della versione"
|
||||||
explain_version = "Per impostazione predefinita la versione di HTMLy è visibile a tutti nel codice sorgente, alcuni bot e malintenzionati possono usare questa informazione per scopi illeciti perciò alcuni amministratori preferirebbero nasconderla."
|
explain_version = "Per impostazione predefinita la versione di HTMLy è visibile a tutti nel codice sorgente, alcuni amministratori preferirebbero nasconderla."
|
||||||
focus_mode = "Cambia visuale"
|
focus_mode = "Cambia visuale"
|
||||||
|
|
|
||||||
|
|
@ -301,5 +301,5 @@ mfa_config = "Multi Factor Authentication (MFA)"
|
||||||
set_mfa_globally = "Set the status of MFA"
|
set_mfa_globally = "Set the status of MFA"
|
||||||
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
||||||
set_version_publicly = "Version Visibility"
|
set_version_publicly = "Version Visibility"
|
||||||
explain_version = "By default the version of HTMLy is visible publicly in the source code, some bots and bad actors can use this information for bad reasons so some admins may prefer to hide this."
|
explain_version = "By default the version of HTMLy is visible publicly in the source code, some admins may prefer to hide this."
|
||||||
focus_mode = "Toggle Focus"
|
focus_mode = "Toggle Focus"
|
||||||
|
|
|
||||||
|
|
@ -301,5 +301,5 @@ mfa_config = "Multi Factor Authentication (MFA)"
|
||||||
set_mfa_globally = "Set the status of MFA"
|
set_mfa_globally = "Set the status of MFA"
|
||||||
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
||||||
set_version_publicly = "Version Visibility"
|
set_version_publicly = "Version Visibility"
|
||||||
explain_version = "By default the version of HTMLy is visible publicly in the source code, some bots and bad actors can use this information for bad reasons so some admins may prefer to hide this."
|
explain_version = "By default the version of HTMLy is visible publicly in the source code, some admins may prefer to hide this."
|
||||||
focus_mode = "Toggle Focus"
|
focus_mode = "Toggle Focus"
|
||||||
|
|
|
||||||
|
|
@ -301,5 +301,5 @@ mfa_config = "Multi Factor Authentication (MFA)"
|
||||||
set_mfa_globally = "Set the status of MFA"
|
set_mfa_globally = "Set the status of MFA"
|
||||||
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
||||||
set_version_publicly = "Version Visibility"
|
set_version_publicly = "Version Visibility"
|
||||||
explain_version = "By default the version of HTMLy is visible publicly in the source code, some bots and bad actors can use this information for bad reasons so some admins may prefer to hide this."
|
explain_version = "By default the version of HTMLy is visible publicly in the source code, some admins may prefer to hide this."
|
||||||
focus_mode = "Toggle Focus"
|
focus_mode = "Toggle Focus"
|
||||||
|
|
|
||||||
|
|
@ -302,5 +302,5 @@ mfa_config = "Multi Factor Authentication (MFA)"
|
||||||
set_mfa_globally = "Set the status of MFA"
|
set_mfa_globally = "Set the status of MFA"
|
||||||
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
||||||
set_version_publicly = "Version Visibility"
|
set_version_publicly = "Version Visibility"
|
||||||
explain_version = "By default the version of HTMLy is visible publicly in the source code, some bots and bad actors can use this information for bad reasons so some admins may prefer to hide this."
|
explain_version = "By default the version of HTMLy is visible publicly in the source code, some admins may prefer to hide this."
|
||||||
focus_mode = "Toggle Focus"
|
focus_mode = "Toggle Focus"
|
||||||
|
|
|
||||||
|
|
@ -301,5 +301,5 @@ mfa_config = "Multi Factor Authentication (MFA)"
|
||||||
set_mfa_globally = "Set the status of MFA"
|
set_mfa_globally = "Set the status of MFA"
|
||||||
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
||||||
set_version_publicly = "Version Visibility"
|
set_version_publicly = "Version Visibility"
|
||||||
explain_version = "By default the version of HTMLy is visible publicly in the source code, some bots and bad actors can use this information for bad reasons so some admins may prefer to hide this."
|
explain_version = "By default the version of HTMLy is visible publicly in the source code, some admins may prefer to hide this."
|
||||||
focus_mode = "Toggle Focus"
|
focus_mode = "Toggle Focus"
|
||||||
|
|
|
||||||
|
|
@ -302,5 +302,5 @@ mfa_config = "Multi Factor Authentication (MFA)"
|
||||||
set_mfa_globally = "Set the status of MFA"
|
set_mfa_globally = "Set the status of MFA"
|
||||||
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
||||||
set_version_publicly = "Version Visibility"
|
set_version_publicly = "Version Visibility"
|
||||||
explain_version = "By default the version of HTMLy is visible publicly in the source code, some bots and bad actors can use this information for bad reasons so some admins may prefer to hide this."
|
explain_version = "By default the version of HTMLy is visible publicly in the source code, some admins may prefer to hide this."
|
||||||
focus_mode = "Toggle Focus"
|
focus_mode = "Toggle Focus"
|
||||||
|
|
|
||||||
|
|
@ -313,5 +313,5 @@ mfa_config = "Multi Factor Authentication (MFA)"
|
||||||
set_mfa_globally = "Set the status of MFA"
|
set_mfa_globally = "Set the status of MFA"
|
||||||
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
||||||
set_version_publicly = "Version Visibility"
|
set_version_publicly = "Version Visibility"
|
||||||
explain_version = "By default the version of HTMLy is visible publicly in the source code, some bots and bad actors can use this information for bad reasons so some admins may prefer to hide this."
|
explain_version = "By default the version of HTMLy is visible publicly in the source code, some admins may prefer to hide this."
|
||||||
focus_mode = "Toggle Focus"
|
focus_mode = "Toggle Focus"
|
||||||
|
|
|
||||||
|
|
@ -301,5 +301,5 @@ mfa_config = "Multi Factor Authentication (MFA)"
|
||||||
set_mfa_globally = "Set the status of MFA"
|
set_mfa_globally = "Set the status of MFA"
|
||||||
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
||||||
set_version_publicly = "Version Visibility"
|
set_version_publicly = "Version Visibility"
|
||||||
explain_version = "By default the version of HTMLy is visible publicly in the source code, some bots and bad actors can use this information for bad reasons so some admins may prefer to hide this."
|
explain_version = "By default the version of HTMLy is visible publicly in the source code, some admins may prefer to hide this."
|
||||||
focus_mode = "Toggle Focus"
|
focus_mode = "Toggle Focus"
|
||||||
|
|
|
||||||
|
|
@ -301,5 +301,5 @@ mfa_config = "Multi Factor Authentication (MFA)"
|
||||||
set_mfa_globally = "Set the status of MFA"
|
set_mfa_globally = "Set the status of MFA"
|
||||||
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
||||||
set_version_publicly = "Version Visibility"
|
set_version_publicly = "Version Visibility"
|
||||||
explain_version = "By default the version of HTMLy is visible publicly in the source code, some bots and bad actors can use this information for bad reasons so some admins may prefer to hide this."
|
explain_version = "By default the version of HTMLy is visible publicly in the source code, some admins may prefer to hide this."
|
||||||
focus_mode = "Toggle Focus"
|
focus_mode = "Toggle Focus"
|
||||||
|
|
|
||||||
|
|
@ -301,5 +301,5 @@ mfa_config = "Multi Factor Authentication (MFA)"
|
||||||
set_mfa_globally = "Set the status of MFA"
|
set_mfa_globally = "Set the status of MFA"
|
||||||
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
||||||
set_version_publicly = "Version Visibility"
|
set_version_publicly = "Version Visibility"
|
||||||
explain_version = "By default the version of HTMLy is visible publicly in the source code, some bots and bad actors can use this information for bad reasons so some admins may prefer to hide this."
|
explain_version = "By default the version of HTMLy is visible publicly in the source code, some admins may prefer to hide this."
|
||||||
focus_mode = "Toggle Focus"
|
focus_mode = "Toggle Focus"
|
||||||
|
|
|
||||||
|
|
@ -301,5 +301,5 @@ mfa_config = "Multi Factor Authentication (MFA)"
|
||||||
set_mfa_globally = "Set the status of MFA"
|
set_mfa_globally = "Set the status of MFA"
|
||||||
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
explain_mfa = "When enabled, MFA is optional for all users. When disabled, no users can use it and it hides the field on the login page."
|
||||||
set_version_publicly = "Version Visibility"
|
set_version_publicly = "Version Visibility"
|
||||||
explain_version = "By default the version of HTMLy is visible publicly in the source code, some bots and bad actors can use this information for bad reasons so some admins may prefer to hide this."
|
explain_version = "By default the version of HTMLy is visible publicly in the source code, some admins may prefer to hide this."
|
||||||
focus_mode = "Toggle Focus"
|
focus_mode = "Toggle Focus"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,13 @@
|
||||||
<?php if (!defined('HTMLY')) die('HTMLy'); ?>
|
<?php if (!defined('HTMLY')) die('HTMLy'); ?>
|
||||||
<h2><?php echo i18n('General_Settings')?></h2>
|
<h2><?php echo i18n('General_Settings')?></h2>
|
||||||
<br>
|
<br>
|
||||||
|
<?php
|
||||||
|
if (config('show.version') == 'false') {
|
||||||
|
if(file_exists('cache/installedVersion.json')) {
|
||||||
|
unlink('cache/installedVersion.json');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
||||||
<?php if (!extension_loaded('intl')) { ?>
|
<?php if (!extension_loaded('intl')) { ?>
|
||||||
<div class="callout callout-info">
|
<div class="callout callout-info">
|
||||||
<h5><i class="fa fa-info"></i> Note:</h5>
|
<h5><i class="fa fa-info"></i> Note:</h5>
|
||||||
|
|
|
||||||
|
|
@ -54,5 +54,10 @@ if (empty($updater->getNewestInfo())) {
|
||||||
echo \Michelf\MarkdownExtra::defaultTransform($info['body']);
|
echo \Michelf\MarkdownExtra::defaultTransform($info['body']);
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
echo '<p><a class="btn btn-primary" target="_blank" href="' . $info['html_url'] . '">Read on Github</a></p>';
|
echo '<p><a class="btn btn-primary" target="_blank" href="' . $info['html_url'] . '">Read on Github</a></p>';
|
||||||
|
if (config('show.version') == 'false') {
|
||||||
|
if(file_exists('cache/installedVersion.json')) {
|
||||||
|
unlink('cache/installedVersion.json');
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,4 +5,9 @@
|
||||||
if (file_exists('install.php')) {
|
if (file_exists('install.php')) {
|
||||||
unlink('install.php');
|
unlink('install.php');
|
||||||
}
|
}
|
||||||
|
if (config('show.version') == 'false') {
|
||||||
|
if(file_exists('cache/installedVersion.json')) {
|
||||||
|
unlink('cache/installedVersion.json');
|
||||||
|
}
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
|
|
@ -3443,20 +3443,21 @@ function head_contents()
|
||||||
{
|
{
|
||||||
$output = '';
|
$output = '';
|
||||||
$wmt_id = config('google.wmt.id');
|
$wmt_id = config('google.wmt.id');
|
||||||
|
if (config('show.version') !== 'false') {
|
||||||
$version = 'HTMLy ' . constant('HTMLY_VERSION');
|
$version = 'HTMLy ' . constant('HTMLY_VERSION');
|
||||||
|
} else {
|
||||||
|
$version = 'HTMLy';
|
||||||
|
}
|
||||||
$favicon = config('favicon.image');
|
$favicon = config('favicon.image');
|
||||||
if (empty($favicon)) {
|
if (empty($favicon)) {
|
||||||
$favicon = '<link rel="icon" type="image/png" href="' . site_url() . 'favicon.png" />' . "\n";
|
$favicon = '<link rel="icon" type="image/png" href="' . site_url() . 'favicon.png" />' . "\n";
|
||||||
} else {
|
} else {
|
||||||
$favicon = '<link rel="icon" type="image/'. pathinfo($favicon, PATHINFO_EXTENSION) .'" href="' . $favicon . '" />' . "\n";
|
$favicon = '<link rel="icon" type="image/'. pathinfo($favicon, PATHINFO_EXTENSION) .'" href="' . $favicon . '" />' . "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
$output .= '<meta charset="utf-8" />' . "\n";
|
$output .= '<meta charset="utf-8" />' . "\n";
|
||||||
$output .= '<meta http-equiv="X-UA-Compatible" content="IE=edge" />' . "\n";
|
$output .= '<meta http-equiv="X-UA-Compatible" content="IE=edge" />' . "\n";
|
||||||
$output .= '<meta name="viewport" content="width=device-width, initial-scale=1" />' . "\n";
|
$output .= '<meta name="viewport" content="width=device-width, initial-scale=1" />' . "\n";
|
||||||
if (config('show.version') == 'true') {
|
|
||||||
$output .= '<meta name="generator" content="' . $version . '" />' . "\n";
|
$output .= '<meta name="generator" content="' . $version . '" />' . "\n";
|
||||||
}
|
|
||||||
$output .= $favicon;
|
$output .= $favicon;
|
||||||
$output .= '<link rel="sitemap" href="' . site_url() . 'sitemap.xml" />' . "\n";
|
$output .= '<link rel="sitemap" href="' . site_url() . 'sitemap.xml" />' . "\n";
|
||||||
$output .= '<link rel="alternate" type="application/rss+xml" title="' . blog_title() . ' Feed" href="' . site_url() . 'feed/rss" />' . "\n";
|
$output .= '<link rel="alternate" type="application/rss+xml" title="' . blog_title() . ' Feed" href="' . site_url() . 'feed/rss" />' . "\n";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue