summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2008-11-21 23:36:41 +0000
committerTim Almdal <tnalmdal@shaw.ca>2008-11-21 23:36:41 +0000
commit60191f1d2c65103d35a8b7bf9771d5ff13405db6 (patch)
tree03c61e8724369bee13b2c89d6bd7a607cd4b5f72
parent88f799be6f458f71f9df87e05d24273f9a0058b9 (diff)
Be consistent in naming the album_top block
-rw-r--r--core/libraries/MY_View.php4
-rw-r--r--modules/slideshow/helpers/slideshow_block.php2
-rw-r--r--themes/default/views/album.html.php2
3 files changed, 4 insertions, 4 deletions
diff --git a/core/libraries/MY_View.php b/core/libraries/MY_View.php
index d9712d37..fe2ef12e 100644
--- a/core/libraries/MY_View.php
+++ b/core/libraries/MY_View.php
@@ -65,8 +65,8 @@ class View extends View_Core {
return self::_get_block_helpers("album", $theme);
}
- public static function album_header($theme) {
- return self::_get_block_helpers("album_header", $theme);
+ public static function album_top($theme) {
+ return self::_get_block_helpers("album_top", $theme);
}
public static function photo($theme) {
diff --git a/modules/slideshow/helpers/slideshow_block.php b/modules/slideshow/helpers/slideshow_block.php
index b31a5003..8272554f 100644
--- a/modules/slideshow/helpers/slideshow_block.php
+++ b/modules/slideshow/helpers/slideshow_block.php
@@ -23,7 +23,7 @@ class slideshow_block_Core {
"</script>";
}
- public static function album_header() {
+ public static function album_top() {
return "<a href=\"javascript:PicLensLite.start()\" id=\"gSlideshowLink\" class=\"gButtonLink\">Slideshow</a>";
}
diff --git a/themes/default/views/album.html.php b/themes/default/views/album.html.php
index b952af1c..ff0b441f 100644
--- a/themes/default/views/album.html.php
+++ b/themes/default/views/album.html.php
@@ -2,7 +2,7 @@
<div id="gAlbumHeader">
<h1><?= $item->title_edit ?></h1>
<span class="gUnderState"><?= $item->description_edit ?></span>
- <?= View::album_header($theme) ?>
+ <?= View::album_top($theme) ?>
</div>
<ul id="gAlbumGrid">