Merge branch 'develop' into refactoring-of-app-class

This commit is contained in:
Art4 2024-11-16 19:29:56 +00:00
commit a24a65de2f
561 changed files with 64963 additions and 61342 deletions

View file

@ -274,6 +274,13 @@ class Page implements ArrayAccess
'$max_imagesize' => round(Images::getMaxUploadBytes() / 1000000, 0),
]) . $this->page['htmlhead'];
if ($pConfig->get($localUID, 'accessibility', 'hide_empty_descriptions')) {
$this->page['htmlhead'] .= "<style>.empty-description {display: none;}</style>\n";
}
if ($pConfig->get($localUID, 'accessibility', 'hide_custom_emojis')) {
$this->page['htmlhead'] .= "<style>span.emoji.mastodon img {display: none;}</style>\n";
}
}
/**