Ejemplo n.º 1
0
	<td class="form_field_header_cell">Task Type:</td>
	<td class="form_field_cell"><?php 
echo $task->type;
?>
</td>
</tr>
<tr>
	<td class="form_field_header_cell" nowrap>Task Description:</td>
	<td class="form_field_cell">
<? if($task->type == 'FREEFORM'){ ?>
		<?php 
echo nl2br($task->description);
?>
<? }else{ ?>
			<?php 
echo $task->getTaskItemsHTML(0, 'VIEW');
?>
<? } //end if task type ?>
	</td>
</tr>
<tr>
	<td class="form_field_header_cell">Task Attachments:</td>
	<td class="form_field_cell">
<?  $attachments = $task->attachments;
		$attachment_count = count($attachments);
		if($attachment_count > 0){
			for($i=0; $i<$attachment_count; $i++){ ?>
			<a title="View Attachment" href="attachment.php?id=<?php 
echo $attachments[$i]->id;
?>
"><?php 
Ejemplo n.º 2
0
echo $task_activity->text;
?>
</textarea></td>
</tr>
<? }else{?>
<tr>
	<td class="form_field_header_cell">Activity Notes:</td>
	<td class="form_field_cell"><textarea name="text" class="input_text" tabindex="10" cols="70" rows="3"><?php 
echo $task_activity->text;
?>
</textarea></td>
</tr>
<tr>
	<td class="form_field_header_cell">Items:</td>
	<td class="form_field_cell"><?php 
echo $task->getTaskItemsHTML($task_activity->id);
?>
</td>
</tr>
<tr>
	<td class="form_field_header_cell">New Task:</td>
	<td class="form_field_cell">
		<select name="new_item_parent" class="input_text" tabindex="11">
			<option value="0">No Parent</option>
			<?php 
echo SI_TaskItem::getParentSelectTags($task->id);
?>
		</select>
		<input name="new_item" class="input_text" size="70" type="text">
	</td>
</tr>