upgrading to tinymce 1.45

This commit is contained in:
JT Smith 2005-08-05 19:49:15 +00:00
parent c287ab8a3e
commit c351096b73
196 changed files with 3608 additions and 1636 deletions

View file

@ -4,8 +4,13 @@
<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
<script language="javascript">
var url = tinyMCE.getParam("flash_external_list_url");
if (url != null)
document.write('<sc'+'ript language="javascript" type="text/javascript" src="' + tinyMCE.documentBasePath + "/" + url + '"></sc'+'ript>');
if (url != null) {
// Fix relative
if (url.charAt(0) != '/')
url = tinyMCE.documentBasePath + "/" + url;
document.write('<sc'+'ript language="javascript" type="text/javascript" src="' + url + '"></sc'+'ript>');
}
</script>
<script language="javascript" type="text/javascript">
<!--
@ -57,8 +62,6 @@ if (url != null)
formObj.link_list.options[i].selected = true;
}
}
window.focus();
}
function insertFlash() {
@ -86,12 +89,16 @@ if (url != null)
+ 'width="' + width + '" height="' + height + '" '
+ 'border="0" alt="' + file + '" title="' + file + '" class="mce_plugin_flash" name="mce_plugin_flash" />';
tinyMCE.execCommand("mceInsertContent",true,html);
top.close();
tinyMCE.selectedInstance.repaint();
// Close the dialog
tinyMCE.closeDialog();
}
}
function cancelAction() {
top.close();
// Close the dialog
tinyMCE.closeDialog();
}
//-->
@ -108,7 +115,7 @@ if (url != null)
</head>
<body onload="init();">
<form onsubmit="insertFlash();return false;">
<table border="0" cellpadding="0" cellspacing="4" width="100%">
<table border="0" cellpadding="0" cellspacing="4" width="350">
<tr>
<td class="title">{$lang_insert_flash}</td>
</tr>
@ -118,7 +125,7 @@ if (url != null)
<tr>
<td align="center" valign="middle"><table border="0" cellpadding="4" cellspacing="0">
<tr>
<td align="right">{$lang_insert_flash_file}:</td>
<td align="right" nowrap="nowrap">{$lang_insert_flash_file}:</td>
<td nowrap="nowrap">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
@ -147,7 +154,7 @@ if (url != null)
</script>
<!-- /Link list -->
<tr>
<td align="right">{$lang_insert_flash_size}:</td>
<td align="right" nowrap="nowrap">{$lang_insert_flash_size}:</td>
<td nowrap="nowrap">
<input name="width" type="text" id="width" value="" onfocus="this.select();" style="width: 50px; vertical-align: middle;" />
<select name="width2" id="width2" style="width: 50px; vertical-align: middle;">