Make WordPress Core


Ignore:
Timestamp:
01/17/2008 03:44:05 PM (17 years ago)
Author:
ryan
Message:

TinyMCE 3.0 RC1. First cut, eexpect regressions. Props azaozz. see #5674

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/tinymce/themes/advanced/source_editor.htm

    r5577 r6632  
    22<head>
    33    <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>
     4    <title>{#advanced_dlg.code_title}</title>
     5    <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
     6    <script type="text/javascript" src="js/source_editor.js"></script>
    77    <base target="_self" />
    88</head>
    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">
     9<body onresize="resizeInputs();" style="display:none; overflow:hidden;">
    1110    <form name="source" onsubmit="saveContent();" action="#">
    12         <div style="float: left" class="title">{$lang_theme_code_title}</div>
     11        <div style="float: left" class="title">{#advanced_dlg.code_title}</div>
    1312
    1413        <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>
     14            <input type="checkbox" name="wraped" id="wraped" onclick="toggleWordWrap(this);" class="wordWrapCode" /><label for="wraped">{#advanced_dlg.code_wordwrap}</label>
    1615        </div>
    1716
    1817        <br style="clear: both" />
    1918
    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>
     19        <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>
    2120
    2221        <div class="mceActionPanel">
    23             <!-- WordPress: reversed buttons! -->
    2422            <div style="float: left">
    25                 <input type="button" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" id="cancel" />
     23                <input type="button" name="insert" value="{#update}" onclick="saveContent();" id="insert" />
    2624            </div>
    2725
    2826            <div style="float: right">
    29                 <input type="submit" name="insert" value="{$lang_update}" onclick="saveContent();" id="insert" />
     27                <input type="button" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" id="cancel" />
    3028            </div>
    3129        </div>
Note: See TracChangeset for help on using the changeset viewer.