From e1c91c896c19c875e5c30353dbf402b32727676a Mon Sep 17 00:00:00 2001 From: Trevor Slocum Date: Thu, 7 Jun 2018 22:01:25 -0700 Subject: [PATCH] Add GitLab migration notice --- README.md | 7 +++++++ inc/html.php | 9 +++++++++ 2 files changed, 16 insertions(+) diff --git a/README.md b/README.md index 6ae4d95..d6d15ad 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,10 @@ +!!! TinyIB has moved to GitLab !!! +==== + +Please visit https://gitlab.com/tslocum/tinyib + +------------ + TinyIB - A Lightweight and Efficient [Image Board](https://en.wikipedia.org/wiki/Imageboard) Script ==== diff --git a/inc/html.php b/inc/html.php index 8d0de2b..55001bf 100644 --- a/inc/html.php +++ b/inc/html.php @@ -771,6 +771,15 @@ function manageStatus() { $info = $threads . ' ' . plural('thread', $threads) . ', ' . $bans . ' ' . plural('ban', $bans); $output = ''; + if ($isadmin) { + $output .= << + Notice +

TinyIB has moved to GitLab. If you installed via git, please run

git remote set-url origin https://gitlab.com/tslocum/tinyib.git
to continue receiving updates.

+ +EOF; + } + if ($isadmin && TINYIB_DBMODE == 'mysql' && function_exists('mysqli_connect')) { // Recommend MySQLi $output .= <<