110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
|
return;
}
iPingTcp = atoi(PD("ping","0"));
if( iPingTcp<1000 || iPingTcp>65535 ) iPingTcp = 0;
if( iPingTcp ) style_disable_csp();
style_set_current_feature("chat");
style_header("Chat");
@ <div id='chat-input-area'>
@ <form accept-encoding="utf-8" id="chat-form" autocomplete="off">
@ <div id='chat-input-line'>
@ <input type="text" name="msg" id="chat-input-single" \
@ placeholder="Type message here." autocomplete="off">
@ <textarea rows="8" id="chat-input-multi" \
@ placeholder="Type message here" class="hidden"></textarea>
@ <input type="submit" value="Send" id="chat-message-submit">
@ <button id="chat-scroll-top">↑</button>
|
<
>
|
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
|
return;
}
iPingTcp = atoi(PD("ping","0"));
if( iPingTcp<1000 || iPingTcp>65535 ) iPingTcp = 0;
if( iPingTcp ) style_disable_csp();
style_set_current_feature("chat");
style_header("Chat");
@ <form accept-encoding="utf-8" id="chat-form" autocomplete="off">
@ <div id='chat-input-area'>
@ <div id='chat-input-line'>
@ <input type="text" name="msg" id="chat-input-single" \
@ placeholder="Type message here." autocomplete="off">
@ <textarea rows="8" id="chat-input-multi" \
@ placeholder="Type message here" class="hidden"></textarea>
@ <input type="submit" value="Send" id="chat-message-submit">
@ <button id="chat-scroll-top">↑</button>
|
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
|
@ or paste an image from the clipboard if supported by
@ your environment.
@ </div>
@ <input type="file" name="file" id="chat-input-file">
@ </div>
@ <div id="chat-drop-details"></div>
@ </div>
@ </form>
@ </div>
@ <div id='chat-messages-wrapper'>
/* New chat messages get inserted immediately after this element */
@ <span id='message-inject-point'></span>
@ </div>
builtin_fossil_js_bundle_or("popupwidget", "storage", NULL);
/* Always in-line the javascript for the chat page */
|
<
>
|
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
|
@ or paste an image from the clipboard if supported by
@ your environment.
@ </div>
@ <input type="file" name="file" id="chat-input-file">
@ </div>
@ <div id="chat-drop-details"></div>
@ </div>
@ </div>
@ </form>
@ <div id='chat-messages-wrapper'>
/* New chat messages get inserted immediately after this element */
@ <span id='message-inject-point'></span>
@ </div>
builtin_fossil_js_bundle_or("popupwidget", "storage", NULL);
/* Always in-line the javascript for the chat page */
|