<? print_string("configlang") ?>
</TD>
</TR>
+<TR VALIGN=TOP>
+ <TD ALIGN=RIGHT><P>langdir:</TD>
+ <TD>
+ <? unset($options);
+ $options["LTR"] = get_string("langltr");
+ $options["RTL"] = get_string("langrtl");
+
+ choose_from_menu ($options, "langdir", $config->langdir, "", "", "");
+ ?>
+ </TD>
+ <TD>
+ <? print_string("configlangdir") ?>
+ </TD>
+</TR>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P>locale:</TD>
<TD>
<TR VALIGN=TOP>
<TD ALIGN=RIGHT><P>gdversion:</TD>
<TD>
- <? $options[0] = get_string("gdnot");
+ <? unset($options);
+ $options[0] = get_string("gdnot");
$options[1] = get_string("gd1");
$options[2] = get_string("gd2");
$installed = check_gd_version();
choose_from_menu ($options, "gdversion", $installed, "", "", "");
- unset($options);
?>
</TD>
<TD>
} else {
$meta .= "<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=".get_string("thischarset")."\">\n";
}
+
+ if ($CFG->langdir == "RTL") {
+ $direction = " DIR=\"RTL\"";
+ } else {
+ $direction = " DIR=\"LTR\"";
+ }
if (!$cache) { // Do everything we can to prevent clients and proxies caching
@header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");