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