Dotclear

Ticket #330: 330.diff

File 330.diff, 1.4 KB (added by sacha, 17 years ago)

Patch

  • plugins/externalMedia/index.php

     
    169169{ 
    170170       echo 
    171171       '<form action="'.$p_url.'&amp;popup=1" method="post">'. 
     172       '<h3>'.__('Supported media').'</h3>'. 
     173       '<ul id="supported_media"><li>'.implode('</li><li>',array_keys($services_regs)).'</li></ul>'. 
    172174       '<p>'.__('Please enter the URL of the page containing the video you want to include in your post.').'</p>'. 
    173175       '<p><label>'.__('Page URL:').' '. 
    174176       form::field('media_page',50,250,html::escapeHTML($media_page)).'</label></p>'. 
    175  
    176177       '<p><input type="submit" value="'.__('ok').'" />'. 
    177178       $core->formNonce().'</p>'. 
    178179       '</form>'; 
  • plugins/externalMedia/popup.js

     
    88               window.close(); 
    99       }); 
    1010 
     11       $('#supported_media').prev().toggleWithLegend($('#supported_media'),{ 
     12               cookie: 'dcx_supported_media' 
     13       }); 
     14 
    1115       function sendClose() { 
    1216               var insert_form = $('#media-insert-form').get(0); 
    1317               if (insert_form == undefined) { return; } 

Sites map