2018-02-04 19:31:02 +01:00
|
|
|
<div class="message-form-container">
|
2018-02-04 18:33:39 +01:00
|
|
|
<div class="new-msgs-indicator hidden">▼ {{{ o.unread_msgs }}} ▼</div>
|
|
|
|
<form class="sendXMPPMessage">
|
|
|
|
{[ if (o.show_toolbar) { ]}
|
|
|
|
<ul class="chat-toolbar no-text-select"></ul>
|
|
|
|
{[ } ]}
|
|
|
|
{[ if (o.allow_spoiler_messages) { ]}
|
2018-02-04 20:07:33 +01:00
|
|
|
<input type="text" placeholder="{{o.label_spoiler_hint}}" value="{{ o.hint_value }}"
|
|
|
|
class="{[ if (!o.sending_spoiler) { ]} hidden {[ } ]} spoiler-hint"/>
|
2018-02-04 18:33:39 +01:00
|
|
|
{[ } ]}
|
|
|
|
<textarea
|
|
|
|
type="text"
|
|
|
|
class="chat-textarea
|
|
|
|
{[ if (o.show_send_button) { ]} chat-textarea-send-button {[ } ]}
|
|
|
|
{[ if (o.sending_spoiler) { ]} spoiler {[ } ]}"
|
2018-02-04 20:07:33 +01:00
|
|
|
placeholder="{{{o.label_personal_message}}}">{{ o.message_value }}</textarea>
|
2018-02-04 18:33:39 +01:00
|
|
|
{[ if (o.show_send_button) { ]}
|
|
|
|
<button type="submit" class="pure-button send-button">{{{ o.label_send }}}</button>
|
|
|
|
{[ } ]}
|
|
|
|
</form>
|
2018-02-04 19:31:02 +01:00
|
|
|
</div>
|