Here's the whole print_summary function:
function print_summary($summary, $type) {
if (empty($summary))
{
$summary = 'default stuff here';
}
?>
<table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr class="tableBorder">
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td class="cellColor"><h5 align="center"><?php echo translate('Summary')?></h5></td>
</tr>
<tr>
<td class="cellColor" style="text-align: left;">
<?php
if ($type == RES_TYPE_ADD || $type == RES_TYPE_MODIFY || $type == RES_TYPE_APPROVE) {
echo '<div style="text-align:center;" id="summary_div"><textarea class="textbox" name="summary" rows="3" cols="40">' . $summary . '</textarea></div>';
}
else {
echo (!empty($summary) ? CmnFns::html_activate_links($summary) : translate('N/A'));
}
?>
</td>
</tr>
</table>
</td>
</tr>
</table>
<?php
}