<html xmlns="http://www.w3.org/1999/xhtml">\r
<head>\r
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />\r
- <title>{$lang_theme_code_title}</title>\r
- <script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>\r
- <script language="javascript" type="text/javascript" src="jscripts/source_editor.js"></script>\r
- <base target="_self" />\r
+ <title>{#advanced_dlg.code_title}</title>\r
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>\r
+ <script type="text/javascript" src="js/source_editor.js"></script>\r
</head>\r
-<body onload="tinyMCEPopup.executeOnLoad('onLoadInit();');" onresize="resizeInputs();" style="display: none">\r
- <form name="source" onsubmit="saveContent();" action="#">\r
- <div style="float: left" class="title">{$lang_theme_code_title}</div>\r
+<body onresize="resizeInputs();" style="display:none; overflow:hidden;">\r
+ <form name="source" onsubmit="saveContent();return false;" action="#">\r
+ <div style="float: left" class="title"><label for="htmlSource">{#advanced_dlg.code_title}</label></div>\r
\r
- <div style="float: right">\r
- <script language="javascript" type="text/javascript">renderWordWrap();</script>\r
+ <div id="wrapline" style="float: right">\r
+ <input type="checkbox" name="wraped" id="wraped" onclick="toggleWordWrap(this);" class="wordWrapCode" /><label for="wraped">{#advanced_dlg.code_wordwrap}</label>\r
</div>\r
\r
- <textarea name="htmlSource" id="htmlSource" rows="15" cols="100" style="width: 100%; height: 100%; font-family: 'Courier New',Courier,mono; font-size: 12px;" dir="ltr" wrap="soft"></textarea>\r
+ <br style="clear: both" />\r
\r
- <div class="mceActionPanel">\r
- <div style="float: left">\r
- <input type="button" name="insert" value="{$lang_update}" onclick="saveContent();" id="insert" />\r
- </div>\r
+ <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>\r
\r
- <div style="float: right">\r
- <input type="button" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" id="cancel" />\r
- </div>\r
+ <div class="mceActionPanel">\r
+ <input type="submit" role="button" name="insert" value="{#update}" id="insert" />\r
+ <input type="button" role="button" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" id="cancel" />\r
</div>\r
</form>\r
</body>\r