mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 02:23:41 +00:00
Reworded the UI of NSFW to make it more obviously a general purpose content filter
This commit is contained in:
parent
0bd56d115a
commit
b58629e860
1 changed files with 3 additions and 3 deletions
|
@ -44,13 +44,13 @@ function nsfw_addon_settings(&$a,&$s) {
|
|||
$words = 'nsfw,';
|
||||
|
||||
$s .= '<div class="settings-block">';
|
||||
$s .= '<h3>' . t('"Not Safe For Work" Settings') . '</h3>';
|
||||
$s .= '<h3>' . t('Content Filter Settings') . '</h3>';
|
||||
$s .= '<div id="nsfw-wrapper">';
|
||||
|
||||
$s .= '<label id="nsfw-enable-label" for="nsfw-enable">' . t('Enable NSFW filter') . ' </label>';
|
||||
$s .= '<label id="nsfw-enable-label" for="nsfw-enable">' . t('Enable Content filter') . ' </label>';
|
||||
$s .= '<input id="nsfw-enable" type="checkbox" name="nsfw-enable" value="1"' . $enable_checked . ' />';
|
||||
$s .= '<div class="clear"></div>';
|
||||
$s .= '<label id="nsfw-label" for="nsfw-words">' . t('Comma separated words to treat as NSFW') . ' </label>';
|
||||
$s .= '<label id="nsfw-label" for="nsfw-words">' . t('Comma separated list of keywords to hide') . ' </label>';
|
||||
$s .= '<input id="nsfw-words" type="text" name="nsfw-words" value="' . $words .'" />';
|
||||
$s .= '</div><div class="clear"></div>';
|
||||
|
||||
|
|
Loading…
Reference in a new issue