Using right_to_left() function MDL-10768

This commit is contained in:
moodler
2007-08-09 08:41:08 +00:00
parent b211809549
commit 8047ab1d9d
+1 -1
View File
@@ -2322,7 +2322,7 @@ function make_editing_buttons($mod, $absolute=false, $moveselect=true, $indent=-
$leftright = '';
if (has_capability('moodle/course:update', get_context_instance(CONTEXT_COURSE, $mod->course))) {
if (get_string('thisdirection') == 'rtl') { // Exchange arrows on RTL
if (right_to_left()) { // Exchange arrows on RTL
$rightarrow = 'left.gif';
$leftarrow = 'right.gif';
} else {