Feedback changes

- Import namespaces in mod/community
- Fix alignment in Content\Feature
- Add phpDoc to Widget\TrendingTags
This commit is contained in:
Hypolite Petovan 2019-08-06 07:37:48 -04:00
parent 9e8ae520b8
commit 3e2f0e9ffa
3 changed files with 10 additions and 4 deletions

View file

@ -84,7 +84,7 @@ class Feature
['multi_profiles', L10n::t('Multiple Profiles'), L10n::t('Ability to create multiple profiles'), false, Config::get('feature_lock', 'multi_profiles', false)],
['photo_location', L10n::t('Photo Location'), L10n::t("Photo metadata is normally stripped. This extracts the location \x28if present\x29 prior to stripping metadata and links it to a map."), false, Config::get('feature_lock', 'photo_location', false)],
['export_calendar', L10n::t('Export Public Calendar'), L10n::t('Ability for visitors to download the public calendar'), false, Config::get('feature_lock', 'export_calendar', false)],
['trending_tags', L10n::t('Trending Tags'), L10n::t('Show a community page widget with a list of the most popular tags in recent public posts.'), false, Config::get('feature_lock', 'trending_tags', false)],
['trending_tags', L10n::t('Trending Tags'), L10n::t('Show a community page widget with a list of the most popular tags in recent public posts.'), false, Config::get('feature_lock', 'trending_tags', false)],
],
// Post composition

View file

@ -8,6 +8,11 @@ use Friendica\Core\Renderer;
use Friendica\Database\DBA;
use Friendica\Model\Term;
/**
* Trending tags aside widget for the community pages, handles both local and global scopes
*
* @package Friendica\Content\Widget
*/
class TrendingTags
{
/**