Convert D7/D6 code to D5

Discussion in 'Drupal' started by Tearabite, Nov 21, 2009.

  1. #1
    I would like to use a snippet of code that i think was written for D6 or D7, but i am using D5.
    Can anyone help use this in D5?

    <?php print t('!date — !username' . ($comment->uid ? '' : '(@hostname)'), array('!username' => theme('username', $comment), '!date' => format_date($comment->timestamp), '@hostname' => $comment->hostname)); ?>
    Code (markup):
     
    Tearabite, Nov 21, 2009 IP