mirror of
https://github.com/typemill/typemill.git
synced 2025-08-07 06:36:50 +02:00
content restrictions in system settings and meta-tabs
This commit is contained in:
@@ -283,6 +283,8 @@ class Validation
|
||||
$v->rule('in', 'editor', ['raw', 'visual']);
|
||||
$v->rule('values_allowed', 'formats', $formats);
|
||||
$v->rule('in', 'copyright', $copyright);
|
||||
$v->rule('noHTML', 'restrictionnotice');
|
||||
$v->rule('lengthBetween', 'restrictionnotice', 2, 1000 );
|
||||
$v->rule('iplist', 'trustedproxies');
|
||||
|
||||
return $this->validationResult($v, $name);
|
||||
|
Reference in New Issue
Block a user