예제 #1
0
<div class="form_bg" style="display:none;" id="task_form">
<?
if($_POST['Save']=='Add this Task')
$task->AddTask('server');
else
 $task->AddTask('local');
?>
<div class="Clear"><a href="" onclick="document.getElementById('task_link').style.display=''; document.getElementById('task_form').style.display='none'; return false;">cancel</a></div>
</div>

<div id="prl" style="visibility:hidden;"><img  id="prl_image" src="images/spinner.gif"  /></div>

<h4>Tasks</h4>
<a href="task.php?contact_id=<?php 
echo $contact->GetContactID();
?>
" id="task_link" onclick="document.getElementById('task_form').style.display=''; this.style.display='none'; return false;">Add Task</a><br />
<div class="form_main">
<div id="task_area" class="small_text">
<?php 
echo $task->GetTask('', '', '', '', '', '', '', 1);
?>
</div>
</div>
<!--Availability - Contract Pg 3, 1.5
--><?php 
$page->displayPageBottom();
?>

예제 #2
0
파일: edit_task.php 프로젝트: name256/crm42
?>

<div id="content_column_header">
<div id="display_tag" class="display_tag" style="display:none">&nbsp;</div>
	<div class="form_main">
		<?php 
$task->TaskHeader();
?>
		<?php 
// $task->Get_Tag($_REQUEST[module_id],'display_tag');
?>
	</div>
</div>
<div class="form_main">
	<div class="textb" id="task_area"><?php 
echo $task->GetTask();
?>
</div>
</div>

<?php 
// **********************Closes the Content Column and begins Info Column ****************************//
$page->printContentColumnEnd();
// **********************Start code for Info Column ****************************//
?>


<div class="form_bg">
<?
if($_POST['Save']=='Save')
$task->EditTask('server',$_REQUEST[task_id]);