Emmanuel BENOîT
ba3fcc2470
A few bugs in the SQL scripts have been fixed. It is now possible to add new dependencies to a task from the details page.
23 lines
504 B
PHP
23 lines
504 B
PHP
<?php
|
|
|
|
class Page_TasksTasks
|
|
extends AuthenticatedPage
|
|
{
|
|
|
|
public function __construct()
|
|
{
|
|
parent::__construct( array(
|
|
'' => 'all_tasks' ,
|
|
'add' => 'add_task_form' ,
|
|
'delete' => 'delete_task_form' ,
|
|
'edit' => 'edit_task_form' ,
|
|
'finish' => array( 'toggle_task' , false ) ,
|
|
'restart' => array( 'toggle_task' , true ) ,
|
|
'view' => 'view_task' ,
|
|
'notes/edit' => 'edit_note_form' ,
|
|
'notes/delete' => 'delete_note_form' ,
|
|
'deps/add' => 'dependency_add_form' ,
|
|
));
|
|
}
|
|
|
|
}
|