silverstripe-framework/thirdparty/tinymce-advcode/dialog.html

30 lines
1.0 KiB
HTML
Raw Normal View History

<html>
<head>
<title>{#advcode_dlg.title}</title>
<script type="text/javascript" src="../../thirdparty/tinymce/tiny_mce_popup.js"></script>
<script type="text/javascript" src="js/dialog.js"></script>
<script type="text/javascript" src="js/codepress/codepress.js"></script>
</head>
<body>
<form name="source" onsubmit="CodeDialog.insert();return false;">
<textarea id="codepress" class="codepress html linenumbers-on" cols="100" rows="25"></textarea>
</form>
<div>
<input type="checkbox" value="1" checked="checked" onclick="codepress.toggleLineNumbers()"/>
<label>{#advcode_dlg.number_toggle}</label>
</div>
<div class="mceActionPanel">
<div style="float: left">
<input type="button" id="insert" name="insert" value="{#insert}" onclick="CodeDialog.insert();" />
</div>
<div style="float: right">
<input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
</div>
</div>
</body>
</html>