From 0e415dae9b29d792f631d3b94349086b8094c920 Mon Sep 17 00:00:00 2001 From: Andy Staudacher Date: Sat, 6 Jun 2009 15:24:14 -0700 Subject: Preliminary BiDi support (needs *a lot* of tweaking) --- modules/gallery/libraries/MY_View.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'modules/gallery/libraries/MY_View.php') diff --git a/modules/gallery/libraries/MY_View.php b/modules/gallery/libraries/MY_View.php index 836d1087..bd2794a0 100644 --- a/modules/gallery/libraries/MY_View.php +++ b/modules/gallery/libraries/MY_View.php @@ -43,4 +43,11 @@ class View extends View_Core { return ""; } } + + public function main_element_attributes() { + if (locale::is_rtl()) { + return 'class="rtl"'; + } + return ''; + } } -- cgit v1.2.3