Skip to content

Instantly share code, notes, and snippets.

@Sorien
Created January 8, 2020 11:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sorien/6a3a282e396b7b78342c1c649620f66d to your computer and use it in GitHub Desktop.
Save Sorien/6a3a282e396b7b78342c1c649620f66d to your computer and use it in GitHub Desktop.
CKEDITOR.editorConfig = function(a) {
(CKEDITOR.env.mobile || CKEDITOR.env.iOS) && parseInt(rinmobsms) && (rinstartupmode = "source");
a.toolbarGroups = [{
name: "basicstyles"
}, {
name: "align"
}, {
name: "styles"
}, {
name: "colors",
groups: ["colors", "cleanup"]
}, {
name: "insert"
}, {
name: "list"
}, {
name: "blocks",
groups: ["blocks", "clipboard"]
}, {
name: "extra",
groups: ["extra", "extradesc"]
}, {
name: "undo"
}, {
name: "document",
groups: ["tools", "mode"]
}];
a.language = rinlanguage;
a.removePlugins = rinautosave;
a.removeButtons = "Cut,Copy,Paste,Anchor,BGColor,indent," + rinrmvbut + "";
a.removeDialogTabs = "link:advanced";
a.title = !1;
a.image_prefillDimensions = !1;
a.height = rinheight;
a.fontSize_sizes = "xx-small;x-small;small;medium;large;x-large;xx-large";
a.smiley_images = dropdownsmiliesurl.concat(dropdownsmiliesurlmore);
a.smiley_descriptions = dropdownsmiliesname.concat(dropdownsmiliesnamemore);
a.smiley_name = dropdownsmiliesdes.concat(dropdownsmiliesdesmore);
a.smiley_path = smileydirectory;
a.smiley_sc = rinsmileysc;
a.autosave_saveDetectionSelectors = 'input[name*\x3d"submit"],input[name*\x3d"savedraft"],input[id*\x3d"quick_reply_submit"],input[name*\x3d"previewpost"]';
a.autosave_message = rinautosavemsg;
a.startupMode = rinstartupmode;
a.imgurClientId = rinimgur;
a.disableNativeSpellChecker = !1;
a.skin = 'rin-moono-lisa'
};
<div id="quickreply_spinner" class="showthread_spinner" style="display: none"><img src="{$theme['imgdir']}/spinner.gif" /></div>
<br />
{$moderation_notice}
<form method="post" action="newreply.php?tid={$tid}&amp;processed=1" name="quick_reply_form" id="quick_reply_form">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="hidden" name="subject" value="RE: {$reply_subject}" />
<input type="hidden" name="action" value="do_newreply" />
<input type="hidden" name="posthash" value="{$posthash}" id="posthash" />
<input type="hidden" name="quoted_ids" value="" id="quoted_ids" />
<input type="hidden" name="lastpid" id="lastpid" value="{$last_pid}" />
<input type="hidden" name="from_page" value="{$page}" />
<input type="hidden" name="tid" value="{$tid}" />
<input type="hidden" name="method" value="quickreply" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead{$collapsedthead['quickreply']}" colspan="2">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['quickreply']}.png" id="quickreply_img" class="expander" alt="[-]" title="[-]" /></div>
<div><strong>{$lang->quick_reply}</strong></div>
</td>
</tr>
</thead>
<tbody style="{$collapsed['quickreply_e']}" id="quickreply_e">
<tr>
<td class="{$trow}">
<div>
<textarea style="width: 100%; padding: 4px; margin: 0;" rows="8" cols="80" name="message" id="message" tabindex="1"></textarea>
</div>
<div class="editor_control_bar" style="width: 95%; padding: 0; margin: 11px 0 4px 0; display: none;" id="quickreply_multiquote">
<span class="pbbutton">
<a href="./newreply.php?tid={$tid}&amp;load_all_quotes=1" onclick="return Thread.loadMultiQuoted();">
<i style="font-size: 14px;" class="fa fa-comments fa-fw"></i> {$lang->quickreply_multiquote_now}
</a>
</span>&nbsp;&nbsp;
<span class="pbbutton">
<a href="javascript:void(0)" onclick="Thread.clearMultiQuoted(); return false;">
<i style="font-size: 14px;" class="fa fa-times-circle fa-fw"></i> {$lang->quickreply_multiquote_deselect}
</a>
</span>
</div>
</td>
<tr>
<td class="{$trow}" valign="top">
{$option_signature}
<label><input type="checkbox" class="checkbox" name="postoptions[disablesmilies]" value="1" />&nbsp;<strong>{$lang->disable_smilies}</strong></label>{$closeoption}</span>
</td>
</tr>
</tr>
{$captcha}
<tr>
<td colspan="2" align="center" class="trow1"><input type="submit" class="button" value="{$lang->post_reply}" tabindex="2" accesskey="s" id="quick_reply_submit" /> <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="3" /></td>
</tr>
</tbody>
</table>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment