Exemplo n.º 1
0
      matchBrackets: true,
      foldGutter: true,
      gutters: ["CodeMirror-linenumbers", "CodeMirror-foldgutter"]
    });
  </script></td>
						</tr>
						<tr class="table-border-bottom">
							<td colspan="2" class="sub3">Custom user code box options</td>
						</tr>
							<tr class="even table-border-bottom">
							<td class="bold" valign="top">Custom javascript code:<br />
							<span class="label">Proivde your custom javascript code that will be executed (available parameters:
									oService - social network clicked by user and oPostID for the
									post where button is clicked)</span></td>
							<td class="essb_general_options"><?php 
ESSB_Settings_Helper::drawTextareaField('afterclose_code_text');
?>
							<script>
    var editor_afterclose_code_text = CodeMirror.fromTextArea(document.getElementById("afterclose_code_text"), {
      lineNumbers: true,
      mode: "javascript",
      lineWrapping: true,      
      matchBrackets: true,
      foldGutter: true,
      gutters: ["CodeMirror-linenumbers", "CodeMirror-foldgutter"]
    });
  </script></td>
						</tr>
						</table>
				</div>
				<div id="essb-container-16" class="essb-data-container">
Exemplo n.º 2
0
?>
							</td>
						</tr>
						<tr class="even table-border-bottom">
							<td class="bold" valign="top">Message before the buttons in
								bottom sidebar:
								<div class="essb-new">
									<span></span>
								</div>
								<br />
							<span class="label">Provide custom message that will appear
									before buttons in bottom sidebar (html supported)</span>
							</td>
							<td class="essb_general_options">
							<?php 
ESSB_Settings_Helper::drawTextareaField('sidebar_bottom_message');
?>
							</td>
						</tr>
					</table>
				</div>
				<div id="essb-container-5" class="essb-data-container">
					<table border="0" cellpadding="5" cellspacing="0" width="100%">
						<col width="25%" />
						<col width="75%" />
						<tr>
							<td colspan="2" class="sub"><?php 
_e('Popup Window Settings', ESSB_TEXT_DOMAIN);
?>
<div
									class="essb-help">