* display all defaultly.
This commit is contained in:
@@ -37,7 +37,7 @@ class project extends control
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function index($locate = 'yes', $status = 'undone', $projectID = 0)
|
||||
public function index($locate = 'yes', $status = 'all', $projectID = 0)
|
||||
{
|
||||
if(empty($this->projects)) $this->locate($this->createLink('project', 'create'));
|
||||
if($locate == 'yes') $this->locate($this->createLink('project', 'task'));
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
<?php include '../../common/view/sparkline.html.php';?>
|
||||
<?php include '../../common/view/colorize.html.php';?>
|
||||
<h3>
|
||||
<?php echo html::a(inlink("index", "locate=no&status=all&projectID=$project->id"), $lang->project->allProject);?>
|
||||
<?php echo html::a(inlink("index", "locate=no&status=wait&projectID=$project->id"), $lang->project->statusList['wait']);?>
|
||||
<?php echo html::a(inlink("index", "locate=no&status=doing&projectID=$project->id"), $lang->project->statusList['doing']);?>
|
||||
<?php echo html::a(inlink("index", "locate=no&status=suspended&projectID=$project->id"), $lang->project->statusList['suspended']);?>
|
||||
|
||||
Reference in New Issue
Block a user