Version 5.0.0 beta 1
This commit is contained in:
1 parent
25ddeb65d6
commit
15c7beabc5
6736 files changed
+627902
-497943
No files matched your search
@@ -8,20 +8,25 @@
|
||||
* @since 16 Jul 2019
|
||||
*/
|
||||
|
||||
use IPS\Helpers\Form\Custom;
|
||||
use IPS\Helpers\Form\Radio;
|
||||
use IPS\Theme;
|
||||
use const IPS\CACHE_METHOD;
|
||||
|
||||
$options = array();
|
||||
require "../upgrade/lang.php";
|
||||
|
||||
/* Show us what is deprecated */
|
||||
if ( \IPS\CACHE_METHOD != 'None' and \IPS\CACHE_METHOD != 'Redis')
|
||||
if ( CACHE_METHOD != 'None' and CACHE_METHOD != 'Redis')
|
||||
{
|
||||
$options[] = new \IPS\Helpers\Form\Custom( '106000_deprecated', null, FALSE, array('getHtml' => function ( $element ) {
|
||||
return \IPS\Theme::i()->getTemplate( 'global' )->deprecated460();
|
||||
$options[] = new Custom( '106000_deprecated', null, FALSE, array('getHtml' => function ( $element ) {
|
||||
return Theme::i()->getTemplate( 'global' )->deprecated460();
|
||||
}), function ( $val ) {
|
||||
}, NULL, NULL, '106000_deprecated' );
|
||||
}
|
||||
|
||||
/* Use new rules or keep old ones? */
|
||||
$options[] = new \IPS\Helpers\Form\Radio( '106000_rule_option', 'new', TRUE, array( 'options' => array( 'new' => '106000_rule_option_new', 'old' => '106000_rule_option_old' ) ) );
|
||||
$options[] = new Radio( '106000_rule_option', 'new', TRUE, array( 'options' => array( 'new' => '106000_rule_option_new', 'old' => '106000_rule_option_old' ) ) );
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user