1
0
mirror of https://github.com/typemill/typemill.git synced 2025-08-06 14:16:46 +02:00

translations integrated, hero images, image classes

This commit is contained in:
trendschau
2020-05-01 19:54:55 +02:00
parent df61395649
commit d273c5ea88
27 changed files with 326 additions and 106 deletions

View File

@@ -205,6 +205,7 @@ class Validation
$v->rule('regex', 'author', '/^[\pL_ \-]*$/u');
$v->rule('integer', 'year');
$v->rule('length', 'year', 4);
$v->rule('length', 'langattr', 2);
$v->rule('in', 'editor', ['raw', 'visual']);
$v->rule('values_allowed', 'formats', $formats);
$v->rule('in', 'copyright', $copyright);