Browse Source
- Edit the chatroom subject
- Edit the chatroom subject
- Add/Delete a group - Manage the browsers with a new session hash in the database - Some CSS fixspull/16/head
25 changed files with 307 additions and 30 deletions
-
4app/models/message/MessageDAO.php
-
22app/models/presence/PresenceDAO.php
-
3app/models/sessionx/Sessionx.php
-
25app/models/sessionx/SessionxDAO.php
-
53app/widgets/Chat/Chat.php
-
17app/widgets/Chat/_chat_header_room.tpl
-
21app/widgets/Chat/_chat_subject.tpl
-
7app/widgets/Chat/chat.js
-
2app/widgets/Chat/locales.ini
-
30app/widgets/Group/Group.php
-
18app/widgets/Group/_group_delete.tpl
-
3app/widgets/Group/_group_header.tpl
-
2app/widgets/Group/locales.ini
-
62app/widgets/Groups/Groups.php
-
21app/widgets/Groups/_groups_add.tpl
-
3app/widgets/Groups/_groups_server.tpl
-
5app/widgets/Groups/locales.ini
-
5app/widgets/Login/Login.php
-
8app/widgets/Login/login.js
-
2app/widgets/Post/_post_comments_error.tpl
-
2app/widgets/Rooms/Rooms.php
-
2app/widgets/Rooms/_rooms_remove.tpl
-
10system/Sessionx.php
-
2themes/material/css/list.css
-
8themes/material/css/style.css
@ -0,0 +1,21 @@ |
|||
<section> |
|||
<form name="changesubject"> |
|||
<h3>{$c->__('chatroom.subject')}</h3> |
|||
|
|||
<div> |
|||
<textarea name="subject" placeholder="{$c->__('chatroom.subject')}">{$subject->subject}</textarea> |
|||
<label for="subject">{$c->__('chatroom.subject')}</label> |
|||
</div> |
|||
</section> |
|||
<div> |
|||
<a class="button flat" onclick="Dialog.clear()"> |
|||
{$c->__('button.close')} |
|||
</a> |
|||
<a |
|||
class="button flat" |
|||
onclick="Chat_ajaxSetSubject('{$room}', movim_form_to_json('changesubject')); Dialog.clear();"> |
|||
{$c->__('button.save')} |
|||
</a> |
|||
</div> |
|||
|
|||
</div> |
@ -0,0 +1,18 @@ |
|||
<section> |
|||
<h3>{$c->__('group.delete_title')}</h3> |
|||
<br /> |
|||
<h4 class="gray">{$c->__('group.delete_text')}</h4> |
|||
<br /> |
|||
<h4 class="gray">{$node}</h4> |
|||
</section> |
|||
<div class="no_bar"> |
|||
<a onclick="Dialog.clear()" class="button flat"> |
|||
{$c->__('button.cancel')} |
|||
</a> |
|||
<a |
|||
name="submit" |
|||
class="button flat" |
|||
onclick="Group_ajaxDeleteConfirm('{$server}', '{$node}'); Dialog.clear()"> |
|||
{$c->__('button.remove')} |
|||
</a> |
|||
</div> |
@ -0,0 +1,21 @@ |
|||
<section> |
|||
<form name="groupadd"> |
|||
<h3>{$c->__('groups.add')}</h3> |
|||
|
|||
<div> |
|||
<input name="name" placeholder="{$c->__('groups.name_example')}" type="text" required /> |
|||
<label for="name">{$c->__('groups.name')}</label> |
|||
</div> |
|||
</section> |
|||
<div> |
|||
<a class="button flat" onclick="Dialog.clear()"> |
|||
{$c->__('button.close')} |
|||
</a> |
|||
<a |
|||
class="button flat" |
|||
onclick="Groups_ajaxAddConfirm('{$server}', movim_form_to_json('groupadd')); Dialog.clear();"> |
|||
{$c->__('button.add')} |
|||
</a> |
|||
</div> |
|||
|
|||
</div> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue