diff options
Diffstat (limited to 'modules/info')
-rw-r--r-- | modules/info/views/info_block.html.php | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/modules/info/views/info_block.html.php b/modules/info/views/info_block.html.php index 543ce3db..3fa9350f 100644 --- a/modules/info/views/info_block.html.php +++ b/modules/info/views/info_block.html.php @@ -2,21 +2,23 @@ <table class="gMetadata"> <tbody> <tr> - <th>Title:</th> + <th><?= _("Title:") ?></th> <td><?= $item->title; ?></td> </tr> <tr> - <th>Description:</th> + <th><?= _("Description:") ?></th> <td><?= $item->description; ?></td> </tr> <tr> - <th>Name:</th> + <th><?= _("Name:") ?></th> <td><?= $item->name; ?></td> </tr> + <? if ($item->owner): ?> <tr> - <th>Owner:</th> - <td><a href="#"><?= isset($item->user_id) ? $item->user->name : "anonymous"?></a></td> + <th><?= _("Owner:") ?></th> + <td><a href="#"><?= $item->owner->name ?></a></td> </tr> + <? endif ?> <tr> <td colspan="2" class="toggle"> <a href="#">more \/</a> |