tasks/includes/t-tasks/pages.inc.php
Emmanuel BENOîT 9677ad4dd3 Initial import of tasks application
This initial import is a heavily modified version of the code I had
here, as Arse was modified for other purposes in the meantime and the
application no longer worked with it.

In addition:
 * I did not import the user management part yet,
 * task dependencies are supported in-base, but there is no interface
for that yet.
2012-02-05 18:47:04 +01:00

22 lines
463 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' ,
));
}
}