These plugins have been identified as deprecatable at #s9ycamp2017. They use service that no longer exist or provide features that no longer make sense or have been replaced. We won't miss them. References s9y/Serendipity#499
1 line
No EOL
1,002 B
JavaScript
1 line
No EOL
1,002 B
JavaScript
tinyMCE.importPluginLanguagePack('s9ymdb');var TinyMCE_S9Y_MediaDB_Plugin={getInfo:function(){return{longname:'S9Y Mediadatabase',author:'bitmotor.de',authorurl:'http://bitmotor.de',infourl:'',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},getControlHTML:function(cn){switch(cn){case"s9ymdb":return tinyMCE.getButtonHTML(cn,'lang_s9ymdb_desc','{$pluginurl}/images/s9ymdb.gif','s9yMediaDb',true)}return""},initInstance:function(inst){inst.addShortcut('ctrl','m','lang_s9ymdb_desc','s9yMediaDb')},execCommand:function(editor_id,element,command,user_interface,value){var textarea='body';switch(command){case"s9yMediaDb":if(editor_id=='mce_editor_1')textarea='extended';if(user_interface){var template=new Array();template['file']=serenditpityBaseUrl+'/serendipity_admin_image_selector.php?serendipity[textarea]='+textarea;template['width']=800;template['height']=600;var plain_text="";tinyMCE.openWindow(template)}return true}return false}};tinyMCE.addPlugin("s9ymdb",TinyMCE_S9Y_MediaDB_Plugin); |