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