File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -562,9 +562,6 @@ function $preload: A function that is used to load data required for this eleme
562562 {
563563 loadLanguage ('Settings ' );
564564
565- $ context ['allow_no_censored ' ] = false ;
566- if ($ user_info ['is_admin ' ] || $ context ['user ' ]['is_owner ' ])
567- $ context ['allow_no_censored ' ] = !empty ($ modSettings ['allow_no_censored ' ]);
568565
569566 return true ;
570567 },
Original file line number Diff line number Diff line change @@ -65,6 +65,12 @@ function template_options()
6565 'label ' => $ txt ['show_no_signatures ' ],
6666 'default ' => true ,
6767 ),
68+ array (
69+ 'id ' => 'show_no_censored ' ,
70+ 'label ' => $ txt ['show_no_censored ' ],
71+ 'default ' => false ,
72+ 'enabled ' => !empty ($ modSettings ['allow_no_censored ' ]),
73+ ),
6874 array (
6975 'id ' => 'posts_apply_ignore_list ' ,
7076 'label ' => $ txt ['posts_apply_ignore_list ' ],
You can’t perform that action at this time.
0 commit comments