From df69a8f8d737b78bce87183d972e1a2c3eab6ba0 Mon Sep 17 00:00:00 2001 From: danpros Date: Sun, 21 Feb 2021 20:11:34 +0700 Subject: [PATCH] Update update.html.php --- system/admin/views/update.html.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/system/admin/views/update.html.php b/system/admin/views/update.html.php index ef005c7..cfdbdca 100644 --- a/system/admin/views/update.html.php +++ b/system/admin/views/update.html.php @@ -11,22 +11,22 @@ $updater = new HubUpdater(array( if ($updater->able()) { $info = $updater->getNewestInfo(); - echo '

Update Available

'; - echo '

Release Title: '. $info['name'] .'

'; + echo '

Update Available


'; + echo '

'. $info['name'] .'

'; echo '

Version: '. $info['tag_name'] .'

'; - echo '

Release Notes

'; - echo '
'; + echo '
Release Notes
'; + echo '
'; echo \Michelf\MarkdownExtra::defaultTransform($info['body']); echo '
'; echo '

Important: Please always backup your files before upgrading to newer version.

'; echo '

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

'; } else { - echo '

Congrats! You have the latest version of HTMLy

'; + echo '

Congrats! You have the latest version of HTMLy


'; $info = $updater->getCurrentInfo(); - echo '

Release Title: '. $info['name'] .'

'; + echo '

'. $info['name'] .'

'; echo '

Installed Version: '. $info['tag_name'] .'

'; - echo '

Release Notes:

'; - echo '
'; + echo '
Release Notes:
'; + echo '
'; echo \Michelf\MarkdownExtra::defaultTransform($info['body']); echo '
'; echo '

Read on Github

';