Using the language information array, change the position of the top links from float...
authorRobert Sesek <rsesek@bluestatic.org>
Sat, 11 Nov 2006 20:58:18 +0000 (20:58 +0000)
committerRobert Sesek <rsesek@bluestatic.org>
Sat, 11 Nov 2006 20:58:18 +0000 (20:58 +0000)
printer_navigation.php

index 1c7ffce629a5ed5b0d0a2d3036d1ed623e2eb15e..e183c9c0b9e3b38822225c76fa287745553dbb31 100644 (file)
@@ -216,7 +216,9 @@ class Printer_Navigation
                        $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(' &bull; ', $output2) . '</div>';
                $output .= "\n" . '</div>';