Make WordPress Core


Ignore:
Timestamp:
03/30/2006 07:50:33 AM (21 years ago)
Author:
ryan
Message:

tinyMCE 2.0.5 coming at you live. fixes #2598

File:
1 edited

Legend:

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

    r3163 r3664  
    55        <script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
    66        <script language="javascript" type="text/javascript" src="jscripts/source_editor.js"></script>
    7         <style type="text/css">
    8                 #insert, #cancel {
    9                         font: 13px Verdana, Arial, Helvetica, sans-serif;
    10                         height: auto;
    11                         width: auto;
    12                         background-color: transparent;
    13                         background-image: url(../../../../../wp-admin/images/fade-butt.png);
    14                         background-repeat: repeat;
    15                         border: 3px double;
    16                         border-right-color: rgb(153, 153, 153);
    17                         border-bottom-color: rgb(153, 153, 153);
    18                         border-left-color: rgb(204, 204, 204);
    19                         border-top-color: rgb(204, 204, 204);
    20                         color: rgb(51, 51, 51);
    21                         padding: 0.25em 0.75em;
    22                 }
    23                 #insert:active, #cancel:active {
    24                         background: #f4f4f4;
    25                         border-left-color: #999;
    26                         border-top-color: #999;
    27                 }
    28         </style>
     7        <base target="_self" />
    298</head>
    30 <body onload="tinyMCEPopup.executeOnLoad('onLoadInit();');document.getElementById('htmlSource').focus();" onresize="resizeInputs();" style="display: none">
     9<body onload="tinyMCEPopup.executeOnLoad('onLoadInit();');document.body.style.display='';document.getElementById('htmlSource').focus();" onresize="resizeInputs();" style="display: none">
    3110        <form name="source" onsubmit="saveContent();" action="#">
    3211                <div style="float: left" class="title">{$lang_theme_code_title}</div>
    … …  
    3615                </div>
    3716
    38                 <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>
     17                <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="off"></textarea>
    3918
    4019                <div class="mceActionPanel">
    4120                        <div style="float: left">
    42                                 <input type="button" name="insert" value="{$lang_update}" onclick="saveContent();" id="insert" />
     21                                <input type="button" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" id="cancel" />
    4322                        </div>
    4423
    4524                        <div style="float: right">
    46                                 <input type="button" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" id="cancel" />
     25                                <input type="submit" name="insert" value="{$lang_update}" onclick="saveContent();" id="insert" />
    4726                        </div>
    4827                </div>
Note: See TracChangeset for help on using the changeset viewer.