diff --git a/web/app/controllers/add_contest.php b/web/app/controllers/add_contest.php index 9f98ee4..dc70f3c 100644 --- a/web/app/controllers/add_contest.php +++ b/web/app/controllers/add_contest.php @@ -1,4 +1,8 @@ printHTML(); ?> - \ No newline at end of file + diff --git a/web/app/controllers/announcements.php b/web/app/controllers/announcements.php index 2646e99..057461b 100644 --- a/web/app/controllers/announcements.php +++ b/web/app/controllers/announcements.php @@ -1,4 +1,8 @@ '; diff --git a/web/app/controllers/contest_inside.php b/web/app/controllers/contest_inside.php index 0d488b0..bb9c7b5 100644 --- a/web/app/controllers/contest_inside.php +++ b/web/app/controllers/contest_inside.php @@ -1,5 +1,9 @@ \ No newline at end of file +?> diff --git a/web/app/controllers/faq.php b/web/app/controllers/faq.php index b7a7c1e..6746ce9 100644 --- a/web/app/controllers/faq.php +++ b/web/app/controllers/faq.php @@ -1,7 +1,12 @@
diff --git a/web/app/controllers/hack.php b/web/app/controllers/hack.php index 7c54ab8..290c5bf 100644 --- a/web/app/controllers/hack.php +++ b/web/app/controllers/hack.php @@ -1,6 +1,10 @@ succ_href = '/paste'; $paste_form->runAtServer(); echoUOJPageHeader("Paste!"); $paste_form->printHTML(); -echoUOJPageFooter(); \ No newline at end of file +echoUOJPageFooter(); diff --git a/web/app/controllers/paste_view.php b/web/app/controllers/paste_view.php index 16b8f65..277fc09 100644 --- a/web/app/controllers/paste_view.php +++ b/web/app/controllers/paste_view.php @@ -1,5 +1,9 @@ diff --git a/web/app/controllers/subdomain/blog/aboutme.php b/web/app/controllers/subdomain/blog/aboutme.php index 5310231..57c2aee 100644 --- a/web/app/controllers/subdomain/blog/aboutme.php +++ b/web/app/controllers/subdomain/blog/aboutme.php @@ -1,4 +1,10 @@ - + diff --git a/web/app/controllers/subdomain/blog/archive.php b/web/app/controllers/subdomain/blog/archive.php index 593323c..59dc6ac 100644 --- a/web/app/controllers/subdomain/blog/archive.php +++ b/web/app/controllers/subdomain/blog/archive.php @@ -1,5 +1,9 @@ array('*'), 'table_name' => 'blogs', diff --git a/web/app/controllers/subdomain/blog/slide.php b/web/app/controllers/subdomain/blog/slide.php index f3ad95e..7872d68 100644 --- a/web/app/controllers/subdomain/blog/slide.php +++ b/web/app/controllers/subdomain/blog/slide.php @@ -1,5 +1,9 @@ diff --git a/web/app/controllers/user_msg.php b/web/app/controllers/user_msg.php index 4513cbb..a714bb9 100644 --- a/web/app/controllers/user_msg.php +++ b/web/app/controllers/user_msg.php @@ -1,5 +1,5 @@ 'Login', 'register' => 'Register', 'logout' => 'Logout', + 'need login' => 'You need to login first', 'my profile' => 'My Profile', 'private message' => 'Private Message', 'system message' => 'System Message', diff --git a/web/app/locale/basic/zh-cn.php b/web/app/locale/basic/zh-cn.php index 64f5e0d..7c8ce30 100644 --- a/web/app/locale/basic/zh-cn.php +++ b/web/app/locale/basic/zh-cn.php @@ -4,6 +4,7 @@ return [ 'login' => '登录', 'register' => '注册', 'logout' => '登出', + 'need login' => '您需要登录后才能继续', 'my profile' => '个人信息', 'private message' => '私信', 'system message' => '系统消息',