summaryrefslogtreecommitdiff
path: root/modules/exif/views/exif_dialog.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/exif/views/exif_dialog.html.php')
-rw-r--r--modules/exif/views/exif_dialog.html.php33
1 files changed, 33 insertions, 0 deletions
diff --git a/modules/exif/views/exif_dialog.html.php b/modules/exif/views/exif_dialog.html.php
new file mode 100644
index 0000000..22744e2
--- /dev/null
+++ b/modules/exif/views/exif_dialog.html.php
@@ -0,0 +1,33 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<style type="text/css">
+ #g-exif-data { font-size: .85em; }
+ .g-odd { background: #bdd2ff; }
+ .g-even { background: #dfeffc; }
+</style>
+<h1 style="display: none;"><?= t("Photo detail") ?></h1>
+<div id="g-exif-data">
+ <table class="g-metadata" >
+ <tbody>
+ <? for ($i = 0; $i < count($details); $i++): ?>
+ <tr>
+ <td class="g-even">
+ <?= $details[$i]["caption"] ?>
+ </td>
+ <td class="g-odd">
+ <?= html::clean($details[$i]["value"]) ?>
+ </td>
+ <? if (!empty($details[++$i])): ?>
+ <td class="g-even">
+ <?= $details[$i]["caption"] ?>
+ </td>
+ <td class="g-odd">
+ <?= html::clean($details[$i]["value"]) ?>
+ </td>
+ <? else: ?>
+ <td class="g-even"></td><td class="g-odd"></td>
+ <? endif ?>
+ </tr>
+ <? endfor ?>
+ </tbody>
+ </table>
+</div>