summaryrefslogtreecommitdiff
path: root/plugins/TinyMCE/js/themes/advanced/source_editor.htm
diff options
context:
space:
mode:
authorBrion Vibber <brion@status.net>2010-08-12 12:54:20 -0700
committerBrion Vibber <brion@status.net>2010-08-12 12:54:20 -0700
commit4cf58c4bc79bc2809435c9af0f60b746b898dd58 (patch)
tree5485d97130fe971864348bf5bafe3628269b1a0c /plugins/TinyMCE/js/themes/advanced/source_editor.htm
parent111fc33e1aa521e8ad33fa333654d09f45a1a24e (diff)
parent34995df879457f03ad6f78e617294dc2dd040b7d (diff)
Merge branch 'tinymce' into 0.9.x
Diffstat (limited to 'plugins/TinyMCE/js/themes/advanced/source_editor.htm')
-rw-r--r--plugins/TinyMCE/js/themes/advanced/source_editor.htm25
1 files changed, 25 insertions, 0 deletions
diff --git a/plugins/TinyMCE/js/themes/advanced/source_editor.htm b/plugins/TinyMCE/js/themes/advanced/source_editor.htm
new file mode 100644
index 000000000..5957bbd17
--- /dev/null
+++ b/plugins/TinyMCE/js/themes/advanced/source_editor.htm
@@ -0,0 +1,25 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>{#advanced_dlg.code_title}</title>
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
+ <script type="text/javascript" src="js/source_editor.js"></script>
+</head>
+<body onresize="resizeInputs();" style="display:none; overflow:hidden;">
+ <form name="source" onsubmit="saveContent();return false;" action="#">
+ <div style="float: left" class="title">{#advanced_dlg.code_title}</div>
+
+ <div id="wrapline" style="float: right">
+ <input type="checkbox" name="wraped" id="wraped" onclick="toggleWordWrap(this);" class="wordWrapCode" /><label for="wraped">{#advanced_dlg.code_wordwrap}</label>
+ </div>
+
+ <br style="clear: both" />
+
+ <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>
+
+ <div class="mceActionPanel">
+ <input type="submit" name="insert" value="{#update}" id="insert" />
+ <input type="button" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" id="cancel" />
+ </div>
+ </form>
+</body>
+</html>