mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-20 11:29:24 -04:00
45 lines
1.1 KiB
PHP
45 lines
1.1 KiB
PHP
<?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>
|