aboutsummaryrefslogtreecommitdiff
path: root/views/default/photos/sidebar.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-07-14 14:42:37 -0400
committerCash Costello <cash.costello@gmail.com>2012-07-14 14:42:37 -0400
commit0eec78495e5f63a80c2b04fcb87bda1ccb2b6648 (patch)
tree42b2bb3b35e8d6ba2924f0aabe42f218beea6bca /views/default/photos/sidebar.php
parent65548983c054a48fe0adb94c327847a7101db390 (diff)
downloadelgg-0eec78495e5f63a80c2b04fcb87bda1ccb2b6648.tar.gz
elgg-0eec78495e5f63a80c2b04fcb87bda1ccb2b6648.tar.bz2
added exif back
Diffstat (limited to 'views/default/photos/sidebar.php')
-rw-r--r--views/default/photos/sidebar.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/views/default/photos/sidebar.php b/views/default/photos/sidebar.php
new file mode 100644
index 000000000..4c0feb72c
--- /dev/null
+++ b/views/default/photos/sidebar.php
@@ -0,0 +1,12 @@
+<?php
+/**
+ * Sidebar view
+ */
+
+$page = elgg_extract('page', $vars);
+$image = elgg_extract('image', $vars);
+if ($image && $page == 'view') {
+ if (elgg_get_plugin_setting('exif', 'tidypics')) {
+ echo elgg_view('photos/sidebar/exif', $vars);
+ }
+}