summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-07-30 05:15:24 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-07-30 05:15:24 -0700
commit29f5a231c710dc1fb63a1ae06bbc985b9c459711 (patch)
treec208f238ffb63a32dab7ca9c27a5e2ab805ce75b /modules/gallery/helpers
parent6f1da3aba426329eef312831365de29f89529d9f (diff)
parent67d4ae21d5f7363f54782c23d2a7ff1d9e9f0505 (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Conflicts: modules/gallery/models/item.php
Diffstat (limited to 'modules/gallery/helpers')
-rw-r--r--modules/gallery/helpers/gallery_theme.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/gallery/helpers/gallery_theme.php b/modules/gallery/helpers/gallery_theme.php
index 998eb289..81b22b74 100644
--- a/modules/gallery/helpers/gallery_theme.php
+++ b/modules/gallery/helpers/gallery_theme.php
@@ -127,4 +127,10 @@ class gallery_theme_Core {
static function admin_credits() {
return gallery_theme::credits();
}
+
+ public function body_attributes() {
+ if (locales::is_rtl()) {
+ return 'class="rtl"';
+ }
+ }
} \ No newline at end of file