diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-06-08 21:32:03 -0700 | 
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-06-08 21:32:03 -0700 | 
| commit | 1ecdb5ef0c82272d8019e4b7d834432f73baf474 (patch) | |
| tree | 1d6d989b7928e5843624ce7ed8782c9b8aabb607 /modules/gallery/libraries/MY_View.php | |
| parent | f0ca27ab924c06cc72a44d66498b86aeda672b33 (diff) | |
| parent | b9ee6f7d185c734dcff595d06d9c6e6fda5822ac (diff) | |
Merge branch 'master' of git@github.com:gallery/gallery3
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 ''; +  }  } | 
