X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/ec66a5c7d17cb1e67ee066f2e9bdaf5bbc9ab614..6eef15cdc3bef5971d8ffe95bcbcaff368c87e69:/www/edit.php diff --git a/www/edit.php b/www/edit.php index d86df41..4de3d47 100644 --- a/www/edit.php +++ b/www/edit.php @@ -1,17 +1,24 @@ loadFromRequest(); +$repopo = new Repository_Post($repo); +if ($repopo->process($_POST, $_SESSION)) { + redirect($repo->getLink('display')); +} + render( 'edit', array( 'repo' => $repo, + 'htmlhelper' => new HtmlHelper(), ) ); ?>