blob: f8e5f35e36ee2164197e9c30604feca6ecda1e4e (
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
34
35
36
37
38
39
40
41
42
43
44
|
<?php defined("SYSPATH") or die("No direct script access.") ?>
<table class="gMetadata">
<tbody>
<tr>
<th><?= t("Title:") ?></th>
<td><?= p::clean($item->title) ?></td>
</tr>
<? if ($item->description): ?>
<tr>
<th><?= t("Description:") ?></th>
<td><?= p::clean($item->description) ?></td>
</tr>
<? endif ?>
<? if ($item->id != 1): ?>
<tr>
<th><?= t("Name:") ?></th>
<td><?= p::clean($item->name) ?></td>
</tr>
<? endif ?>
<? if ($item->id != 1): ?>
<? $parent = $item->parent(); ?>
<tr>
<th><?= t("Album: ") ?></th>
<td>
<a href="<?= url::site("albums/{$parent->id}?show=$item->id") ?>">
<?= p::clean($parent->title) ?>
</a>
</td>
</tr>
<? endif ?>
<? if ($item->captured): ?>
<tr>
<th><?= t("Captured:") ?></th>
<td><?= date("M j, Y H:i:s", $item->captured)?></td>
</tr>
<? endif ?>
<? if ($item->owner): ?>
<tr>
<th><?= t("Owner:") ?></th>
<td><a href="#"><?= p::clean($item->owner->name) ?></a></td>
</tr>
<? endif ?>
</tbody>
</table>
|