75 lines
4.1 KiB
HTML
75 lines
4.1 KiB
HTML
<div id="mchat-panel" class="panel cp-mini<!-- IF MCHAT_IS_ARCHIVE_PAGE --> hidden<!-- ENDIF -->">
|
|
<!-- IF MCHAT_IS_INDEX and MCHAT_WHOIS_REFRESH and MCHAT_WHOIS_INDEX -->
|
|
<!-- INCLUDE mchat_whois.html -->
|
|
<!-- ENDIF -->
|
|
|
|
<!-- IF MCHAT_CHARACTER_COUNT and not MCHAT_IS_ARCHIVE_PAGE -->
|
|
<div id="mchat-character-count">{MCHAT_CHARACTER_COUNT}</div>
|
|
<!-- ENDIF -->
|
|
|
|
<form id="mchat-form" name="postform" action="{U_MCHAT_CUSTOM_PAGE}" method="POST">
|
|
{S_FORM_TOKEN}
|
|
<!-- IF not MCHAT_IS_ARCHIVE_PAGE -->
|
|
<noscript><div class="error">{L_MCHAT_NOJAVASCRIPT}</div></noscript>
|
|
<!-- IF MCHAT_ALLOW_USE -->
|
|
<!-- IF MCHAT_INPUT_AREA -->
|
|
<input id="mchat-input" type="text" name="message" class="inputbox medium" />
|
|
<!-- ELSE -->
|
|
<textarea id="mchat-input" name="message" class="inputbox no-auto-resize" cols="32" rows="5"></textarea>
|
|
<!-- ENDIF -->
|
|
<!-- ENDIF -->
|
|
<!-- EVENT dmzx_mchat_buttons_before -->
|
|
<div id="mchat-buttons">
|
|
<!-- IF MCHAT_ALLOW_USE -->
|
|
<input id="mchat-add" type="button" class="button2" data-mchat-action="add" value="{L_MCHAT_ADD}" />
|
|
<!-- IF MCHAT_USER_TIMEOUT or MCHAT_PAUSE_ON_INPUT -->
|
|
<input id="mchat-clear" type="button" class="button2" data-mchat-action="clear" value="{L_RESET}" />
|
|
<!-- ENDIF -->
|
|
<!-- IF MCHAT_ALLOW_SMILES and .smiley -->
|
|
<input type="button" class="button2" data-mchat-toggle="smilies" value="{L_MCHAT_SMILES}" />
|
|
<!-- ENDIF -->
|
|
<!-- IF S_BBCODE_ALLOWED -->
|
|
<input type="button" class="button2" data-mchat-toggle="bbcodes" value="{L_MCHAT_BBCODES}" />
|
|
<!-- ENDIF -->
|
|
<!-- IF MCHAT_RULES -->
|
|
<input type="button" class="button2" onclick="popup('{U_MCHAT_RULES}', 450, 275); return false;" value="{L_MCHAT_RULES}" />
|
|
<!-- ENDIF -->
|
|
<!-- ENDIF -->
|
|
<!-- EVENT dmzx_mchat_buttons_mid -->
|
|
<!-- IF MCHAT_ARCHIVE -->
|
|
<input type="button" class="button2" onclick="window.location.href = '{U_MCHAT_ARCHIVE_URL}';" value="{L_MCHAT_ARCHIVE}" />
|
|
<!-- ENDIF -->
|
|
<!-- EVENT dmzx_mchat_buttons_after -->
|
|
</div>
|
|
<!-- IF MCHAT_ALLOW_USE and S_BBCODE_ALLOWED -->
|
|
<div id="mchat-bbcodes">
|
|
<!-- INCLUDE posting_buttons.html -->
|
|
</div>
|
|
<!-- ENDIF -->
|
|
<!-- IF MCHAT_ALLOW_USE and MCHAT_ALLOW_SMILES and .smiley -->
|
|
<div id="mchat-smilies" class="hidden">
|
|
<!-- BEGIN smiley -->
|
|
<a href="#" onclick="insert_text('{smiley.A_SMILEY_CODE}', true); return false;"><img src="{smiley.SMILEY_IMG}" width="{smiley.SMILEY_WIDTH}" height="{smiley.SMILEY_HEIGHT}" alt="{smiley.SMILEY_CODE}" title="{smiley.SMILEY_DESC}" /></a>
|
|
<!-- END smiley -->
|
|
<!-- IF S_SHOW_SMILEY_LINK -->
|
|
<a href="{U_MORE_SMILIES}" onclick="popup(this.href, 300, 350, '_phpbbsmilies'); return false;">{L_MORE_SMILIES}</a>
|
|
<!-- ENDIF -->
|
|
</div>
|
|
<!-- ENDIF -->
|
|
<!-- EVENT dmzx_mchat_body_smiley_after -->
|
|
<div id="mchat-status">
|
|
<div id="mchat-status-icons">
|
|
<i id="mchat-status-load" class="<!-- IF IS_PHPBB31 -->mchat-status-load<!-- ELSEIF IS_PHPBB32 -->fa fa-refresh fa-spin icon icon-blue<!-- ENDIF -->" title="{L_LOADING}"></i>
|
|
<i id="mchat-status-ok" class="<!-- IF IS_PHPBB31 -->mchat-status-ok<!-- ELSEIF IS_PHPBB32 -->fa fa-check icon icon-green<!-- ENDIF -->" title="{L_MCHAT_OK}"></i>
|
|
<i id="mchat-status-paused" class="<!-- IF IS_PHPBB31 -->mchat-status-paused<!-- ELSEIF IS_PHPBB32 -->fa fa-pause icon icon-orange<!-- ENDIF -->" title="{L_MCHAT_PAUSE}"></i>
|
|
<i id="mchat-status-error" class="<!-- IF IS_PHPBB31 -->mchat-status-error<!-- ELSEIF IS_PHPBB32 -->fa fa-times icon icon-red<!-- ENDIF -->" title="{L_ERROR}"></i>
|
|
</div>
|
|
<span id="mchat-refresh-text">{MCHAT_REFRESH_YES}</span>
|
|
<!-- IF MCHAT_USER_TIMEOUT --> • <span id="mchat-session">{MCHAT_SESSION_TIMELEFT}</span><!-- ENDIF -->
|
|
<!-- IF not MCHAT_SOUND_DISABLED --> • <label for="mchat-user-sound">{L_MCHAT_USESOUND} <input type="checkbox" id="mchat-user-sound"<!-- IF MCHAT_SOUND --> checked="checked"<!-- ENDIF --> /></label><!-- ENDIF -->
|
|
<span class="mchat-copyright" title="{MCHAT_AUTHOR_NAMES}">©</span>
|
|
</div>
|
|
<!-- ENDIF -->
|
|
</form>
|
|
</div>
|