mirror of
https://github.com/moodle/moodle.git
synced 2025-03-18 14:40:06 +01:00
Fixes for RTL languages during install MDL-10768
This commit is contained in:
parent
04f1efd423
commit
99238bf4d4
10
install.php
10
install.php
@ -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')." »\" style=\"float: right\"/>\n" : " \n" ?>
|
||||
<?php echo ($nextstage > WELCOME) ? "<input type=\"submit\" name=\"prev\" value=\"« ".get_string('previous')."\" style=\"float: left\"/>\n" : " \n" ?>
|
||||
<?php echo ($nextstage < SAVE) ? "<input type=\"submit\" name=\"next\" value=\"".get_string('next')." »\" style=\"float: ".fix_align_rtl("right")."\"/>\n" : " \n" ?>
|
||||
<?php echo ($nextstage > WELCOME) ? "<input type=\"submit\" name=\"prev\" value=\"« ".get_string('previous')."\" style=\"float: ".fix_align_rtl("left")."\"/>\n" : " \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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user