The adjustment for before or after based on whether the locales rtl or not is now done in the browser.

This commit is contained in:
Tim Almdal
2010-02-07 14:25:05 -08:00
parent 6783de2457
commit e2e637064a

View File

@@ -73,9 +73,9 @@ 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";
}
//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());