X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/ec66a5c7d17cb1e67ee066f2e9bdaf5bbc9ab614..7bfe10119a31215f131c64fa57c3ffc10a58c8eb:/www/edit.php?ds=sidebyside diff --git a/www/edit.php b/www/edit.php index d86df41..4199c34 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')); +} + render( 'edit', array( 'repo' => $repo, + 'dh' => new \Date_HumanDiff(), + 'htmlhelper' => new HtmlHelper(), ) ); ?>