]> git.mjollnir.org Git - moodle.git/commitdiff
Using right_to_left() function MDL-10768
authormoodler <moodler>
Thu, 9 Aug 2007 08:41:08 +0000 (08:41 +0000)
committermoodler <moodler>
Thu, 9 Aug 2007 08:41:08 +0000 (08:41 +0000)
course/lib.php

index da854df39f5fbd695bcdd95e97e2614897d6545f..f0f198f12ec6790f24e95574cf8e866f4a9b6706 100644 (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 {