Don't show the description field if there's no description

This commit is contained in:
Bharat Mediratta
2009-03-09 07:54:37 +00:00
parent f0be5c7c03
commit caa0a6d47f

View File

@@ -5,11 +5,13 @@
<th><?= t("Title:") ?></th>
<td><?= $item->title; ?></td>
</tr>
<? if ($item->description): ?>
<tr>
<th><?= t("Description:") ?></th>
<td><?= $item->description; ?></td>
</tr>
<? if ($item->id != 1): ?>
<? endif ?>
<? if ($item->id != 1): ?>
<tr>
<th><?= t("Name:") ?></th>
<td><?= $item->name; ?></td>