Location: PHPKode > projects > PhpProjectMaster > www/template/admin/task/list/main_info.html
<script type="text/javascript">
<!--
function filter_refresh(is_reset_page){
 var F=document.FFilter;
 F.refresh.value="1";
 if (is_reset_page){
    F.page.value="0";
 }
 F.submit();
}

function ajax_mark_task_flag(t_id, flag){
 $.getJSON("<~../script_name>?AjaxFlag=1&id="+t_id+"&flag="+flag, function(json){
   if (json.err_msg){
      alert(err_msg);
   }
 });
}


//-->
</script>


<center>
<h3><~/common/n/ass ifeq="is_ass" value="1"><~/common/n/my ifeq="is_my" value="1"><~/common/n/nsels></h3>
<a href="<~../script_name>?AddNew=1">`Add New` <~/common/n/nsel></a>
<~/common/dot><a href="<~../script_name>?AddNewBatch=1" onclick="alert('This function will be done soon in nearest versions.');return false;">`Add Bunch of `<~/common/n/nsels></a>
<hr width="80%" size="1">
<~/common/form_msg>


<form action="<~../script_name>" name="FFilter" method="get">
<input type="hidden" name="refresh" value="1">
<input type="hidden" name="dosearch" value="1">
<input type="hidden" name="page" value="">
<table>
<tr><td>
`Search (<input type="checkbox" name="sid" value="1" <~/common/checked ifeq="filter_sid" value="1">>id, <input type="checkbox" name="sname" value="1" <~/common/checked ifeq="filter_sname" value="1">>name, <input type="checkbox" name="sdesc" value="1" <~/common/checked ifeq="filter_sdesc" value="1">>description)`: 
<input type="text" name="s" value="<~search_str>" class="text" size="30" maxlength="255">
<input type="submit" value="&gt;&gt;">
<br />

<div style="margin:5px;">
<b>Filters:</b>&nbsp;

`Type`:
<select name="itype" class="text" onchange="this.form.submit()">
<option value="">`- all -`</option>
<~/common/sel/itype.sel select="itype">
</select>
&nbsp;

`Project`:
<select name="p_id" class="text" onchange="this.form.submit()">
<option value="">`- all -`</option>
<~p_id_select>
</select>
&nbsp;

`Assigned to`:
<select name="u_id" class="text" onchange="this.form.submit()">
<option value="">`- all -`</option>
<~u_id_select>
</select>
&nbsp;

`Status`:
<select name="status" class="text" onchange="this.form.submit()">
<option value="">`- all -`</option>
<~/common/sel/status.sel select="filter_status">
</select>
&nbsp;

</div>

<div>
`Sort by`:
<select name="sortby" class="text" onchange="this.form.submit()">
<~sortby.sel select="sortby">
</select>
&nbsp;

`Show` <select name="pagenum" onchange="this.form.submit()">
<~/common/sel/pagenum.sel select="pagenum">
</select> `records on page`
</div>

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


<~search_empty_msg if="$search_str!='' && $item_datarow_ctr==0" inline>
<div class="err">
<b>`No text matching "<~search_str>" was found. Please try again.`</b>
</div>
</~search_empty_msg>

<~list_table ifge="item_datarow_ctr" value="0" inline>

<~list_navigation>
<br><br>

<table><tr><td>
<form action="<~../script_name>" method="post" name="CBSF">
<input type="hidden" name="SaveList" value="1">
<input type="hidden" name="s" value="<~search_str>">
<input type="hidden" name="page" value="<~page>">

<~btn_del_checked ifeq="logged_access_level" value="100" inline>
<input type="submit" value="`Delete`"> `checked rows`
</~btn_del_checked>

<table class="list">
<thead>
<tr class="listheader">
<th><~cb_all ifeq="logged_access_level" value="100">ID</th>
<th><img src="<~ROOT_URL>/img/flag.gif" width="16" height="16" alt='`Flagged?`' border='0'></th>
<~project_to_head ifeq="filter_p_id" value="0" inline><th>`Project`</th></~project_to_head>
<th><~/common/n/nsel> `Title`</th>
<th>`Completion`</th>
<th>`Priority`</th>
<~ass_to_head ifeq="filter_u_id" value="0" inline><th>`Assigned to`</th></~ass_to_head>
<~status_head ifeq="filter_status" value="" inline><th>`Status`</th></~status_head>
<th>`Started on`</th>
<th>`Finished on`</th>
<th>`Added on`</th>
<th>&nbsp;</th>
</tr>
</thead>
<tbody>
<~item_datarow repeat inline>
 <tr title="<~row_click_url>" class="<~tr_class>">
 <td><~cb_del ifeq="logged_access_level" value="100"><~itype_img ifeq="filter_itype" value=""><~t_id></td>
 <td class="tdf" title='<~t_id>'><~flag_img ifeq="is_flagged" value="1"></td>
 <~p_id_row ifeq="filter_p_id" value="0">
 <td><~iname></td>
 <td><~perc_compl_graph></td>
 <td><~prio_id_name></td>
 <~ass_to_row ifeq="filter_u_id" value="0">
 <~status_row ifeq="filter_status" value="">
 <td><~start_time_human></td>
 <td><~end_time_actual_human></td>
 <td><~add_time_human></td>
 <td nowrap="nowrap">
 <~/common/dot><a href="<~row_click_url>">`Edit`</a>
 <~btn_del ifeq="logged_access_level" value="100">
 </td>
 </tr>
</~item_datarow>
</tbody>
</table>
<~btn_del_checked ifeq="logged_access_level" value="100" inline>
<input type="submit" value="`Delete`"> `checked rows`
</~btn_del_checked>
</form>

<br>
<center>
<~list_navigation>
</center>

</~list_table>

</center>
Return current item: PhpProjectMaster