diff --git a/file/lib/page/ChatCopyrightPage.class.php b/file/lib/page/ChatCopyrightPage.class.php new file mode 100644 index 0000000..5942552 Binary files /dev/null and b/file/lib/page/ChatCopyrightPage.class.php differ diff --git a/file/lib/page/ChatPage.class.php b/file/lib/page/ChatPage.class.php index a9eb6ed..9656430 100644 --- a/file/lib/page/ChatPage.class.php +++ b/file/lib/page/ChatPage.class.php @@ -120,6 +120,10 @@ class ChatPage extends AbstractPage { new \wcf\form\ChatForm(); exit; } + else if ($this->action == 'Copyright') { + new ChatCopyrightPage(); + exit; + } if (isset($_REQUEST['id'])) $this->roomID = (int) $_REQUEST['id']; if (isset($_REQUEST['ajax'])) $this->useTemplate = false; diff --git a/file/lib/system/event/listener/ChatRouteListener.class.php b/file/lib/system/event/listener/ChatRouteListener.class.php index 1c64d13..443a8cb 100644 --- a/file/lib/system/event/listener/ChatRouteListener.class.php +++ b/file/lib/system/event/listener/ChatRouteListener.class.php @@ -18,7 +18,7 @@ class ChatRouteListener implements \wcf\system\event\IEventListener { $route = new \wcf\system\request\Route('chatAction'); $route->setSchema('/{controller}/{action}'); $route->setParameterOption('controller', null, 'Chat'); - $route->setParameterOption('action', null, '(Message|Log|Send|RefreshRoomList)'); + $route->setParameterOption('action', null, '(Message|Log|Send|RefreshRoomList|Copyright)'); $eventObj->addRoute($route); } } diff --git a/language/de.xml b/language/de.xml index 41f97b8..5330609 100644 --- a/language/de.xml +++ b/language/de.xml @@ -34,7 +34,7 @@ - Chat{if CHAT_SHOW_VERSION} Version {$chatVersion}{/if} entwickelt von TimWolla]]> + Chat: Tims Chat{if CHAT_SHOW_VERSION} {$chatVersion}{/if}, entwickelt von TimWolla]]> diff --git a/template/chat.tpl b/template/chat.tpl index f5b4f25..36ad055 100644 --- a/template/chat.tpl +++ b/template/chat.tpl @@ -6,6 +6,12 @@ {include file='headInclude' sandbox=false}