<?php global $system_data, $modules, $id; ?>

<div class="exif-data" id="exif-container-<?php echo $id; ?>">
	<h4 class="module-title"><?php echo txt('exif', 'title: exif'); ?></h4>
	<div class="table" id="exif-data-<?php echo $id; ?>">
	</div>
</div>

<!-- JS ACTIONS -->
<script type="text/javascript">
	// Global data
	var exifDataContainer = document.getElementById('exif-container-<?php echo $id; ?>');
	var exifDataElement = document.getElementById('exif-data-<?php echo $id; ?>');
	var exifPlugin = '<?php echo $system_data['folder']['plugins']; ?>exifixer/return-exif.php';
	
	var exifNames = {
		<?php echo connector('exif frontend exifNamesArray'); ?>
		'DateTime' : '<?php echo txt('exif', 'DateTime'); ?>',
		'Make' : '<?php echo txt('exif', 'Hersteller'); ?>',
		'Model' : '<?php echo txt('exif', 'Modell'); ?>',
		'FNumber' : '<?php echo txt('exif', 'Blende'); ?>',
		'MaxApertureValue' : '<?php echo txt('exif', 'Offenblende'); ?>',
		'ExposureTime' : '<?php echo txt('exif', 'Verschlusszeit'); ?>',
		'Flash' : '<?php echo txt('exif', 'Blitz'); ?>',
		'FocalLength' : '<?php echo txt('exif', 'Brennweite'); ?>',
		'ISOSpeedRatings' : '<?php echo txt('exif', 'ISO'); ?>',
		'Artist' : '<?php echo txt('exif', 'Fotograf'); ?>',
		'Copyright' : '<?php echo txt('exif', 'Urheber'); ?>',
		'MakerNote' : '<?php echo txt('exif', 'Bemerkung'); ?>',
		'Software' : '<?php echo txt('exif', 'Bearbeitung'); ?>',
		'FocalLengthIn35mmFilm' : '<?php echo txt('exif', 'Eqv. 35 mm'); ?>'
	};
</script>

<script type="text/javascript" src="<?php echo $system_data['folder']['modules']; ?>exif/sources/actions.js">
</script>