Files
gallery3/modules/info/views/info_block.html.php
Bharat Mediratta cd1d023754 Change the preamble for views in two ways:
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)
2009-01-01 00:23:29 +00:00

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>