summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-06-17 08:17:39 +0800
committer <unostar@danalan.info>2009-06-17 13:51:20 +0800
commit8af66822e203c8546a293f9c31a3836fb89c97df (patch)
tree69ea5e637fc4c30558063f00e317e3779c75b2cc /modules/gallery/helpers
parentb48c4300d40224228fb145ade15d431feab660a6 (diff)
Move all the fullsize code into the theme to make it less confusing.
Partial fix for ticket #427. Signed-off-by: <unostar@danalan.info>
Diffstat (limited to 'modules/gallery/helpers')
-rw-r--r--modules/gallery/helpers/gallery_theme.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/modules/gallery/helpers/gallery_theme.php b/modules/gallery/helpers/gallery_theme.php
index c28c9040..44c1d3f1 100644
--- a/modules/gallery/helpers/gallery_theme.php
+++ b/modules/gallery/helpers/gallery_theme.php
@@ -31,16 +31,6 @@ class gallery_theme_Core {
url::file("modules/gallery/css/quick.css") . "\" />";
$buf .= html::script("modules/gallery/js/quick.js");
}
- if ($theme->page_type == "photo" && access::can("view_full", $theme->item())) {
- $buf .= "<script type=\"text/javascript\" >" .
- " var fullsize_detail = { " .
- " close: \"" . url::file("modules/gallery/images/ico-close.png") . "\", " .
- " url: \"" . $theme->item()->file_url() . "\", " .
- " width: " . $theme->item()->width . ", " .
- " height: " . $theme->item()->height . "};" .
- "</script>";
- $buf .= html::script("modules/gallery/js/fullsize.js");
- }
if (module::is_active("rss")) {
if ($item = $theme->item()) {