Update language files, add de_x_sie, and clean up files

This commit is contained in:
Marc Alexander
2023-02-13 20:15:34 +01:00
parent e34de96b5d
commit ccd7e27410
52 changed files with 1751 additions and 26 deletions

View File

@@ -66,7 +66,7 @@ class listener implements EventSubscriberInterface
*
* @return array
*/
static public function getSubscribedEvents()
public static function getSubscribedEvents()
{
return array(
'core.user_setup' => 'load_portal_language',
@@ -112,13 +112,18 @@ class listener implements EventSubscriberInterface
*
* @return null
*/
public function add_portal_link()
public function add_portal_link($event)
{
if (!$this->has_portal_access())
{
return;
}
if ($this->config['board3_show_all_pages'])
{
$event['display_online_list'] = true;
}
if (strpos($this->controller_helper->get_current_url(), '/portal') === false)
{
$portal_link = $this->controller_helper->route('board3_portal_controller');