diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-06-27 14:43:40 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-06-27 14:43:40 -0700 |
commit | f98b7dc631afc4da595aa149b21b5d38f41afd22 (patch) | |
tree | 4e3dd32058fd8cc780061589ec7d9895bbe223cf /modules/digibug/helpers | |
parent | 6a8dc91f9f1f31657ca67d920283e534de15fa0f (diff) |
Require view_full to print photos.
Diffstat (limited to 'modules/digibug/helpers')
-rw-r--r-- | modules/digibug/helpers/digibug_theme.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/digibug/helpers/digibug_theme.php b/modules/digibug/helpers/digibug_theme.php index bd269256..a8e7e5b2 100644 --- a/modules/digibug/helpers/digibug_theme.php +++ b/modules/digibug/helpers/digibug_theme.php @@ -23,7 +23,8 @@ class digibug_theme_Core { } static function thumb_bottom($theme, $child) { - if ($theme->page_type() == "album" && $child->type == "photo") { + if ($theme->page_type() == "album" && $child->type == "photo" && + access::can("view_full", $child)) { $v = new View("digibug_album.html"); $v->id = $child->id; $v->title = t("Print photo with Digibug"); |