mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-29 03:04:08 -04:00
If the locale is rtl then change 'after' to 'before' or vice-versa. Fixes ticket #939.
This commit is contained in:
@@ -73,6 +73,10 @@ class Organize_Controller extends Controller {
|
||||
access::required("view", $album);
|
||||
access::required("edit", $album);
|
||||
|
||||
if (locales::is_rtl()) { // invert the position if the locale is rtl
|
||||
$before_or_after = $before_or_after == "after" ? "before" : "after";
|
||||
}
|
||||
|
||||
$source_ids = Input::instance()->post("source_ids", array());
|
||||
|
||||
if ($album->sort_column != "weight") {
|
||||
|
||||
Reference in New Issue
Block a user