| [ Index ] |
PHP Cross Reference of Drupal 6 (yi-drupal) |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * @file forum-submitted.tpl.php 5 * Default theme implementation to format a simple string indicated when and 6 * by whom a topic was submitted. 7 * 8 * Available variables: 9 * 10 * - $author: The author of the post. 11 * - $time: How long ago the post was created. 12 * - $topic: An object with the raw data of the post. Unsafe, be sure 13 * to clean this data before printing. 14 * 15 * @see template_preprocess_forum_submitted() 16 * @see theme_forum_submitted() 17 */ 18 ?> 19 <?php if ($time): ?> 20 <?php print t( 21 '@time ago<br />by !author', array( 22 '@time' => $time, 23 '!author' => $author, 24 )); ?> 25 <?php else: ?> 26 <?php print t('n/a'); ?> 27 <?php endif; ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Mon Jul 9 18:01:44 2012 | Cross-referenced by PHPXref 0.7 |