source_editor.htm 1.3 KB

12345678910111213141516171819202122232425262728293031
  1. <html xmlns="http://www.w3.org/1999/xhtml">
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  4. <title>{#advanced_dlg.code_title}</title>
  5. <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
  6. <script type="text/javascript" src="js/source_editor.js"></script>
  7. </head>
  8. <body onresize="resizeInputs();" style="display:none; overflow:hidden;">
  9. <form name="source" onsubmit="saveContent();return false;" action="#">
  10. <div style="float: left" class="title">{#advanced_dlg.code_title}</div>
  11. <div id="wrapline" style="float: right">
  12. <input type="checkbox" name="wraped" id="wraped" onclick="toggleWordWrap(this);" class="wordWrapCode" /><label for="wraped">{#advanced_dlg.code_wordwrap}</label>
  13. </div>
  14. <br style="clear: both" />
  15. <textarea name="htmlSource" id="htmlSource" rows="15" cols="100" style="width: 100%; height: 100%; font-family: 'Courier New',Courier,monospace; font-size: 12px;" dir="ltr" wrap="off" class="mceFocus"></textarea>
  16. <div class="mceActionPanel">
  17. <div style="float: left">
  18. <input type="submit" name="insert" value="{#update}" id="insert" />
  19. </div>
  20. <div style="float: right">
  21. <input type="button" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" id="cancel" />
  22. </div>
  23. </div>
  24. </form>
  25. </body>
  26. </html>