$output2[] = '<a href="' . $href . '">' . $text . '</a>';
}
- $output .= "\n" . '<div id="toplinks">';
+ $language = $this->registry->modules['printer']->getLanguageInformation();
+
+ $output .= "\n" . '<div id="toplinks" style="float: ' . ($language['direction'] == 'rtl' ? 'left' : 'right') . '">';
$output .= "\n\t" . '<div>' . $this->registry->getApplication() . ' ' . $this->registry->modules['printer']->getRealm() . '</div>';
$output .= "\n\t" . '<div id="toplinks-links">' . implode(' • ', $output2) . '</div>';
$output .= "\n" . '</div>';