diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-06-08 23:17:28 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-06-08 23:17:28 -0700 |
commit | f7a720d2e827925f6fbae4981e2a17fd79eb31f6 (patch) | |
tree | 8ce949e84e2f22341cfd7a7bc0bfdea85815fcee | |
parent | 6bae25d1f30ef91735f75f5cf57e5c778fc213bd (diff) |
Rename main_element_attributes() callback to body_attributes() to be
more intuitive for themers.
-rw-r--r-- | modules/gallery/libraries/MY_View.php | 2 | ||||
-rw-r--r-- | themes/admin_default/views/admin.html.php | 2 | ||||
-rw-r--r-- | themes/default/views/page.html.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/modules/gallery/libraries/MY_View.php b/modules/gallery/libraries/MY_View.php index bd2794a0..96dcc71b 100644 --- a/modules/gallery/libraries/MY_View.php +++ b/modules/gallery/libraries/MY_View.php @@ -44,7 +44,7 @@ class View extends View_Core { } } - public function main_element_attributes() { + public function body_attributes() { if (locale::is_rtl()) { return 'class="rtl"'; } diff --git a/themes/admin_default/views/admin.html.php b/themes/admin_default/views/admin.html.php index 721c4dd5..b7cfaa40 100644 --- a/themes/admin_default/views/admin.html.php +++ b/themes/admin_default/views/admin.html.php @@ -31,7 +31,7 @@ <?= $theme->admin_head() ?> </head> - <body <?= $theme->main_element_attributes() ?>> + <body <?= $theme->body_attributes() ?>> <?= $theme->admin_page_top() ?> <? if ($sidebar): ?> <div id="doc3" class="yui-t5 gView"> diff --git a/themes/default/views/page.html.php b/themes/default/views/page.html.php index 6c77fb72..0c84129f 100644 --- a/themes/default/views/page.html.php +++ b/themes/default/views/page.html.php @@ -54,7 +54,7 @@ <?= $theme->head() ?> </head> - <body <?= $theme->main_element_attributes() ?>> + <body <?= $theme->body_attributes() ?>> <?= $theme->page_top() ?> <div id="doc4" class="yui-t5 gView"> <?= $theme->site_status() ?> |