summaryrefslogtreecommitdiff
path: root/plugins/TinyMCE/js/plugins/template/template.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/plugins/template/template.htm
parent111fc33e1aa521e8ad33fa333654d09f45a1a24e (diff)
parent34995df879457f03ad6f78e617294dc2dd040b7d (diff)
Merge branch 'tinymce' into 0.9.x
Diffstat (limited to 'plugins/TinyMCE/js/plugins/template/template.htm')
-rw-r--r--plugins/TinyMCE/js/plugins/template/template.htm31
1 files changed, 31 insertions, 0 deletions
diff --git a/plugins/TinyMCE/js/plugins/template/template.htm b/plugins/TinyMCE/js/plugins/template/template.htm
new file mode 100644
index 000000000..b2182e632
--- /dev/null
+++ b/plugins/TinyMCE/js/plugins/template/template.htm
@@ -0,0 +1,31 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>{#template_dlg.title}</title>
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
+ <script type="text/javascript" src="js/template.js"></script>
+ <link href="css/template.css" rel="stylesheet" type="text/css" />
+</head>
+<body onresize="TemplateDialog.resize();">
+ <form onsubmit="TemplateDialog.insert();return false;">
+ <div id="frmbody">
+ <div class="title">{#template_dlg.desc}</div>
+ <div class="frmRow"><label for="tpath" title="{#template_dlg.select}">{#template_dlg.label}:</label>
+ <select id="tpath" name="tpath" onchange="TemplateDialog.selectTemplate(this.options[this.selectedIndex].value, this.options[this.selectedIndex].text);" class="mceFocus">
+ <option value="">{#template_dlg.select}...</option>
+ </select>
+ <span id="warning"></span></div>
+ <div class="frmRow"><label for="tdesc">{#template_dlg.desc_label}:</label>
+ <span id="tmpldesc"></span></div>
+ <fieldset>
+ <legend>{#template_dlg.preview}</legend>
+ <iframe id="templatesrc" name="templatesrc" src="blank.htm" width="690" height="400" frameborder="0"></iframe>
+ </fieldset>
+ </div>
+
+ <div class="mceActionPanel">
+ <input type="submit" id="insert" name="insert" value="{#insert}" />
+ <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
+ </div>
+ </form>
+</body>
+</html>