Browse Source

Quick fixes

pull/255/head v2.7.3
Danang Probo Sayekti 10 years ago
parent
commit
e66f84d413
2 changed files with 8 additions and 8 deletions
  1. +1
    -1
      cache/installedVersion.json
  2. +7
    -7
      system/htmly.php

+ 1
- 1
cache/installedVersion.json View File

@ -1,4 +1,4 @@
{ {
"id": 782014, "id": 782014,
"tag_name": "v2.7.2"
"tag_name": "v2.7.3"
} }

+ 7
- 7
system/htmly.php View File

@ -58,7 +58,7 @@ get('/index', function () {
'bodyclass' => 'in-front', 'bodyclass' => 'in-front',
'breadcrumb' => '', 'breadcrumb' => '',
'p' => $front, 'p' => $front,
'type' => 'is_front',
'type' => 'is_frontpage',
'is_front' => true, 'is_front' => true,
), $layout); ), $layout);
@ -96,7 +96,7 @@ get('/index', function () {
'description' => blog_description(), 'description' => blog_description(),
'canonical' => site_url(), 'canonical' => site_url(),
'bodyclass' => 'no-posts', 'bodyclass' => 'no-posts',
'type' => 'is_front',
'type' => 'is_frontpage',
'is_front' => true, 'is_front' => true,
), $layout); ), $layout);
@ -112,7 +112,7 @@ get('/index', function () {
'bodyclass' => 'in-front', 'bodyclass' => 'in-front',
'breadcrumb' => '', 'breadcrumb' => '',
'pagination' => has_pagination($total, $perpage, $page), 'pagination' => has_pagination($total, $perpage, $page),
'type' => 'is_front',
'type' => 'is_frontpage',
'is_front' => true, 'is_front' => true,
), $layout); ), $layout);
@ -271,7 +271,7 @@ get('/edit/profile', function () {
'title' => 'Edit profile - ' . blog_title(), 'title' => 'Edit profile - ' . blog_title(),
'description' => blog_description(), 'description' => blog_description(),
'canonical' => site_url(), 'canonical' => site_url(),
'type' => 'is_admin',
'type' => 'is_profile',
'is_admin' => true, 'is_admin' => true,
'bodyclass' => 'edit-profile', 'bodyclass' => 'edit-profile',
'breadcrumb' => '<a href="' . site_url() . '">' . config('breadcrumb.home') . '</a> &#187; Edit profile', 'breadcrumb' => '<a href="' . site_url() . '">' . config('breadcrumb.home') . '</a> &#187; Edit profile',
@ -312,7 +312,7 @@ post('/edit/profile', function () {
'error' => '<ul>' . $message['error'] . '</ul>', 'error' => '<ul>' . $message['error'] . '</ul>',
'postTitle' => $title, 'postTitle' => $title,
'postContent' => $content, 'postContent' => $content,
'type' => 'is_admin',
'type' => 'is_profile',
'is_admin' => true, 'is_admin' => true,
'bodyclass' => 'edit-profile', 'bodyclass' => 'edit-profile',
'breadcrumb' => '<a href="' . site_url() . '">' . config('breadcrumb.home') . '</a> &#187; Edit profile' 'breadcrumb' => '<a href="' . site_url() . '">' . config('breadcrumb.home') . '</a> &#187; Edit profile'
@ -330,7 +330,7 @@ get('/edit/frontpage', function () {
'title' => 'Edit frontpage - ' . blog_title(), 'title' => 'Edit frontpage - ' . blog_title(),
'description' => blog_description(), 'description' => blog_description(),
'canonical' => site_url(), 'canonical' => site_url(),
'type' => 'is_admin',
'type' => 'is_frontpage',
'is_admin' => true, 'is_admin' => true,
'bodyclass' => 'edit-frontpage', 'bodyclass' => 'edit-frontpage',
'breadcrumb' => '<a href="' . site_url() . '">' . config('breadcrumb.home') . '</a> &#187; Edit frontpage', 'breadcrumb' => '<a href="' . site_url() . '">' . config('breadcrumb.home') . '</a> &#187; Edit frontpage',
@ -371,7 +371,7 @@ post('/edit/frontpage', function () {
'error' => '<ul>' . $message['error'] . '</ul>', 'error' => '<ul>' . $message['error'] . '</ul>',
'postTitle' => $title, 'postTitle' => $title,
'postContent' => $content, 'postContent' => $content,
'type' => 'is_admin',
'type' => 'is_frontpage',
'is_admin' => true, 'is_admin' => true,
'bodyclass' => 'edit-frontpage', 'bodyclass' => 'edit-frontpage',
'breadcrumb' => '<a href="' . site_url() . '">' . config('breadcrumb.home') . '</a> &#187; Edit frontpage' 'breadcrumb' => '<a href="' . site_url() . '">' . config('breadcrumb.home') . '</a> &#187; Edit frontpage'


Loading…
Cancel
Save