X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/027c801a4dc51db673bcbfcfbd396845f244e357..HEAD:/www/new.php diff --git a/www/new.php b/www/new.php index 7a70891..6ec746b 100644 --- a/www/new.php +++ b/www/new.php @@ -15,7 +15,7 @@ require_once 'www-header.php'; $repopo = new Repository_Post(); if ($repopo->process($_POST, $_SESSION)) { - redirect($repopo->repo->getLink('display')); + redirect($repopo->repo->getLink('display', null, true)); } $phork = array( @@ -28,7 +28,7 @@ render( 'files' => $phork, 'description' => '', 'htmlhelper' => new HtmlHelper(), - 'recents' => $db->getSearch()->listAll(0, 5, 'crdate', 'desc'), + 'recents' => $db->getSearch()->listAll(0, 5, 'modate', 'desc'), 'dh' => new \Date_HumanDiff(), ) );