A tumblelog CMS built on AJAX, PHP and MySQL.

pastetext.htm 1.4KB

12345678910111213141516171819202122232425262728293031323334
  1. <html xmlns="http://www.w3.org/1999/xhtml">
  2. <head>
  3. <title>{$lang_paste_text_desc}</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  5. <script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
  6. <script language="javascript" type="text/javascript" src="jscripts/pastetext.js"></script>
  7. <base target="_self" />
  8. </head>
  9. <body onload="tinyMCEPopup.executeOnLoad('onLoadInit();');" onresize="resizeInputs();" style="display: none">
  10. <form name="source" onsubmit="saveContent();">
  11. <div style="float: left" class="title">{$lang_paste_text_desc}</div>
  12. <div style="float: right">
  13. <input type="checkbox" name="linebreaks" id="linebreaks" class="wordWrapCode" checked="checked" /><label for="linebreaks">{$lang_paste_text_linebreaks}</label>
  14. </div>
  15. <br style="clear: both" />
  16. <div>{$lang_paste_text_title}</div>
  17. <textarea name="htmlSource" id="htmlSource" rows="15" cols="100" style="width: 100%; height: 100%; font-family: 'Courier New',Courier,mono; font-size: 12px;" dir="ltr" wrap="soft"></textarea>
  18. <div class="mceActionPanel">
  19. <div style="float: left">
  20. <input type="button" name="insert" value="{$lang_insert}" onclick="saveContent();" id="insert" />
  21. </div>
  22. <div style="float: right">
  23. <input type="button" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" id="cancel" />
  24. </div>
  25. </div>
  26. </form>
  27. </body>
  28. </html>