Added the ability to create a new project with another one as template.

This commit is contained in:
Loïc d'Anterroches
2010-08-11 13:58:41 +02:00
parent 061c806588
commit 4f23ea4dd5
3 changed files with 97 additions and 17 deletions

View File

@@ -118,6 +118,9 @@ class IDF_Views_Admin
/**
* Creation of a project.
*
* A project can use another project as template. In that case,
* everything but the data in the input at creation time is
* reused, including the wiki pages.
*/
public $projectCreate_precond = array('Pluf_Precondition::staffRequired');
public function projectCreate($request, $match)