"> <input type="hidden" name="id" value="<?php echo $jobInst->id; ?> "> <table border="0" cellpadding="2" cellspacing="1" width="96%" bgcolor="#ffffff"> <tr> <th colspan="2"> <?php if ($status == 1) { echo $lang['tasks_editTask']; } else { echo $lang['tasks_postNewJob']; } // is that private job? $privatejob_status = $jobInst->isFlag(JOB_FLAG_PRIVATE) ? "checked" : ""; ?> </th> </tr><tr> <td class="list" valign="top"><?php echo $lang['common_comment']; ?> : </td> <td class="list"><textarea wrap="physical" name="comment" rows="<?php echo $htmlconfig['textarea_rows']; ?> " cols="<?php echo $htmlconfig['textarea_cols']; ?> "><?php echo $jobInst->comment;
echo "<td colspan=\"5\" class=list align=right><b>" . $lang['common_summary'] . ":</b></td>\n"; echo "<td class=list align=right><b>" . $toolInst->formatTime($mySummary) . "</b></td>\n"; echo "</tr>\n"; echo "<tr><td colspan=\"6\" class=list> </td></tr>\n"; $mySummary = 0; } ### echo "<tr>"; ### $myTime = $jobInst->getSummary(true); $mySummary += $myTime; ### if ($loginInst->hasAccess("report.viewOther")) { echo "<td class=list>" . $userInst->username . "</td>"; } $stylePrivate = $jobInst->isFlag(JOB_FLAG_PRIVATE) ? "_private" : ""; echo "<td class=list>" . substr($projectInst->name, 0, 50) . "</td>"; echo "<td class=list>" . substr($taskInst->subject, 0, 50) . "...</td>"; echo "<td class=list{$stylePrivate}>" . $jobInst->comment . "...</td>"; echo "<td class=list{$stylePrivate}><nobr>" . $toolInst->getTime("", $jobInst->start) . "</nobr></td>"; echo "<td class=list{$stylePrivate}><nobr>" . $toolInst->getTime("", $jobInst->stop) . "</nobr></td>"; ### echo "<td class=list{$stylePrivate} align=right>" . $toolInst->formatTime($myTime) . "</td>"; ### echo "</tr>"; ## $firstrun = 0; ## next($array); } ###