Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
<?php function YOURTHEME_comment($comment, $links = 0) { return _phptemplate_callback('comment', array( 'author' => theme('username', $comment), 'comment' => $comment, 'content' => $comment->comment, 'date' => format_date($comment->timestamp), 'links' => isset($links) ? theme('links', $links) : '', 'links_array' => $links, 'new' => $comment->new ? t('new') : '', 'picture' => theme_get_setting('toggle_comment_user_picture') ? theme('user_picture', $comment) : '', 'submitted' => t('Submitted by !a on @b.', array('!a' => theme('username', $comment), '@b' => format_date($comment->timestamp))), 'title' => l($comment->subject, $_GET['q'], NULL, NULL, "comment-$comment->cid") )); }
This paste will be private.
From the Design Piracy series on my blog: