Script direction for better default i18n

The SS installer sets i18n::set_locale() based on user selection.
While much of the content isn't localized, it'll at least have
the correct script alignment (e.g. right-to-left for arabic).
This commit is contained in:
Ingo Schommer 2013-10-16 00:16:12 +02:00
parent fa346339a5
commit 84c1215f91
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ Change it, enhance it and most importantly enjoy it!
<% require themedCSS('layout') %>
<link rel="shortcut icon" href="$ThemeDir/images/favicon.ico" />
</head>
<body class="$ClassName<% if not $Menu(2) %> no-sidebar<% end_if %>">
<body class="$ClassName<% if not $Menu(2) %> no-sidebar<% end_if %>" <% if $i18nScriptDirection %>dir="$i18nScriptDirection"<% end_if %>>
<% include Header %>
<div class="main" role="main">
<div class="inner typography line">