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/color_picker.htm

    r5487 r6632  
     1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    12<html xmlns="http://www.w3.org/1999/xhtml">
    23<head>
    3     <title>{$lang_theme_colorpicker_title}</title>
    4     <script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
    5     <script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script>
    6     <script language="javascript" type="text/javascript" src="jscripts/color_picker.js"></script>
    7     <link href="css/colorpicker.css" rel="stylesheet" type="text/css" />
     4    <title>{#advanced_dlg.colorpicker_title}</title>
     5    <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
     6    <script type="text/javascript" src="../../utils/mctabs.js"></script>
     7    <script type="text/javascript" src="js/color_picker.js"></script>
    88    <base target="_self" />
    99</head>
    10 <body onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none">
     10<body id="colorpicker" style="display: none">
    1111    <div class="tabs">
    1212        <ul>
    13             <li id="picker_tab" class="current"><span><a href="javascript:mcTabs.displayTab('picker_tab','picker_panel');" onmousedown="return false;">{$lang_color_picker_tab}</a></span></li>
    14             <li id="rgb_tab"><span><a href="#" onclick="generateWebColors();mcTabs.displayTab('rgb_tab','rgb_panel');" onmousedown="return false;">{$lang_web_colors_tab}</a></span></li>
    15             <li id="named_tab"><span><a  href="#" onclick="generateNamedColors();javascript:mcTabs.displayTab('named_tab','named_panel');" onmousedown="return false;">{$lang_named_colors_tab}</a></span></li>
     13            <li id="picker_tab" class="current"><span><a href="javascript:mcTabs.displayTab('picker_tab','picker_panel');" onmousedown="return false;">{#advanced_dlg.colorpicker_picker_tab}</a></span></li>
     14            <li id="rgb_tab"><span><a href="javascript:;" onclick="generateWebColors();mcTabs.displayTab('rgb_tab','rgb_panel');" onmousedown="return false;">{#advanced_dlg.colorpicker_palette_tab}</a></span></li>
     15            <li id="named_tab"><span><a  href="javascript:;" onclick="generateNamedColors();javascript:mcTabs.displayTab('named_tab','named_panel');" onmousedown="return false;">{#advanced_dlg.colorpicker_named_tab}</a></span></li>
    1616        </ul>
    1717    </div>
     
    2020        <div id="picker_panel" class="panel current">
    2121            <fieldset>
    22                 <legend>{$lang_color_picker}</legend>
     22                <legend>{#advanced_dlg.colorpicker_picker_title}</legend>
    2323                <div id="picker">
    24                     <img id="colorpicker" src="images/colors.jpg" onclick="computeColor(event)" onmousedown="isMouseDown = true;return false;" onmouseup="isMouseDown = false;" onmousemove="if (isMouseDown && isMouseOver) computeColor(event); return false;" onmouseover="isMouseOver=true;" onmouseout="isMouseOver=false;" />
     24                    <img id="colors" src="img/colorpicker.jpg" onclick="computeColor(event)" onmousedown="isMouseDown = true;return false;" onmouseup="isMouseDown = false;" onmousemove="if (isMouseDown && isMouseOver) computeColor(event); return false;" onmouseover="isMouseOver=true;" onmouseout="isMouseOver=false;" />
    2525
    2626                    <div id="light">
     
    3535        <div id="rgb_panel" class="panel">
    3636            <fieldset>
    37                 <legend>{$lang_web_colors}</legend>
     37                <legend>{#advanced_dlg.colorpicker_palette_title}</legend>
    3838                <div id="webcolors">
    3939                    <!-- Gets filled with web safe colors-->
     
    4646        <div id="named_panel" class="panel">
    4747            <fieldset>
    48                 <legend>{$lang_named_colors}</legend>
     48                <legend>{#advanced_dlg.colorpicker_named_title}</legend>
    4949                <div id="namedcolors">
    5050                    <!-- Gets filled with named colors-->
     
    5454
    5555                <div id="colornamecontainer">
    56                     {$lang_color_name} <span id="colorname"></span>
     56                    {#advanced_dlg.colorpicker_name} <span id="colorname"></span>
    5757                </div>
    5858            </fieldset>
     
    6262    <div class="mceActionPanel">
    6363        <div style="float: left">
    64             <input type="button" id="insert" name="insert" value="{$lang_theme_colorpicker_apply}" onclick="insertAction();" />
     64            <input type="button" id="insert" name="insert" value="{#apply}" onclick="insertAction();" />
    6565        </div>
    6666
     
    6868
    6969        <div id="previewblock">
    70             <label for="color">{$lang_color}</label> <input id="color" type="text" size="8" maxlength="8" class="text" />
     70            <label for="color">{#advanced_dlg.colorpicker_color}</label> <input id="color" type="text" size="8" maxlength="8" class="text" />
    7171        </div>
    7272    </div>
Note: See TracChangeset for help on using the changeset viewer.