Code coverage for /20081101/modules/forum/forum-submitted.tpl.php

Line #Times calledCode
1
<?php
2
// $Id: forum-submitted.tpl.php,v 1.4 2008/10/13 12:31:42 dries Exp $
3
4
/**
5
 * @file
6
 * Default theme implementation to format a simple string indicated when
and
7
 * by whom a topic was submitted.
8
 *
9
 * Available variables:
10
 *
11
 * - $author: The author of the post.
12
 * - $time: How long ago the post was created.
13
 * - $topic: An object with the raw data of the post. Unsafe, be sure
14
 *   to clean this data before printing.
15
 *
16
 * @see template_preprocess_forum_submitted()
17
 * @see theme_forum_submitted()
18
 */
19
?>
208
<?php if ($time): ?>
218
  <?php print t(
228
  '@time ago<br />by !author', array(
238
    '@time' => $time,
248
    '!author' => $author,
258
    )); ?>
268
<?php else: ?>
274
  <?php print t('n/a'); ?>
28
<?php endif; ?>
298