diff options
author | Andy Staudacher <andy.st@gmail.com> | 2009-06-06 15:24:14 -0700 |
---|---|---|
committer | Andy Staudacher <andy.st@gmail.com> | 2009-06-06 15:24:14 -0700 |
commit | 0e415dae9b29d792f631d3b94349086b8094c920 (patch) | |
tree | edc30275caff571f2d447dd517f42d94fb3e38d7 /modules/gallery/libraries/MY_View.php | |
parent | 329bd8caa126040ba7abaf28e8f76e0b6739ceff (diff) |
Preliminary BiDi support (needs *a lot* of tweaking)
Diffstat (limited to 'modules/gallery/libraries/MY_View.php')
-rw-r--r-- | modules/gallery/libraries/MY_View.php | 7 |
1 files changed, 7 insertions, 0 deletions
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 ''; + } } |