芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/portpulselogistics.com/Modules/Blog/Entities/BlogSettings.php
[ 'label' => 'blog::settings.count_related_posts', 'translatable' => false, 'type' => 'number', 'default' => '10', 'value' => $settings->count_related_posts, 'required' => true, 'validation' => 'required|numeric|min:1' ], 'count_posts_category_page' => [ 'label' => 'blog::settings.count_posts_category_page', 'translatable' => false, 'type' => 'number', 'default' => '10', 'value' => $settings->count_posts_category_page, 'required' => true, 'validation' => 'required|numeric|min:1' ], 'count_posts_tag_page' => [ 'label' => 'blog::settings.count_posts_tag_page', 'translatable' => false, 'type' => 'number', 'default' => '10', 'value' => $settings->count_posts_tag_page, 'required' => true, 'validation' => 'required|numeric|min:1' ], 'count_posts_author_page' => [ 'label' => 'blog::settings.count_posts_author_page', 'translatable' => false, 'type' => 'number', 'default' => '10', 'value' => $settings->count_posts_author_page, 'required' => true, 'validation' => 'required|numeric|min:1' ], // comment setting 'auto_comments_approval' => [ 'label' => 'blog::settings.auto_comments_approval', 'translatable' => false, 'default' => true, 'value' => $settings->auto_comments_approval, 'type' => 'bool', 'required' => false ], ]; return $fields; } public static function group(): string { return 'blog'; } public static function encrypted(): array { return [ ]; } }