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:
Tobias Diekershoff
2018-07-14 18:08:06 +02:00
committed by Hypolite Petovan
parent 6b5d90333f
commit 80ac7da01d
7 changed files with 16 additions and 1 deletions
+3 -1
View File
@@ -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;
}