Location: PHPKode > projects > PhpProjectMaster > www/template/admin/task/edit/comments.html
<div id="task_comments">
<a name="task_comments"></a>
<h3>`Comments`</h3>

<div id="comm_add_btn">
<a href="#" onclick="$('#comm_add_btn').hide();$('#comm_add_form').show();return false;">Add a Comment</a>
</div>

<table class="form" id="comm_add_form">
<form action="<~../script_name>" method="post" name="DataFC" enctype="multipart/form-data">
<input type="hidden" name="SaveRecComm" value="1">
<input type="hidden" name="is_refresh" value="">
<input type="hidden" name="item[t_id]" value="<~t_id>">

<tr valign=top>
<td colspan="2"><~/common/req>`Comment/Note`:</td>
</tr>
<tr valign=top>
<td colspan="2" class="content"><textarea name="item[idesc]" rows="7" cols="60" class="text" onChange="input_changed()"></textarea>
</td>
</tr>

<tr>
<td class="label">`Status`:</td>
<td class="content">
<select name="item[status]">
<~/common/sel/status0.sel select="status" ifeq="itype" value="0">
<~/common/sel/status1.sel select="status" ifeq="itype" value="1">
<~/common/sel/status0.sel select="status" ifeq="itype" value="2">
</select>
</td>
</tr>

<tr valign=top>
<td class="label">`Attach&nbsp;files`:</td>
<td class="content">
<div id="upload_list_comm"><input type="file" name="file1" size="32" value="" class="text" onChange="input_changed()">
<span id="btn_att_more_comm">&nbsp;<a href='#' onclick="return upload_more_click('#upload_list_comm', '#btn_att_more_comm')">`more`</a></span>
</div>
</td>
</tr>

<tr>
<td colspan="2" class="label">
<~/common/req_msg>
<input type="submit" value=" `Add a Comment` ">&nbsp;

</td>
</tr>
</form>
</table>

<~comm_datarow_block ifge="comm_datarow_ctr" value="0" inline>
<table id="comm_dr">
<thead>
<tr>
<td><b>`From`</b></td>
<td><b>`Added on`</b></td>
</tr>
</thead>
<tbody>
<~comm_datarow repeat inline>

<tr class="<~tr_class>">
<td><b><~u_id_name></b></td>
<td><~add_time_human></td>
</tr>

<tr class="<~tr_class>"><td colspan="2">
<~idesc>

<div id="att_list_comm">
<~att_list_comm ifge="att_list_comm_dr_ctr" value="0" inline>
Attachments:
<~att_list_comm_dr repeat inline>
 <div>
 <a href="<~ROOT_URL>/php/att.php?download=1&id=<~att_id>"><~iname></a>
 <~/common/dot><~fsize_human>
 <!--<~/common/dot><a href="#" onclick="return delete_btn('<~../script_name>?DelRecCommAtt=1&id=<~comm_id>&t_id=<~t_id>&att_id=<~att_id>')">`delete`</a>-->
 <~att_img ifeq="is_img" value="1">
 </div>
</~att_list_comm_dr>
</~att_list_comm>
</div>

</td></tr>

</~comm_datarow>
</tbody>
</table>

<div id="comm_add_btn2">
<a href="#task_comments" onclick="$('#comm_add_btn').hide();$('#comm_add_form').show();">Add a Comment</a>
</div>
</~comm_datarow_block>

</div>
Return current item: PhpProjectMaster