tasks/includes/t-tasks/pages.inc.php
Emmanuel BENOîT 59fec5529f Moving tasks - Preliminary version
* Works when moving tasks without dependencies. Crashes with a SQL error
due to FK violation when moving tasks with interdependencies (LTC ID?)

* The form is unable to force removal of external dependencies at this
time.

* Related PL/PgSQL code stored in database/temp.sql at this time.
2016-01-04 11:03:38 +01:00

28 lines
684 B
PHP

<?php
class Page_TasksTasks
extends AuthenticatedPage
{
public function __construct()
{
parent::__construct( array(
'' => 'all_tasks' ,
'add' => 'add_task_form' ,
'claim' => 'task_claim' ,
'delete' => 'delete_task_form' ,
'edit' => 'edit_task_form' ,
'finish' => array( 'toggle_task' , false ) ,
'restart' => array( 'toggle_task' , true ) ,
'view' => 'view_task' ,
'deps/add' => 'dependency_add_form' ,
'deps/delete' => 'dependency_delete_form' ,
'move' => 'task_move_form' ,
'move/down' => 'task_move_down' ,
'move/up' => 'task_move_up' ,
'notes/edit' => 'edit_note_form' ,
'notes/delete' => 'delete_note_form' ,
));
}
}