Location: PHPKode > projects > Todo Manager > todo/task_description.php
<?php
require_once "config.inc.php";
require_once "controllers/task_description.class.php";

$c = new TaskDescription();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title><?=TITLE?></title>
<link rel="stylesheet" type="text/css" href="common.css" />
<script type="text/javascript" src="javascript.js"></script>
<style type="text/css">
<!--
table#table1 td {
	padding-right: 25px;
}
-->
</style>
</head>

<body>
	<div class="divDescription">
		<h2><?=htmlentities($c->getTitle())?></h2>
		
		<table class="tableText" id="table1" border="0" cellpadding="0" cellspacing="0">
			<tr>
				<td><strong><?=$c->getMessage("project")?>:</strong></td>
				<td><strong><?=$c->getMessage("created_by")?>:</strong></td>
				<td><strong><?=$c->getMessage("assigned_to")?>:</strong></td>
				<td><strong><?=$c->getMessage("priority")?>:</strong></td>
				<td><strong><?=$c->getMessage("status")?>:</strong></td>
			</tr>
			<tr>
				<td><?=htmlentities($c->getProject())?></td>
				<td><?=htmlentities($c->getCreatedBy())?></td>
				<td><?=htmlentities($c->getAssignedTo())?></td>
				<td><?=$c->getMessage($c->getPriority())?></td>
				<td><?=$c->getMessage($c->getStatus())?></td>
			</tr>
		</table>
		
		<table class="tableText" border="0" cellpadding="0" cellspacing="0">
			<tr>
				<td style="padding-right: 15px; "><strong><?=$c->getMessage("attached_file")?>:</strong></td>
				<td>
					<?php
					if (util_empty($c->getAttachedFile()))
						echo "(".$c->getMessage("there_is_no_attached_file").")";
					else
						echo "<a href='download.php?filename=".urlencode($c->getAttachedFile())."'>".htmlentities($c->getAttachedFile())."</a>\n";
					?>
				</td>
			</tr>
		</table>
		
		<table class="tableText" style="width: 100%; " border="0" cellpadding="0" cellspacing="0">
			<tr><td><strong><?=$c->getMessage("description")?>:</strong></td></tr>
			<tr>
				<td class="tdText"><?=util_text($c->getDescription())?></td>
			</tr>
		</table>
		
		<p style="text-align: center; "><input class="inputButton" style="width: 8em; " type="button" value="<?=$c->getMessage("close")?>" onclick="javascript: window.close(); " /></p>
	</div>
</body>
</html>
Return current item: Todo Manager