diff --git a/README.md b/README.md index f3ebc6b..23d35d4 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ An Open Source Web Hosting Account and Support Management System for MyOwnFreeHost -* Official Site : [uiisc.com](http://uiisc.com "UIISC") -* Author : [Jackson Dou](https://github.com/jksdou "Jackson Dou") +- Official Site : [uiisc.com](http://uiisc.com "UIISC") +- Author : [Jackson Dou](https://github.com/jksdou "Jackson Dou") ## Functions @@ -12,31 +12,29 @@ An Open Source Web Hosting Account and Support Management System for MyOwnFreeHo - [x] Load default language - [x] Change language - ### ClientArea module - [x] Account registration - [x] Account verification - [x] Account cancellation - [x] Email verification -- [x] Login / Logout - [x] Profile modification -- [x] Forget / Reset / Change password +- [x] Login / Logout, Forget / Reset / Change password - [x] Apply for a web hosting account -- [x] Hosting account deletion / deactivation -- [x] Login to hosting control panel +- [x] Web hosting account deletion / deactivation +- [x] Login to web hosting control panel -### admin module +### AdminArea module - [x] Verify if a domain is available -- [x] Creation of account hosting from the panel +- [x] Creation of hosting account - [x] Change password to hosting account - [x] Deactivate or disable a hosting account - [x] Activate or enable hosting account - [x] Verify how many domain and state of the hosting account - [x] Members management - [x] Site configuration -- [ ] API configuration +- [x] API configuration - [x] News management - [ ] Translation file management @@ -44,21 +42,16 @@ An Open Source Web Hosting Account and Support Management System for MyOwnFreeHo - [ ] Add/edit/delete posts - ## Screenshot ##### Solution Page -> > ![Solution Page](screenshot/solution.png) ##### Login Page -> > ![Login Page](screenshot/login.png) ##### Register Page -> > ![Register Page](screenshot/register.png) - diff --git a/src/core/controllers/news/list.php b/src/core/controllers/news/list.php index b630473..608d454 100755 --- a/src/core/controllers/news/list.php +++ b/src/core/controllers/news/list.php @@ -19,3 +19,5 @@ $status_types = array( '关闭', '打开' ); + +$PageInfo['title'] = 'News List'; diff --git a/src/core/controllers/news/view.php b/src/core/controllers/news/view.php index 01ae62e..8e8f4b9 100755 --- a/src/core/controllers/news/view.php +++ b/src/core/controllers/news/view.php @@ -19,3 +19,5 @@ if ($id > 0) { } else { $data = null; } + +$PageInfo['title'] = 'News Details'; diff --git a/src/news.php b/src/news.php index ace715e..9bf7686 100755 --- a/src/news.php +++ b/src/news.php @@ -8,8 +8,6 @@ if (!in_array($action, array('list', 'view'))) { $action = 'list'; } -$PageInfo['title'] = 'News ' . ucfirst($action); - require __DIR__ . '/core/controllers/news/' . $action . '.php'; require __DIR__ . '/core/views/common/header.php'; require __DIR__ . '/core/views/common/navbar.php';