diff --git a/system/admin/views/static-pages.html.php b/system/admin/views/static-pages.html.php index ed75b21..f80c482 100644 --- a/system/admin/views/static-pages.html.php +++ b/system/admin/views/static-pages.html.php @@ -55,7 +55,7 @@ $(function() { title;?>
diff --git a/system/htmly.php b/system/htmly.php index fd3f2f8..37ca32b 100644 --- a/system/htmly.php +++ b/system/htmly.php @@ -1168,7 +1168,7 @@ get('/admin/pages/:static', function ($static) 'description' => $post->description, 'canonical' => $post->url, 'bodyclass' => 'in-page ' . strtolower($static), - 'breadcrumb' => '' . config('breadcrumb.home') . ' » ' . 'Pages » ' . $post->title, + 'breadcrumb' => '' . config('breadcrumb.home') . ' » ' . '' .i18n('pages').' » ' . $post->title, 'p' => $post, 'static' => $post, 'type' => 'staticSubpage', @@ -3207,7 +3207,7 @@ get('/:static/edit', function ($static) { 'canonical' => site_url(), 'bodyclass' => 'edit-page', 'is_admin' => true, - 'breadcrumb' => '' . config('breadcrumb.home') . ' » ' . $post->title, + 'breadcrumb' => '' . config('breadcrumb.home') . ' » ' .i18n('pages').' » ' . $post->title, 'p' => $post, 'static' => $post, 'type' => 'staticPage', diff --git a/system/includes/functions.php b/system/includes/functions.php index e890143..aa661dc 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -628,7 +628,7 @@ function get_subpages($sub_pages, $page = 1, $perpage = 0) $post->md = $v['basename']; $post->slug = $url; - $post->parent = $fd; + $post->parent = $static; // Get the contents and convert it to HTML $content = file_get_contents($post->file);