summaryrefslogtreecommitdiff
path: root/modules/exif/views/exif_dialog.html.php
blob: 22744e2da3ff6a68fcacde017966559be3a82266 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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>