admins can mark their nodes for explicit content (#5373)
* added field explicidContent to the metadata in the nodeinfo * admins can mark their nodes for explicit content * booleans shall be small
This commit is contained in:
committed by
Hypolite Petovan
parent
6b5d90333f
commit
80ac7da01d
+3
-1
@@ -292,7 +292,9 @@ function register_content(App $a)
|
||||
'$showprivstatement' => Config::get('system', 'tosprivstatement'),
|
||||
'$privstatement' => $tos->privacy_complete,
|
||||
'$baseurl' => System::baseurl(),
|
||||
'$form_security_token' => get_form_security_token("register")
|
||||
'$form_security_token' => get_form_security_token("register"),
|
||||
'$explicit_content' => Config::get('system', 'explicit_content', false),
|
||||
'$explicit_content_note' => L10n::t('Note: This node explicitly contains adult content')
|
||||
]);
|
||||
return $o;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user