silverstripe-framework/thirdparty/tinymce-advcode/dialog.html
Ingo Schommer 03c5caea72 MINOR Updated paths from jsparty to sapphire/thirdparty, cms/thirdparty and sapphire/javascript
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@93611 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:17:52 +13:00

39 lines
1.4 KiB
HTML

<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>