Ticket #330: 330.diff
File 330.diff, 1.4 KB (added by sacha, 17 years ago) |
---|
-
plugins/externalMedia/index.php
169 169 { 170 170 echo 171 171 '<form action="'.$p_url.'&popup=1" method="post">'. 172 '<h3>'.__('Supported media').'</h3>'. 173 '<ul id="supported_media"><li>'.implode('</li><li>',array_keys($services_regs)).'</li></ul>'. 172 174 '<p>'.__('Please enter the URL of the page containing the video you want to include in your post.').'</p>'. 173 175 '<p><label>'.__('Page URL:').' '. 174 176 form::field('media_page',50,250,html::escapeHTML($media_page)).'</label></p>'. 175 176 177 '<p><input type="submit" value="'.__('ok').'" />'. 177 178 $core->formNonce().'</p>'. 178 179 '</form>'; -
plugins/externalMedia/popup.js
8 8 window.close(); 9 9 }); 10 10 11 $('#supported_media').prev().toggleWithLegend($('#supported_media'),{ 12 cookie: 'dcx_supported_media' 13 }); 14 11 15 function sendClose() { 12 16 var insert_form = $('#media-insert-form').get(0); 13 17 if (insert_form == undefined) { return; }