From d702e982de1793e26841b7d42981dd3e76eefa45 Mon Sep 17 00:00:00 2001 From: Danang Probo Sayekti Date: Fri, 10 Jul 2015 14:02:21 +0700 Subject: [PATCH] Fix update page --- system/admin/views/update.html.php | 2 +- system/htmly.php | 2 ++ system/upgrade/index.php | 1 - system/upgrade/run.php | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/system/admin/views/update.html.php b/system/admin/views/update.html.php index 8365368..ab9d0ee 100644 --- a/system/admin/views/update.html.php +++ b/system/admin/views/update.html.php @@ -12,7 +12,7 @@ $updater = new HubUpdater(array( if ($updater->able()) { $info = $updater->getNewestInfo(); echo '

Update Available

'; - echo '

Update to ' . $info['tag_name'] . '

'; + echo '

Update to ' . $info['tag_name'] . '

'; } else { echo '

No Available Update

'; echo '

You are using the latest HTMLy version.

'; diff --git a/system/htmly.php b/system/htmly.php index 096e88c..57893c8 100644 --- a/system/htmly.php +++ b/system/htmly.php @@ -1321,6 +1321,8 @@ get('/admin/update/now/:csrf', function ($CSRF) { render('updated-to', array( 'head_contents' => head_contents('Updated - ' . blog_title(), blog_description(), site_url()), 'info' => $updater->getCurrentInfo(), + 'bodyclass' => 'updatepage', + 'breadcrumb' => '' . config('breadcrumb.home') . ' » Update HTMLy' )); } else { $login = site_url() . 'login'; diff --git a/system/upgrade/index.php b/system/upgrade/index.php index 67b1ed6..ca8f9b4 100644 --- a/system/upgrade/index.php +++ b/system/upgrade/index.php @@ -1,5 +1,4 @@