From: moodler Date: Thu, 9 Aug 2007 08:41:08 +0000 (+0000) Subject: Using right_to_left() function MDL-10768 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=8047ab1d9d9cccc31ec50b0816e483be49cf5e92;p=moodle.git Using right_to_left() function MDL-10768 --- diff --git a/course/lib.php b/course/lib.php index da854df39f..f0f198f12e 100644 --- a/course/lib.php +++ b/course/lib.php @@ -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 {