- Timestamp:
- 01/17/2008 03:44:05 PM (17 years ago)
- 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"> 1 2 <html xmlns="http://www.w3.org/1999/xhtml"> 2 3 <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> 8 8 <base target="_self" /> 9 9 </head> 10 <body onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none">10 <body id="colorpicker" style="display: none"> 11 11 <div class="tabs"> 12 12 <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> 16 16 </ul> 17 17 </div> … … 20 20 <div id="picker_panel" class="panel current"> 21 21 <fieldset> 22 <legend>{ $lang_color_picker}</legend>22 <legend>{#advanced_dlg.colorpicker_picker_title}</legend> 23 23 <div id="picker"> 24 <img id="color picker" 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;" /> 25 25 26 26 <div id="light"> … … 35 35 <div id="rgb_panel" class="panel"> 36 36 <fieldset> 37 <legend>{ $lang_web_colors}</legend>37 <legend>{#advanced_dlg.colorpicker_palette_title}</legend> 38 38 <div id="webcolors"> 39 39 <!-- Gets filled with web safe colors--> … … 46 46 <div id="named_panel" class="panel"> 47 47 <fieldset> 48 <legend>{ $lang_named_colors}</legend>48 <legend>{#advanced_dlg.colorpicker_named_title}</legend> 49 49 <div id="namedcolors"> 50 50 <!-- Gets filled with named colors--> … … 54 54 55 55 <div id="colornamecontainer"> 56 { $lang_color_name} <span id="colorname"></span>56 {#advanced_dlg.colorpicker_name} <span id="colorname"></span> 57 57 </div> 58 58 </fieldset> … … 62 62 <div class="mceActionPanel"> 63 63 <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();" /> 65 65 </div> 66 66 … … 68 68 69 69 <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" /> 71 71 </div> 72 72 </div>
Note: See TracChangeset
for help on using the changeset viewer.