Browse Source

some corrections

pull/3896/head
Tobias Diekershoff 4 years ago
parent
commit
4f95b413fa
  1. 2
      doc/htconfig.md
  2. 4
      mod/community.php

2
doc/htconfig.md

@ -87,7 +87,7 @@ Example: To set the directory value please add this line to your .htconfig.php:
* **remove_multiplicated_lines** (Boolean) - If enabled, multiple linefeeds in items are stripped to a single one.
* **show_unsupported_addons** (Boolean) - Show all addons including the unsupported ones.
* **show_unsupported_themes** (Boolean) - Show all themes including the unsupported ones.
* **show_global_community_hint** (Bbolean) - When the global community page is enabled, use this option to display a hint above the stream, that this is a collection of all public top-level postings that arrive on your node.
* **show_global_community_hint** (Boolean) - When the global community page is enabled, use this option to display a hint above the stream, that this is a collection of all public top-level postings that arrive on your node.
* **throttle_limit_day** - Maximum number of posts that a user can send per day with the API.
* **throttle_limit_week** - Maximum number of posts that a user can send per week with the API.
* **throttle_limit_month** - Maximum number of posts that a user can send per month with the API.

4
mod/community.php

@ -83,12 +83,12 @@ function community_content(App $a, $update = 0) {
$o .= alt_pager($a, count($r));
$t = get_markup_template( "community.tpl" );
$t = get_markup_template("community.tpl");
return replace_macros($t, array(
'$content' => $o,
'$header' => t("Community"),
'$show_global_community_hint' => (Config::get('system', 'community_page_style') == CP_GLOBAL_COMMUNITY && Config::get('system', 'show_global_community_hint')),
'$global_community_hint' => t("This comunity stream shows all public messages arriving on this node. They do not reflect the opinion of the nodes users.")
'$global_community_hint' => t("“This community stream shows all public posts received by this node. They may not reflect the opinions of this node’s users.”")
));
}

Loading…
Cancel
Save