source_editor.htm 1.2 KB

1234567891011121314151617181920212223242526
  1. <html xmlns="http://www.w3.org/1999/xhtml">
  2. <head>
  3. <title>{#advanced_dlg.code_title}</title>
  4. <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
  5. <script type="text/javascript" src="js/source_editor.js"></script>
  6. </head>
  7. <body onresize="resizeInputs();" style="display:none; overflow:hidden;">
  8. <form name="source" onsubmit="saveContent();return false;" action="#">
  9. <div style="float: left" class="title"><label for="htmlSource">{#advanced_dlg.code_title}</label></div>
  10. <div id="wrapline" style="float: right">
  11. <input type="checkbox" name="wraped" id="wraped" onclick="toggleWordWrap(this);" class="wordWrapCode" /><label for="wraped">{#advanced_dlg.code_wordwrap}</label>
  12. </div>
  13. <br style="clear: both" />
  14. <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>
  15. <div class="mceActionPanel">
  16. <input type="submit" role="button" name="insert" value="{#update}" id="insert" />
  17. <input type="button" role="button" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" id="cancel" />
  18. </div>
  19. </form>
  20. </body>
  21. </html>