summaryrefslogtreecommitdiff
path: root/modules/gallery/libraries/Gallery_View.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-06-28 19:49:48 -0700
committerBharat Mediratta <bharat@menalto.com>2009-06-28 19:49:48 -0700
commit6e8a8c53e685a6c3f35f1426ab4dd6dcc18578e0 (patch)
tree0b3640e48c9e28963b36b74f332580f7fab77843 /modules/gallery/libraries/Gallery_View.php
parentc4f991bb7d7e90f8c55897f89888d9196c7e438f (diff)
Rename $theme->url() to $theme->theme_url() for consistency wiht
$theme->theme_script().
Diffstat (limited to 'modules/gallery/libraries/Gallery_View.php')
-rw-r--r--modules/gallery/libraries/Gallery_View.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/libraries/Gallery_View.php b/modules/gallery/libraries/Gallery_View.php
index f2298b7d..e21e83d8 100644
--- a/modules/gallery/libraries/Gallery_View.php
+++ b/modules/gallery/libraries/Gallery_View.php
@@ -43,7 +43,7 @@ class Gallery_View_Core extends View {
* Provide a url to a resource within the current theme. This allows us to refer to theme
* resources without naming the theme itself which makes themes easier to copy.
*/
- public function url($path, $absolute_url=false) {
+ public function theme_url($path, $absolute_url=false) {
$arg = "themes/{$this->theme_name}/$path";
return $absolute_url ? url::abs_file($arg) : url::file($arg);
}