1 <html xmlns="http://www.w3.org/1999/xhtml">
3 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
4 <title>{$lang_theme_code_title}</title>
5 <script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
6 <script language="javascript" type="text/javascript" src="jscripts/source_editor.js"></script>
7 <base target="_self" />
9 <!-- WordPress: extra onload stuff is WP! -->
10 <body onload="tinyMCEPopup.executeOnLoad('onLoadInit();');document.body.style.display='';document.getElementById('htmlSource').focus();" onresize="resizeInputs();" style="display: none">
11 <form name="source" onsubmit="saveContent();" action="#">
12 <div style="float: left" class="title">{$lang_theme_code_title}</div>
14 <div id="wrapline" style="float: right">
15 <input type="checkbox" name="wraped" id="wraped" onclick="toggleWordWrap(this);" class="wordWrapCode" /><label for="wraped">{$lang_theme_code_wordwrap}</label>
18 <br style="clear: both" />
20 <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"></textarea>
22 <div class="mceActionPanel">
23 <!-- WordPress: reversed buttons! -->
24 <div style="float: left">
25 <input type="button" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" id="cancel" />
28 <div style="float: right">
29 <input type="submit" name="insert" value="{$lang_update}" onclick="saveContent();" id="insert" />