mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-21 21:30:08 +00:00
Fix formatting
This commit is contained in:
parent
40bc1163f4
commit
f4c294a77c
@ -15,14 +15,14 @@
|
|||||||
<permissions>admin.chat.canEditRoom,admin.chat.canDeleteRoom</permissions>
|
<permissions>admin.chat.canEditRoom,admin.chat.canDeleteRoom</permissions>
|
||||||
<showorder>1</showorder>
|
<showorder>1</showorder>
|
||||||
</acpmenuitem>
|
</acpmenuitem>
|
||||||
|
|
||||||
<acpmenuitem name="chat.acp.menu.link.room.add">
|
<acpmenuitem name="chat.acp.menu.link.room.add">
|
||||||
<controller><![CDATA[chat\acp\form\RoomAddForm]]></controller>
|
<controller><![CDATA[chat\acp\form\RoomAddForm]]></controller>
|
||||||
<parent>chat.acp.menu.link.chat</parent>
|
<parent>chat.acp.menu.link.chat</parent>
|
||||||
<permissions>admin.chat.canAddRoom</permissions>
|
<permissions>admin.chat.canAddRoom</permissions>
|
||||||
<showorder>2</showorder>
|
<showorder>2</showorder>
|
||||||
</acpmenuitem>
|
</acpmenuitem>
|
||||||
|
|
||||||
<acpmenuitem name="chat.acp.menu.link.suspension.list">
|
<acpmenuitem name="chat.acp.menu.link.suspension.list">
|
||||||
<controller><![CDATA[chat\acp\page\ChatSuspensionListPage]]></controller>
|
<controller><![CDATA[chat\acp\page\ChatSuspensionListPage]]></controller>
|
||||||
<parent>chat.acp.menu.link.chat</parent>
|
<parent>chat.acp.menu.link.chat</parent>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<dl>
|
<dl>
|
||||||
<dt>{lang}wcf.acp.index.system.software.chatVersion{/lang}</dt>
|
<dt>{lang}wcf.acp.index.system.software.chatVersion{/lang}</dt>
|
||||||
<dd>{$__chat->getPackage()->packageVersion}</dd>
|
<dd>{$__chat->getPackage()->packageVersion}</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
@ -163,5 +163,4 @@
|
|||||||
<p class="info">{lang}wcf.global.noItems{/lang}</p>
|
<p class="info">{lang}wcf.global.noItems{/lang}</p>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
|
||||||
{include file='footer'}
|
{include file='footer'}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
{if CHAT_LOG_ARCHIVETIME !== 0}
|
{if CHAT_LOG_ARCHIVETIME !== 0}
|
||||||
<script data-relocate="true" src="{$__wcf->getPath('chat')}acp/js/be.bastelstu.Chat.ACP.Log.js?version={PACKAGE_VERSION|rawurlencode}"></script>
|
<script data-relocate="true" src="{$__wcf->getPath('chat')}acp/js/be.bastelstu.Chat.ACP.Log.js?version={PACKAGE_VERSION|rawurlencode}"></script>
|
||||||
|
|
||||||
{if $errorField === ''}
|
{if $errorField === ''}
|
||||||
<script data-relocate="true">
|
<script data-relocate="true">
|
||||||
//<![CDATA[
|
//<![CDATA[
|
||||||
@ -15,7 +15,6 @@
|
|||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
|
||||||
<header class="boxHeadline">
|
<header class="boxHeadline">
|
||||||
<h1>{lang}{@$pageTitle}{/lang}</h1>
|
<h1>{lang}{@$pageTitle}{/lang}</h1>
|
||||||
</header>
|
</header>
|
||||||
@ -55,7 +54,7 @@
|
|||||||
<input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s" />
|
<input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s" />
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<div class="contentNavigation">
|
<div class="contentNavigation">
|
||||||
<nav>
|
<nav>
|
||||||
<ul>
|
<ul>
|
||||||
@ -68,7 +67,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{if $errorField === ''}
|
{if $errorField === ''}
|
||||||
<div id="messageLogContent" class="tabMenuContainer marginTop" data-active="timeTab-0" data-store="activeTabMenuItem" data-base-time="{$date}" data-room-id="{$room->roomID}">
|
<div id="messageLogContent" class="tabMenuContainer marginTop" data-active="timeTab-0" data-store="activeTabMenuItem" data-base-time="{$date}" data-room-id="{$room->roomID}">
|
||||||
<nav class="tabMenu">
|
<nav class="tabMenu">
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{include file='header' pageTitle='chat.acp.room.list'}
|
{include file='header' pageTitle='chat.acp.room.list'}
|
||||||
|
|
||||||
<script data-relocate="true">
|
<script data-relocate="true">
|
||||||
//<![CDATA[
|
//<![CDATA[
|
||||||
$(function() {
|
$(function() {
|
||||||
@ -8,7 +8,7 @@
|
|||||||
});
|
});
|
||||||
//]]>
|
//]]>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<header class="boxHeadline">
|
<header class="boxHeadline">
|
||||||
<h1>{lang}chat.acp.room.list{/lang}</h1>
|
<h1>{lang}chat.acp.room.list{/lang}</h1>
|
||||||
</header>
|
</header>
|
||||||
@ -27,6 +27,7 @@
|
|||||||
</nav>
|
</nav>
|
||||||
{/hascontent}
|
{/hascontent}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{if $objects|count}
|
{if $objects|count}
|
||||||
<section id="roomList" class="container containerPadding sortableListContainer marginTop">
|
<section id="roomList" class="container containerPadding sortableListContainer marginTop">
|
||||||
<ol class="sortableList" data-object-id="0">
|
<ol class="sortableList" data-object-id="0">
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
#!/usr/bin/env php
|
#!/usr/bin/env php
|
||||||
<?php
|
<?php
|
||||||
namespace be\bastelstu\chat;
|
namespace be\bastelstu\chat;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Builds the Chat
|
* Builds the Chat
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Handles installation of Tims Chat.
|
* Handles installation of Tims Chat.
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
@ -56,5 +56,6 @@ public function execute() {
|
|||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$install = new Install();
|
$install = new Install();
|
||||||
$install->execute();
|
$install->execute();
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Handles updates of Tims Chat.
|
* Handles updates of Tims Chat.
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
@ -52,5 +52,6 @@ public function execute() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$update = new Update();
|
$update = new Update();
|
||||||
$update->execute();
|
$update->execute();
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Shows the chatroom add form.
|
* Shows the chatroom add form.
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
@ -52,7 +52,7 @@ public function __run() {
|
|||||||
*/
|
*/
|
||||||
public function readParameters() {
|
public function readParameters() {
|
||||||
parent::readParameters();
|
parent::readParameters();
|
||||||
|
|
||||||
I18nHandler::getInstance()->register('title');
|
I18nHandler::getInstance()->register('title');
|
||||||
I18nHandler::getInstance()->register('topic');
|
I18nHandler::getInstance()->register('topic');
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Shows the chatroom edit form.
|
* Shows the chatroom edit form.
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
@ -53,7 +53,7 @@ class ChatSuspensionListPage extends \wcf\page\SortablePage {
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* username
|
* username
|
||||||
*
|
*
|
||||||
* @var String
|
* @var String
|
||||||
*/
|
*/
|
||||||
public $filterUsername = null;
|
public $filterUsername = null;
|
||||||
@ -67,7 +67,7 @@ class ChatSuspensionListPage extends \wcf\page\SortablePage {
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* issuer username
|
* issuer username
|
||||||
*
|
*
|
||||||
* @var String
|
* @var String
|
||||||
*/
|
*/
|
||||||
public $filterIssuerUsername = null;
|
public $filterIssuerUsername = null;
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Basic implementation that sets proper table name.
|
* Basic implementation that sets proper table name.
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents a chat message.
|
* Represents a chat message.
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
@ -132,7 +132,7 @@ public function getUsername($colored = false) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Converts this message into json-form.
|
* Converts this message into json-form.
|
||||||
*
|
*
|
||||||
* @param boolean $raw
|
* @param boolean $raw
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Executes message related actions.
|
* Executes message related actions.
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
@ -167,22 +167,6 @@ public function send() {
|
|||||||
return $returnValues['returnValues'];
|
return $returnValues['returnValues'];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Fetches messages in between the specified timestamps.
|
|
||||||
*
|
|
||||||
* @return array Array containing message table, containerID and information about an empty message table.
|
|
||||||
*/
|
|
||||||
public function getMessages() {
|
|
||||||
// read messages
|
|
||||||
$messages = ViewableMessageList::getMessagesBetween($this->parameters['room'], $this->parameters['start'], $this->parameters['end']);
|
|
||||||
|
|
||||||
return array(
|
|
||||||
'noMessages' => (count($messages) == 0) ? true : null,
|
|
||||||
'containerID' => $this->parameters['containerID'],
|
|
||||||
'template' => WCF::getTPL()->fetch('__messageLogTable', 'chat', array('messages' => $messages), true)
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Validates getting messages.
|
* Validates getting messages.
|
||||||
*/
|
*/
|
||||||
@ -200,6 +184,25 @@ public function validateGetMessages() {
|
|||||||
if ($this->parameters['room'] === null) throw new \wcf\system\exception\IllegalLinkException();
|
if ($this->parameters['room'] === null) throw new \wcf\system\exception\IllegalLinkException();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Fetches messages in between the specified timestamps.
|
||||||
|
*
|
||||||
|
* @return array Array containing message table, containerID and information about an empty message table.
|
||||||
|
*/
|
||||||
|
public function getMessages() {
|
||||||
|
// read messages
|
||||||
|
$messages = ViewableMessageList::getMessagesBetween($this->parameters['room'], $this->parameters['start'], $this->parameters['end']);
|
||||||
|
|
||||||
|
return array(
|
||||||
|
'noMessages' => (count($messages) == 0) ? true : null,
|
||||||
|
'containerID' => $this->parameters['containerID'],
|
||||||
|
'template' => WCF::getTPL()->fetch('__messageLogTable', 'chat', array('messages' => $messages), true)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Validates setting an attachment.
|
||||||
|
*/
|
||||||
public function validateSendAttachment() {
|
public function validateSendAttachment() {
|
||||||
// read user data
|
// read user data
|
||||||
$this->parameters['userData']['color1'] = WCF::getUser()->chatColor1;
|
$this->parameters['userData']['color1'] = WCF::getUser()->chatColor1;
|
||||||
@ -243,6 +246,9 @@ public function validateSendAttachment() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates a message linked to an attachment
|
||||||
|
*/
|
||||||
public function sendAttachment() {
|
public function sendAttachment() {
|
||||||
$this->parameters['type'] = Message::TYPE_ATTACHMENT;
|
$this->parameters['type'] = Message::TYPE_ATTACHMENT;
|
||||||
$this->parameters['text'] = '[attach]'. $this->parameters['objectID'] .'[/attach]';
|
$this->parameters['text'] = '[attach]'. $this->parameters['objectID'] .'[/attach]';
|
||||||
|
@ -18,7 +18,7 @@ class MessageList extends \wcf\data\DatabaseObjectList {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Reads the newest messages for the given room.
|
* Reads the newest messages for the given room.
|
||||||
*
|
*
|
||||||
* @param \chat\data\room\Room $room
|
* @param \chat\data\room\Room $room
|
||||||
* @param integer $number
|
* @param integer $number
|
||||||
* @return array<\chat\data\message\Message>
|
* @return array<\chat\data\message\Message>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents a viewable chat message.
|
* Represents a viewable chat message.
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents a chat room.
|
* Represents a chat room.
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
@ -77,7 +77,7 @@ public function canEnter(\wcf\data\user\User $user = null) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns whether the user is allowed to write messages in this room.
|
* Returns whether the user is allowed to write messages in this room.
|
||||||
*
|
*
|
||||||
* @param \wcf\data\user\User $user
|
* @param \wcf\data\user\User $user
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
@ -115,7 +115,7 @@ public function canWrite(\wcf\data\user\User $user = null) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the ID of this chatroom.
|
* Returns the ID of this chatroom.
|
||||||
*
|
*
|
||||||
* @see \wcf\system\request\IRouteController
|
* @see \wcf\system\request\IRouteController
|
||||||
*/
|
*/
|
||||||
public function getID() {
|
public function getID() {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides functions to edit chat rooms.
|
* Provides functions to edit chat rooms.
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents a chat suspension.
|
* Represents a chat suspension.
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides functions to edit chat suspensions.
|
* Provides functions to edit chat suspensions.
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents a list of chat suspensions.
|
* Represents a list of chat suspensions.
|
||||||
*
|
*
|
||||||
* @author Maximilian Mader
|
* @author Maximilian Mader
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Shows the chat-interface
|
* Shows the chat-interface
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Shows information about Tims chat.
|
* Shows information about Tims chat.
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
@ -32,7 +32,7 @@ class CopyrightPage extends \wcf\page\AbstractPage {
|
|||||||
public $templateName = '__copyright';
|
public $templateName = '__copyright';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see \wcf\page\IPage::assignVariables()
|
* @see \wcf\page\IPage::assignVariables()
|
||||||
*/
|
*/
|
||||||
public function assignVariables() {
|
public function assignVariables() {
|
||||||
parent::assignVariables();
|
parent::assignVariables();
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Loads new messages.
|
* Loads new messages.
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Chat core
|
* Chat core
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Attachment object type implementation for chat messages.
|
* Attachment object type implementation for chat messages.
|
||||||
*
|
*
|
||||||
* @author Maximilian Mader
|
* @author Maximilian Mader
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
@ -48,10 +48,6 @@ public function canDownload($objectID) {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function canPreview($objectID) {
|
|
||||||
return $this->canDownload($objectID);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see wcf\system\attachment\IAttachmentObjectType::canUpload()
|
* @see wcf\system\attachment\IAttachmentObjectType::canUpload()
|
||||||
*/
|
*/
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Default implementation for commands.
|
* Default implementation for commands.
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Default implementation for restricted commands
|
* Default implementation for restricted commands
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Default implementation for suspension commands
|
* Default implementation for suspension commands
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Default implementation for suspension commands
|
* Default implementation for suspension commands
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Handles commands
|
* Handles commands
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
@ -80,7 +80,7 @@ public function isCommand($text = null) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the whole message.
|
* Returns the whole message.
|
||||||
*
|
*
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function getText() {
|
public function getText() {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Marks the user as away.
|
* Marks the user as away.
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Bans a user.
|
* Bans a user.
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Changes the color of the username
|
* Changes the color of the username
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Informs everyone that the fish was freed. OH A NOEZ.
|
* Informs everyone that the fish was freed. OH A NOEZ.
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Globally bans a user.
|
* Globally bans a user.
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Globally mutes a user.
|
* Globally mutes a user.
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Shows information about the specified user.
|
* Shows information about the specified user.
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Invites a user into a temproom.
|
* Invites a user into a temproom.
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Indicates an action. The message is shown without the colon.
|
* Indicates an action. The message is shown without the colon.
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Mutes a user.
|
* Mutes a user.
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Sends a message that starts with a slash.
|
* Sends a message that starts with a slash.
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Resets the color of a user
|
* Resets the color of a user
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a temporary room
|
* Creates a temporary room
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Bans a user.
|
* Bans a user.
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Unbans a user globally.
|
* Unbans a user globally.
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Unmutes a user globally.
|
* Unmutes a user globally.
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Unmutes a user.
|
* Unmutes a user.
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Shows the users that are online
|
* Shows the users that are online
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Whispers a message.
|
* Whispers a message.
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Vaporizes unneeded data.
|
* Vaporizes unneeded data.
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* PageMenuItemProvider for chat.
|
* PageMenuItemProvider for chat.
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus
|
* @author Tim Düsterhus
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
@ -20,7 +20,7 @@ class ChatPageMenuItemProvider extends \wcf\system\menu\page\DefaultPageMenuItem
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Hides the button when there is no valid room
|
* Hides the button when there is no valid room
|
||||||
*
|
*
|
||||||
* @see \wcf\system\menu\page\PageMenuItemProvider::isVisible()
|
* @see \wcf\system\menu\page\PageMenuItemProvider::isVisible()
|
||||||
*/
|
*/
|
||||||
public function isVisible() {
|
public function isVisible() {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Handles chat-permissions.
|
* Handles chat-permissions.
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus, Marcel Werk
|
* @author Tim Düsterhus, Marcel Werk
|
||||||
* @copyright 2010-2014 WoltLab GmbH
|
* @copyright 2010-2014 WoltLab GmbH
|
||||||
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
|
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
|
||||||
@ -80,7 +80,7 @@ public function __construct(\wcf\data\user\User $user = null) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Fetches the given permission for the given room
|
* Fetches the given permission for the given room
|
||||||
*
|
*
|
||||||
* @param \chat\data\room\Room $room
|
* @param \chat\data\room\Room $room
|
||||||
* @param string $permission
|
* @param string $permission
|
||||||
* @return boolean
|
* @return boolean
|
||||||
|
@ -51,7 +51,7 @@ public static function getPackageID() {
|
|||||||
* Creates a gradient out of two colors represented by an integer.
|
* Creates a gradient out of two colors represented by an integer.
|
||||||
* The first byte is red, the second byte is green, the third one is blue.
|
* The first byte is red, the second byte is green, the third one is blue.
|
||||||
* The numbers can be easily expressed in hexadecimal notation: 0xFF0000 being red.
|
* The numbers can be easily expressed in hexadecimal notation: 0xFF0000 being red.
|
||||||
*
|
*
|
||||||
* @param string $string
|
* @param string $string
|
||||||
* @param integer $start
|
* @param integer $start
|
||||||
* @param integer $end
|
* @param integer $end
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* Styles for Tim’s Chat
|
* Styles for Tim’s Chat
|
||||||
*
|
*
|
||||||
* @author Tim Düsterhus, Maximilian Mader
|
* @author Tim Düsterhus, Maximilian Mader
|
||||||
* @copyright 2010-2014 Tim Düsterhus
|
* @copyright 2010-2014 Tim Düsterhus
|
||||||
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<parent>chat</parent>
|
<parent>chat</parent>
|
||||||
</category>
|
</category>
|
||||||
</categories>
|
</categories>
|
||||||
|
|
||||||
<options>
|
<options>
|
||||||
<!-- general chat options -->
|
<!-- general chat options -->
|
||||||
<option name="module_chat">
|
<option name="module_chat">
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<title>{if $room}{$room} - {/if}{lang}chat.global.title{/lang} - {PAGE_TITLE|language}</title>
|
<title>{if $room}{$room} - {/if}{lang}chat.global.title{/lang} - {PAGE_TITLE|language}</title>
|
||||||
|
|
||||||
{include file='headInclude' sandbox=false}
|
{include file='headInclude'}
|
||||||
{if $room}
|
{if $room}
|
||||||
{include file='javascriptInclude' application='chat'}
|
{include file='javascriptInclude' application='chat'}
|
||||||
<script data-relocate="true">
|
<script data-relocate="true">
|
||||||
@ -130,7 +130,7 @@
|
|||||||
</fieldset>
|
</fieldset>
|
||||||
<button type="submit" class="marginTop invisible" accesskey="s">{lang}wcf.global.button.submit{/lang}</button>
|
<button type="submit" class="marginTop invisible" accesskey="s">{lang}wcf.global.button.submit{/lang}</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
{if MODULE_SMILEY && $smileyCategories|count}
|
{if MODULE_SMILEY && $smileyCategories|count}
|
||||||
{include file='messageFormSmilies' wysiwygSelector=''}
|
{include file='messageFormSmilies' wysiwygSelector=''}
|
||||||
{/if}
|
{/if}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<header class="boxHeadline boxSubHeadline">
|
<header class="boxHeadline boxSubHeadline">
|
||||||
<h2>{lang}chat.header.menu.chat{/lang}</h2>
|
<h2>{lang}chat.header.menu.chat{/lang}</h2>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div class="container marginTop">
|
<div class="container marginTop">
|
||||||
<ul class="containerList">
|
<ul class="containerList">
|
||||||
{@$roomList}
|
{@$roomList}
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<fieldset id="timsChatRoomListContainer">
|
<fieldset id="timsChatRoomListContainer">
|
||||||
<legend>{lang}chat.global.rooms{/lang}</legend>
|
<legend>{lang}chat.global.rooms{/lang}</legend>
|
||||||
<div id="timsChatRoomList">
|
<div id="timsChatRoomList">
|
||||||
|
Loading…
Reference in New Issue
Block a user