From 77c28206a14b5bee3f3091f10cffd531bce5649c Mon Sep 17 00:00:00 2001 From: yllar <yllar.pajus@gmail.com> Date: Sat, 16 Dec 2006 13:25:16 -0500 Subject: [PATCH] updated ja and fr translations --- program/js/tiny_mce/utils/form_utils.js | 26 +++++++++++++------------- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/program/js/tiny_mce/utils/form_utils.js b/program/js/tiny_mce/utils/form_utils.js index f1e9358..c502943 100644 --- a/program/js/tiny_mce/utils/form_utils.js +++ b/program/js/tiny_mce/utils/form_utils.js @@ -1,7 +1,5 @@ /** - * $RCSfile: form_utils.js,v $ - * $Revision: 1.11 $ - * $Date: 2006/04/07 15:53:12 $ + * $Id: form_utils.js 43 2006-08-08 16:10:07Z spocke $ * * Various form utilitiy functions. * @@ -9,18 +7,20 @@ * @copyright Copyright � 2004-2006, Moxiecode Systems AB, All rights reserved. */ +var themeBaseURL = tinyMCE.baseURL + '/themes/' + tinyMCE.getParam("theme"); + function getColorPickerHTML(id, target_form_element) { - var html = ""; + var h = ""; - html += '<a id="' + id + '_link" href="javascript:void(0);" onkeydown="pickColor(event,\'' + target_form_element +'\');" onmousedown="pickColor(event,\'' + target_form_element +'\');return false;">'; - html += '<img id="' + id + '" src="../../themes/' + tinyMCE.getParam("theme") + '/images/color.gif"'; - html += ' onmouseover="this.className=\'mceButtonOver\'"'; - html += ' onmouseout="this.className=\'mceButtonNormal\'"'; - html += ' onmousedown="this.className=\'mceButtonDown\'"'; - html += ' width="20" height="16" border="0" title="' + tinyMCE.getLang('lang_browse') + '"'; - html += ' class="mceButtonNormal" alt="' + tinyMCE.getLang('lang_browse') + '" /></a>'; + h += '<a id="' + id + '_link" href="javascript:void(0);" onkeydown="pickColor(event,\'' + target_form_element +'\');" onmousedown="pickColor(event,\'' + target_form_element +'\');return false;">'; + h += '<img id="' + id + '" src="' + themeBaseURL + '/images/color.gif"'; + h += ' onmouseover="this.className=\'mceButtonOver\'"'; + h += ' onmouseout="this.className=\'mceButtonNormal\'"'; + h += ' onmousedown="this.className=\'mceButtonDown\'"'; + h += ' width="20" height="16" border="0" title="' + tinyMCE.getLang('lang_browse') + '"'; + h += ' class="mceButtonNormal" alt="' + tinyMCE.getLang('lang_browse') + '" /></a>'; - return html; + return h; } function pickColor(e, target_form_element) { @@ -57,7 +57,7 @@ var html = ""; html += '<a id="' + id + '_link" href="javascript:openBrower(\'' + id + '\',\'' + target_form_element + '\', \'' + type + '\',\'' + option + '\');" onmousedown="return false;">'; - html += '<img id="' + id + '" src="../../themes/' + tinyMCE.getParam("theme") + '/images/browse.gif"'; + html += '<img id="' + id + '" src="' + themeBaseURL + '/images/browse.gif"'; html += ' onmouseover="this.className=\'mceButtonOver\';"'; html += ' onmouseout="this.className=\'mceButtonNormal\';"'; html += ' onmousedown="this.className=\'mceButtonDown\';"'; -- Gitblit v1.9.1