* adjust code.

This commit is contained in:
wangyidong
2016-04-29 15:08:32 +08:00
parent d05b006311
commit 746774ee72
5 changed files with 19 additions and 14 deletions
+2 -1
View File
@@ -105,8 +105,9 @@ js::set('browseType', $browseType);
<?php
$datatableId = $this->moduleName . $this->methodName;
$useDatatable = (isset($this->config->datatable->$datatableId->mode) and $this->config->datatable->$datatableId->mode == 'datatable');
$file2Include = $useDatatable ? dirname(__FILE__) . '/datatabledata.html.php' : dirname(__FILE__) . '/taskdata.html.php';
$vars = "projectID=$project->id&status=$status&parma=$param&orderBy=%s&recTotal=$recTotal&recPerPage=$recPerPage";
include $useDatatable ? dirname(__FILE__) . '/datatabledata.html.php' : dirname(__FILE__) . '/taskdata.html.php';
include $file2Include;
?>
<tfoot>
<tr>