/[drupal]/drupal/modules/forum/forum-submitted.tpl.php
ViewVC logotype

Contents of /drupal/modules/forum/forum-submitted.tpl.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.5 - (show annotations) (download) (as text)
Tue Jul 28 10:41:20 2009 UTC (4 months ago) by dries
Branch: MAIN
CVS Tags: DRUPAL-7-0-UNSTABLE-10, DRUPAL-7-0-UNSTABLE-9, HEAD
Changes since 1.4: +4 -3 lines
File MIME type: text/x-php
- Patch #489880 by nbz, Bojhan, Gurpartap Singh: merge 'Created' column with 'Topics'.
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 ?>
20 <?php if ($time): ?>
21 <span class="submitted">
22 <?php print t('By !author @time ago', array(
23 '@time' => $time,
24 '!author' => $author,
25 )); ?>
26 </span>
27 <?php else: ?>
28 <?php print t('n/a'); ?>
29 <?php endif; ?>

  ViewVC Help
Powered by ViewVC 1.1.2