18 lines
No EOL
623 B
JavaScript
18 lines
No EOL
623 B
JavaScript
/* Import plugin specific language pack */
|
|
tinyMCE.importPluginLanguagePack('advlink', 'en,de,sv,zh_cn,cs,fa,fr_ca,fr,pl,pt_br');
|
|
|
|
/**
|
|
* Insert link template function.
|
|
*/
|
|
function TinyMCE_advlink_getInsertLinkTemplate() {
|
|
var template = new Array();
|
|
template['file'] = '../../plugins/advlink/link.htm';
|
|
template['width'] = 400;
|
|
template['height'] = 420;
|
|
|
|
// Language specific width and height addons
|
|
template['width'] += tinyMCE.getLang('lang_insert_link_delta_width', 0);
|
|
template['height'] += tinyMCE.getLang('lang_insert_link_delta_height', 0);
|
|
|
|
return template;
|
|
}
|