Version 4.5.0

This commit is contained in:
Neo committed 2025-12-19 05:51:58 -08:00
1 parent 1a0c7fd3c2
commit f79dcf067a
3791 files changed
+248032 -76372

No files matched your search

@@ -11,7 +11,7 @@
$options = array();
/* Usage reporting */
// $options[] = new \IPS\Helpers\Form\YesNo( '103000_usage_reporting', FALSE );
// $options[] = new \IPS\Helpers\Form\YesNo( '103000_usage_reporting', TRUE );
/* Is IPS Connect enabled? */
$ipsConnectEnabled = FALSE;
@@ -73,8 +73,8 @@ if( \IPS\Settings::i()->logins_over_https OR ( \IPS\Settings::i()->nexus_https A
if( \IPS\Settings::i()->security_remove_acp_link )
{
$options[] = new \IPS\Helpers\Form\Custom( 'admincp_hide_deprecate', null, FALSE, array( 'getHtml' => function( $element ) use ( $members ){
$url = \IPS\Http\Url::ips('docs/hide_acp');
return "<br>The setting to hide the link to the AdminCP has been removed. After completing the upgrade, follow the <a href='{$url}' target='_blank' rel='noopener'>Hiding the AdminCP</a> guide to retain this functionality.<br><br><strong class='ipsType_warning'><i class='fa fa-exclamation-triangle'></i> Before continuing, ensure you have bookmarked this guide to refer to after you have finished the upgrade.</strong>";
$url = \IPS\Http\Url::ips('docs/two_factor_auth');
return "<br>The setting to hide the link to the AdminCP has been removed. We recommend enabling two factor authentication for enhanced AdminCP security. After completing the upgrade, follow the <a href='{$url}' target='_blank' rel='noopener'>Two Factor Authentication</a> guide to enable this functionality.<br><br><strong class='ipsType_warning'><i class='fa fa-exclamation-triangle'></i> Before continuing, ensure you have bookmarked this guide to refer to after you have finished the upgrade.</strong>";
} ), function( $val ) {}, NULL, NULL, 'admincp_hide_deprecate' );
}