A tumblelog CMS built on AJAX, PHP and MySQL.

source_editor.htm 1.4KB

123456789101112131415161718192021222324252627282930313233
  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>{$lang_theme_code_title}</title>
  5. <script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
  6. <script language="javascript" type="text/javascript" src="jscripts/source_editor.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();" action="#">
  11. <div style="float: left" class="title">{$lang_theme_code_title}</div>
  12. <div id="wrapline" style="float: right">
  13. <input type="checkbox" name="wraped" id="wraped" onclick="toggleWordWrap(this);" class="wordWrapCode" /><label for="wraped">{$lang_theme_code_wordwrap}</label>
  14. </div>
  15. <br style="clear: both" />
  16. <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="off"></textarea>
  17. <div class="mceActionPanel">
  18. <div style="float: left">
  19. <input type="button" name="insert" value="{$lang_update}" onclick="saveContent();" id="insert" />
  20. </div>
  21. <div style="float: right">
  22. <input type="button" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" id="cancel" />
  23. </div>
  24. </div>
  25. </form>
  26. </body>
  27. </html>