1<table>
2    <tr>
3        <th><?php echo $tpl->getLang('id') ?></th>
4        <th><?php echo $tpl->getLang('description') ?></th>
5        <th><?php echo $tpl->getLang('closed') ?></th>
6    </tr>
7    <?php foreach($tpl->get('tasks') as $task): ?>
8        <tr>
9            <td>
10                <a href="<?php echo $tpl->url('task', 'tid', $task->id) ?>">
11                    #z<?php echo $task->id ?>
12                </a>
13            </td>
14            <td>
15                <?php if($task->task_comment_content_html == ''): ?>
16                    <em>---</em>
17                <?php else: ?>
18                    <?php echo $task->task_comment_content_html ?>
19                <?php endif ?>
20            </td>
21            <td>
22                <?php echo $tpl->date($task->close_date) ?>
23            </td>
24        </tr>
25    <?php endforeach ?>
26</table>
27