summaryrefslogtreecommitdiff
path: root/modules/info/views/info_block.html.php
blob: 491d9d10ebe71c1f056dd2ca5cedbcbd0dc5cc5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php defined("SYSPATH") or die("No direct script access.") ?>
<table class="gMetadata">
  <tbody>
    <tr>
      <th><?= t("Title:") ?></th>
      <td><?= $item->title; ?></td>
    </tr>
    <tr>
      <th><?= t("Description:") ?></th>
      <td><?= $item->description; ?></td>
    </tr>
    <?  if ($item->id != 1): ?>
    <tr>
      <th><?= t("Name:") ?></th>
      <td><?= $item->name; ?></td>
    </tr>
    <? endif ?>
    <? if ($item->owner): ?>
    <tr>
      <th><?= t("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>