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

39 lines
1.4 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>
<script><!--
/* Customized by SilverStripe 2009-01-05
* For some reason, Safari doesn't support codepress - just use a textarea
* @see http://sourceforge.net/tracker/index.php?func=detail&aid=1913725&group_id=186981&atid=919470
*/
if(navigator.userAgent.match('KHTML')) {
document.getElementById('codepress').className = '';
}
//--></script>
</body>
</html>