Browse Source

Fix draft listing

pull/416/head
Dan 5 years ago
committed by GitHub
parent
commit
61a75ee945
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      system/htmly.php

+ 2
- 0
system/htmly.php View File

@ -1088,6 +1088,7 @@ get('/admin/draft', function () {
'is_admin' => true, 'is_admin' => true,
'bodyclass' => 'admin-draft', 'bodyclass' => 'admin-draft',
'breadcrumb' => '<a href="' . site_url() . '">' . config('breadcrumb.home') . '</a> &#187; Draft for: ' . $author->name, 'breadcrumb' => '<a href="' . site_url() . '">' . config('breadcrumb.home') . '</a> &#187; Draft for: ' . $author->name,
'pagination' => has_pagination($total, $perpage, $page)
)); ));
die; die;
} }
@ -1105,6 +1106,7 @@ get('/admin/draft', function () {
'is_admin' => true, 'is_admin' => true,
'bodyclass' => 'admin-draft', 'bodyclass' => 'admin-draft',
'breadcrumb' => '<a href="' . site_url() . '">' . config('breadcrumb.home') . '</a> &#187; Draft for: ' . $author->name, 'breadcrumb' => '<a href="' . site_url() . '">' . config('breadcrumb.home') . '</a> &#187; Draft for: ' . $author->name,
'pagination' => has_pagination($total, $perpage, $page)
)); ));
} else { } else {
$login = site_url() . 'login'; $login = site_url() . 'login';


Loading…
Cancel
Save