Your IP : 216.73.216.240


Current Path : /home/s/u/n/sunflowe/www2/j15/plugins/editors/jce/tiny_mce/plugins/rj_insertcode/
Upload File :
Current File : /home/s/u/n/sunflowe/www2/j15/plugins/editors/jce/tiny_mce/plugins/rj_insertcode/rj_insertcode.html

<!--
/*******************************************************************************
  rj_insertcode.html
  Copyright (c) 2009 Ryan Juckett
  http://www.ryanjuckett.com/

  This is the HTML file for the code editing window of the TinyMCE 3.x
  InsertCode Plugin.
  
  Anywhere we want to pull in text from the active language, we can use the
  syntax {#MY_LANG_PACK_ID.MY_TEXT_ID} where MY_LANG_PACK_ID refers to the
  name of a registered language pack ("rj_insertcode_dlg" is used for this
  dialog) and MY_TEXT_ID is alias of the registered string. See the language
  files located in the "langs" directory for the aliases we have registered.
*******************************************************************************/
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>{#rj_insertcode_dlg.title}</title>
	
	<!-- Load in the tinyMCEPopup functions -->
	<script type="text/javascript" src="../../tiny_mce_popup.js"></script>
	
	<!-- Load in the RJ_InsertCodeDialogue functions -->
	<script type="text/javascript" src="js/rj_insertcode.js"></script>
	
	<base target="_self" />
</head>

<!-- Set our onResize handler to adjust the dimensions of the controls as the window size changes -->
<body onResize="RJ_InsertCodeDialogue.onResize();">
	<div style="margin-top: 0px; margin-bottom: 10px">
		
<table border="0" cellpadding="0" cellspacing="0" width="100%">
		  <tbody>
		    <tr>
		      <td align=left><b>{#rj_insertcode_dlg.title}</b></td>
		      <td align=right><i><a href="http://www.ryanjuckett.com/" target="_blank">ryanjuckett.com</a></i></td>
	        </tr>
	      </tbody>
	  </table>
	  <table border="0" cellspacing="0" cellpadding="2">
		  <tr><!-- This input selects if we will use class based style sheets. -->
		    <td align="right">{#rj_insertcode_dlg.formatMode} :</td>
		    <td><select name="useClasses" id="useClasses">
		      <option value="false" selected="selected">{#rj_insertcode_dlg.inlineStyleSheets}</option>
		      <option value="true">{#rj_insertcode_dlg.classStyleSheets}</option>
	        </select></td>
	      </tr>
		  <tr><!-- This span will be filled with selection of authorized languages. -->
		    <td align="right">{#rj_insertcode_dlg.chooseCode} :</td>
		    <td><span id="codeTypeContainer"></span></td>
	      </tr>
		  <tr><!-- This input contains the header text. -->
		    <td align="right">{#rj_insertcode_dlg.header} :</td>
		    <td><input type="text" name="codeHeader" id="codeHeader" size="50"/></td>
	      </tr>
		  <tr><!-- This input selects if we will use line numbers. -->
		    <td align="right">{#rj_insertcode_dlg.lineNumbers} :</td>
		    <td><select name="lineNumbers" id="lineNumbers">
			<option value="true" selected="selected">{#rj_insertcode_dlg.lineNumbersOn}</option>
			<option value="false">{#rj_insertcode_dlg.lineNumbersOff}</option>
			</select></td>
	      </tr>
		  <tr><!-- This input contains the line number to start at. -->
		    <td align="right">{#rj_insertcode_dlg.startLine} :</td>
		    <td><input type="text" name="startLine" id="startLine" value="1" size="10"/></td>
	      </tr>
		  <tr>
		    <td colspan="2">{#rj_insertcode_dlg.contents} : </td>
	      </tr>
    </table>
	  <!-- This textarea contains the code text. -->
	  <textarea name="codeContent" id="codeContent" cols="100" rows="15" 
				  style="width: 100%; font-family: 'Courier New',Courier,mono; font-size: 12px;" 
				  dir="ltr" wrap="off"></textarea>
	</div>

	<div class="mceActionPanel">
		<div style="float: left">
			<!-- This button inserts the code -->
			<input type="button" id="insert" name="insert" value="{#insert}" onClick="RJ_InsertCodeDialogue.insertAndClose();" />
		</div>

		<div style="float: right">
			<!-- This button closes teh window -->
			<input type="button" id="cancel" name="cancel" value="{#cancel}" onClick="tinyMCEPopup.close();" />
		</div>
	</div>
</body>
</html>