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