Version 5.0.0 beta 9

This commit is contained in:
Neo committed 2025-12-19 17:47:00 -08:00
1 parent 214f649f1d
commit 56979f8ee8
202 files changed
+4403 -1123

No files matched your search

+3 -3
View File
@@ -832,7 +832,7 @@ abstract class Item extends Content
$return['guest_name'] = new Text( 'guest_name', NULL, FALSE, array( 'minLength' => Settings::i()->min_user_name_length, 'maxLength' => Settings::i()->max_user_name_length, 'placeholder' => Member::loggedIn()->language()->addToStack('comment_guest_name'), 'htmlAutocomplete' => "username" ), NULL, NULL, NULL, 'guest_name' );
}
}
if ( Settings::i()->bot_antispam_type !== 'none' and Settings::i()->guest_captcha )
if ( Settings::i()->bot_antispam_type !== 'none' )
{
$return['captcha'] = new Captcha;
}
@@ -4871,7 +4871,7 @@ abstract class Item extends Content
$return['guest_name'] = new Text( 'guest_name', NULL, FALSE, array( 'minLength' => Settings::i()->min_user_name_length, 'maxLength' => Settings::i()->max_user_name_length, 'placeholder' => Member::loggedIn()->language()->addToStack('comment_guest_name') ) );
}
}
if ( Settings::i()->bot_antispam_type !== 'none' and Settings::i()->guest_captcha )
if ( Settings::i()->bot_antispam_type !== 'none' )
{
$return['captcha'] = new Captcha;
}
@@ -5033,7 +5033,7 @@ abstract class Item extends Content
$form->add( new Text( 'guest_name', NULL, FALSE, array( 'minLength' => Settings::i()->min_user_name_length, 'maxLength' => Settings::i()->max_user_name_length, 'placeholder' => Member::loggedIn()->language()->addToStack('comment_guest_name') ) ) );
}
}
if ( Settings::i()->bot_antispam_type !== 'none' and Settings::i()->guest_captcha )
if ( Settings::i()->bot_antispam_type !== 'none' )
{
$form->add( new Captcha );
}