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