Fixes for RTL languages during install MDL-10768

This commit is contained in:
moodler 2007-08-09 08:57:52 +00:00
parent 04f1efd423
commit 99238bf4d4

View File

@ -670,7 +670,7 @@ if ($nextstage == SAVE) {
echo "</table>\n";
echo "<hr />\n";
echo "<div style=\"text-align: left\">\n";
echo "<div style=\"text-align: ".fix_align_rtl("left")."\">\n";
echo "<pre>\n";
print_r(s($str));
echo "</pre>\n";
@ -924,8 +924,8 @@ function form_table($nextstage = WELCOME, $formaction = "install.php") {
}
?>
<?php echo ($nextstage < SAVE) ? "<input type=\"submit\" name=\"next\" value=\"".get_string('next')." &raquo;\" style=\"float: right\"/>\n" : "&nbsp;\n" ?>
<?php echo ($nextstage > WELCOME) ? "<input type=\"submit\" name=\"prev\" value=\"&laquo; ".get_string('previous')."\" style=\"float: left\"/>\n" : "&nbsp;\n" ?>
<?php echo ($nextstage < SAVE) ? "<input type=\"submit\" name=\"next\" value=\"".get_string('next')." &raquo;\" style=\"float: ".fix_align_rtl("right")."\"/>\n" : "&nbsp;\n" ?>
<?php echo ($nextstage > WELCOME) ? "<input type=\"submit\" name=\"prev\" value=\"&laquo; ".get_string('previous')."\" style=\"float: ".fix_align_rtl("left")."\"/>\n" : "&nbsp;\n" ?>
<?php
if ($needtoopenform) {
@ -1106,11 +1106,11 @@ function css_styles() {
width: 500px;
}
.td_left {
text-align: right;
text-align: <?php echo fix_align_rtl("right") ?>;
font-weight: bold;
}
.td_right {
text-align: left;
text-align: <?php echo fix_align_rtl("left") ?>;
}
.main {
width: 500px;