mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-20 03:19:13 -04:00
1) drop unnecessary semicolon 2) start with <?php for extra security in the case that the server itself doesn't have short_tags enabled (the app won't work, but we need to make sure that we're still secure)
33 lines
702 B
PHP
33 lines
702 B
PHP
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
|
<table class="gMetadata">
|
|
<tbody>
|
|
<tr>
|
|
<th><?= _("Title:") ?></th>
|
|
<td><?= $item->title; ?></td>
|
|
</tr>
|
|
<tr>
|
|
<th><?= _("Description:") ?></th>
|
|
<td><?= $item->description; ?></td>
|
|
</tr>
|
|
<? if ($item->id != 1): ?>
|
|
<tr>
|
|
<th><?= _("Name:") ?></th>
|
|
<td><?= $item->name; ?></td>
|
|
</tr>
|
|
<? endif ?>
|
|
<? if ($item->owner): ?>
|
|
<tr>
|
|
<th><?= _("Owner:") ?></th>
|
|
<td><a href="#"><?= $item->owner->name ?></a></td>
|
|
</tr>
|
|
<? endif ?>
|
|
<tr>
|
|
<td colspan="2" class="toggle">
|
|
<a href="#">more \/</a>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
|