diff options
author | cash <cash.costello@gmail.com> | 2011-11-19 12:10:46 -0500 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-11-19 12:10:46 -0500 |
commit | 4562cfbb1a630b14fd194271f99f1f8c098dc38d (patch) | |
tree | 926e9e22cca553f48583ff25d782a092795ceb7c /views/default/object/image.php | |
parent | eb9b13e1bfd861cba9b7a812d929b565d5775175 (diff) | |
download | elgg-4562cfbb1a630b14fd194271f99f1f8c098dc38d.tar.gz elgg-4562cfbb1a630b14fd194271f99f1f8c098dc38d.tar.bz2 |
basic pages for viewing all/mine/friends and viewing an album
Diffstat (limited to 'views/default/object/image.php')
-rw-r--r-- | views/default/object/image.php | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/views/default/object/image.php b/views/default/object/image.php index 8c1f23ec2..12d58440d 100644 --- a/views/default/object/image.php +++ b/views/default/object/image.php @@ -1,9 +1,24 @@ <?php /** + * Image view * - * Tidypics image object views + * @uses $vars['entity'] TidypicsImage + * + * @author Cash Costello + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU General Public License v2 */ + +$full_view = elgg_extract('full_view', $vars, false); + +if ($full_view) { + echo elgg_view('object/image/full', $vars); +} else { + echo elgg_view('object/image/summary', $vars); +} + +return true; + global $CONFIG; include_once dirname(dirname(dirname(dirname(__FILE__)))) . "/lib/exif.php"; |