From f5a7f6d940a9ad82d761b21e7d8a52c450682522 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Sun, 5 Feb 2012 21:54:37 +0100 Subject: [PATCH] Don't use RELATIVE_WCF_DIR To comply with WoltLab/WCF@ef1f1061b6fd709bb546e838415a839234031997 --- acptemplate/chatRoomAdd.tpl | 4 ++-- acptemplate/chatRoomList.tpl | 14 +++++++------- file/lib/acp/form/ChatRoomEditForm.class.php | 2 +- template/chat.tpl | 2 +- template/chatJavascriptInclude.tpl | 4 ++-- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/acptemplate/chatRoomAdd.tpl b/acptemplate/chatRoomAdd.tpl index 15053c3..2b03e96 100644 --- a/acptemplate/chatRoomAdd.tpl +++ b/acptemplate/chatRoomAdd.tpl @@ -1,7 +1,7 @@ {include file='header'}
- +

{lang}wcf.acp.chat.room.{$action}{/lang}

@@ -18,7 +18,7 @@ diff --git a/acptemplate/chatRoomList.tpl b/acptemplate/chatRoomList.tpl index 2b16686..784caa2 100644 --- a/acptemplate/chatRoomList.tpl +++ b/acptemplate/chatRoomList.tpl @@ -1,7 +1,7 @@ {include file='header'}
- +

{lang}wcf.acp.chat.room.list{/lang}

@@ -22,7 +22,7 @@ {if $__wcf->session->getPermission('admin.content.chat.canAddRoom')} {/if} @@ -50,14 +50,14 @@ {if $__wcf->session->getPermission('admin.content.chat.canEditRoom')} - + {else} - + {/if} {if $__wcf->session->getPermission('admin.content.chat.canDeleteRoom')} - + {else} - + {/if} {event name='buttons'} @@ -80,7 +80,7 @@ {if $__wcf->session->getPermission('admin.content.chat.canAddRoom')} {/if} diff --git a/file/lib/acp/form/ChatRoomEditForm.class.php b/file/lib/acp/form/ChatRoomEditForm.class.php index 3c49999..71efd30 100644 --- a/file/lib/acp/form/ChatRoomEditForm.class.php +++ b/file/lib/acp/form/ChatRoomEditForm.class.php @@ -82,7 +82,7 @@ public function save() { // update room - $chatRoomAction = new \wcf\data\chat\room\ChatRoomEditor(array($this->roomID), 'update', array('data' => array( + $chatRoomAction = new \wcf\data\chat\room\ChatRoomAction(array($this->roomID), 'update', array('data' => array( 'title' => $this->title, 'topic' => $this->topic ))); diff --git a/template/chat.tpl b/template/chat.tpl index c7a843c..55b832b 100755 --- a/template/chat.tpl +++ b/template/chat.tpl @@ -5,7 +5,7 @@ {include file='headInclude' sandbox=false}