aboutsummaryrefslogtreecommitdiff
path: root/views/default/photos/sidebar.php
blob: fd5202691e3f4f643247898b25e5aa8dfcf17cb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?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);
	}
}

if ($page == 'upload') {
	if (elgg_get_plugin_setting('quota', 'tidypics')) {
		echo elgg_view('photos/sidebar/quota', $vars);
	}
}