* showreport.php
* templates/showreport.tpl
- Fixed: Improved XHTML compliance in various templates
- Fixed: #134: Column headers (defined in includes/definitions.php) were not marked with T() for translation
- Change: Required custom select fields will no longer show the empty option (these fields could not be saved as empty, though, because they wouldn't validate -- this is purely an interface change)
+- Change: The description (first comment) is now stored in a separate variable from the rest of the comments, allowing for one to move its placement in templates/showreport.tpl
1.2.2
===============================
AND !hidden" : '') . "
ORDER BY comment.dateline ASC"
);
+$description = null;
while ($comment = $db->fetch_array($comments_fetch))
{
$comment['posttime'] = $datef->format($bugsys->options['dateformat'], $comment['dateline']);
}
}
- eval('$comments .= "' . $template->fetch('showreport_comment') . '";');
+ eval('$temp = "' . $template->fetch('showreport_comment') . '";');
+ if ($description == null)
+ {
+ $description = $temp;
+ }
+ else
+ {
+ $comments .= $temp;
+ }
}
$show['newreply'] = (can_perform('canpostcomments', $bug['productid']) ? true : false);
<br />
+$description
+
$comments
$footer
\ No newline at end of file