mirror of
https://github.com/friendica/friendica
synced 2025-04-29 05:04:24 +02:00
Several accessibility improvements
This commit is contained in:
parent
8bf3d6694a
commit
c978c8e027
20 changed files with 45 additions and 35 deletions
|
@ -95,7 +95,7 @@ class Channel extends Timeline
|
|||
$tabs = array_merge($tabs, $this->getTabArray($this->community->getTimelines(true), 'channel'));
|
||||
|
||||
$tab_tpl = Renderer::getMarkupTemplate('common_tabs.tpl');
|
||||
$o .= Renderer::replaceMacros($tab_tpl, ['$tabs' => $tabs]);
|
||||
$o .= Renderer::replaceMacros($tab_tpl, ['$tabs' => $tabs, '$more' => $this->l10n->t('More')]);
|
||||
|
||||
Nav::setSelected('channel');
|
||||
|
||||
|
|
|
@ -88,7 +88,7 @@ class Community extends Timeline
|
|||
if (!$this->raw) {
|
||||
$tabs = $this->getTabArray($this->community->getTimelines($this->session->isAuthenticated()), 'community');
|
||||
$tab_tpl = Renderer::getMarkupTemplate('common_tabs.tpl');
|
||||
$o .= Renderer::replaceMacros($tab_tpl, ['$tabs' => $tabs]);
|
||||
$o .= Renderer::replaceMacros($tab_tpl, ['$tabs' => $tabs, '$more' => $this->l10n->t('More')]);
|
||||
|
||||
Nav::setSelected('community');
|
||||
|
||||
|
|
|
@ -292,7 +292,7 @@ class Network extends Timeline
|
|||
|
||||
$tpl = Renderer::getMarkupTemplate('common_tabs.tpl');
|
||||
|
||||
return Renderer::replaceMacros($tpl, ['$tabs' => $tabs]);
|
||||
return Renderer::replaceMacros($tpl, ['$tabs' => $tabs, '$more' => $this->l10n->t('More')]);
|
||||
}
|
||||
|
||||
protected function parseRequest(array $request)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue