]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/js/tinymce/themes/advanced/source_editor.htm
WordPress 3.4
[autoinstalls/wordpress.git] / wp-includes / js / tinymce / themes / advanced / source_editor.htm
index d8329ad5a3adbc1ed664a46b39c222f1179b8841..a2d3f1ae02e78f57782dc02304767a642779fa8b 100644 (file)
@@ -1,49 +1,28 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-       <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-       <title>{$lang_theme_code_title}</title>
-       <script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
-       <script language="javascript" type="text/javascript" src="jscripts/source_editor.js"></script>
-       <style type="text/css">
-               #insert, #cancel {
-                       font: 13px Verdana, Arial, Helvetica, sans-serif;
-                       height: auto;
-                       width: auto;
-                       background-color: transparent;
-                       background-image: url(../../../../../wp-admin/images/fade-butt.png);
-                       background-repeat: repeat;
-                       border: 3px double;
-                       border-right-color: rgb(153, 153, 153);
-                       border-bottom-color: rgb(153, 153, 153);
-                       border-left-color: rgb(204, 204, 204);
-                       border-top-color: rgb(204, 204, 204);
-                       color: rgb(51, 51, 51);
-                       padding: 0.25em 0.75em;
-               }
-               #insert:active, #cancel:active {
-                       background: #f4f4f4;
-                       border-left-color: #999;
-                       border-top-color: #999;
-               }
-       </style>
+       <title>{#advanced_dlg.code_title}</title>
+       <script type="text/javascript" src="../../tiny_mce_popup.js?ver=349-20120314"></script>
+       <script type="text/javascript" src="js/source_editor.js?ver=349-20120314"></script>
 </head>
-<body onload="tinyMCEPopup.executeOnLoad('onLoadInit();');document.getElementById('htmlSource').focus();" onresize="resizeInputs();" style="display: none">
-       <form name="source" onsubmit="saveContent();" action="#">
-               <div style="float: left" class="title">{$lang_theme_code_title}</div>
+<body onresize="resizeInputs();" style="display:none; overflow:hidden;">
+       <form name="source" onsubmit="saveContent();return false;" action="#">
+               <div style="float: left" class="title"><label for="htmlSource">{#advanced_dlg.code_title}</label></div>
 
-               <div style="float: right">
-                       <script language="javascript" type="text/javascript">renderWordWrap();</script>
+               <div id="wrapline" style="float: right">
+                       <input type="checkbox" name="wraped" id="wraped" onclick="toggleWordWrap(this);" class="wordWrapCode" /><label for="wraped">{#advanced_dlg.code_wordwrap}</label>
                </div>
 
-               <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>
+               <br style="clear: both" />
+
+               <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>
 
                <div class="mceActionPanel">
                        <div style="float: left">
-                               <input type="button" name="insert" value="{$lang_update}" onclick="saveContent();" id="insert" />
+                               <input type="button" role="button" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" id="cancel" />
                        </div>
 
                        <div style="float: right">
-                               <input type="button" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" id="cancel" />
+                               <input type="submit" role="button" name="insert" value="{#update}" id="insert" />
                        </div>
                </div>
        </form>