summaryrefslogtreecommitdiff
path: root/modules/info/views
diff options
context:
space:
mode:
authorFelix Rabinovich <virshu@users.sourceforge.net>2008-11-08 07:18:56 +0000
committerFelix Rabinovich <virshu@users.sourceforge.net>2008-11-08 07:18:56 +0000
commit28b739a2105cba83f877d4fc4022d710b920b5a7 (patch)
treee814afda14126e1ae3160d07040f90042c42a8cd /modules/info/views
parent3bb9b9185cb9445157ab20df9178f9a892a0bbe0 (diff)
Adding user (owner) to items; info module
Diffstat (limited to 'modules/info/views')
-rw-r--r--modules/info/views/info_block.html.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/info/views/info_block.html.php b/modules/info/views/info_block.html.php
index eac76b40..543ce3db 100644
--- a/modules/info/views/info_block.html.php
+++ b/modules/info/views/info_block.html.php
@@ -3,19 +3,19 @@
<tbody>
<tr>
<th>Title:</th>
- <td>Christmas 2007</td>
+ <td><?= $item->title; ?></td>
</tr>
<tr>
- <th>Taken:</th>
- <td>January 21, 2008</td>
+ <th>Description:</th>
+ <td><?= $item->description; ?></td>
</tr>
<tr>
- <th>Uploaded:</th>
- <td>January 27, 2008</td>
+ <th>Name:</th>
+ <td><?= $item->name; ?></td>
</tr>
<tr>
<th>Owner:</th>
- <td><a href="#">username</a></td>
+ <td><a href="#"><?= isset($item->user_id) ? $item->user->name : "anonymous"?></a></td>
</tr>
<tr>
<td colspan="2" class="toggle">