Dotclear


Ignore:
Timestamp:
08/20/13 16:47:16 (12 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

Let fieldsets be fieldsets (work in progress): blogpref, category, blogtheme, langs, media, plugins, user actions, antispam, importexport.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/media_item.php

    r1454 r1499  
    489489echo '</div>'; 
    490490 
     491echo '<h3>'.__('Updates and modifications').'</h3>'; 
     492 
    491493if ($file->editable && $core_media_writable) 
    492494{ 
     
    494496     { 
    495497          echo 
    496           '<form class="clear" action="'.html::escapeURL($page_url).'" method="post">'. 
    497           '<fieldset><legend>'.__('Update thumbnails').'</legend>'. 
     498          '<form class="clear fieldset" action="'.html::escapeURL($page_url).'" method="post">'. 
     499          '<h4>'.__('Update thumbnails').'</h4>'. 
    498500          '<p>'.__('This will create or update thumbnails for this image.').'</p>'. 
    499501          '<p><input type="submit" name="thumbs" value="'.__('Update thumbnails').'" />'. 
    500502          form::hidden(array('id'),$id). 
    501503          $core->formNonce().'</p>'. 
    502           '</fieldset></form>'; 
     504          '</form>'; 
    503505     } 
    504506      
     
    511513           
    512514          echo 
    513           '<form class="clear" id="file-unzip" action="'.html::escapeURL($page_url).'" method="post">'. 
    514           '<fieldset><legend>'.__('Extract archive').'</legend>'. 
     515          '<form class="clear fieldset" id="file-unzip" action="'.html::escapeURL($page_url).'" method="post">'. 
     516          '<h4>'.__('Extract archive').'</h4>'. 
    515517          '<ul>'. 
    516518          '<li><strong>'.__('Extract in a new directory').'</strong> : '. 
     
    524526          form::hidden(array('id'),$id). 
    525527          $core->formNonce().'</p>'. 
    526           '</fieldset></form>'; 
     528          '</form>'; 
    527529     } 
    528530      
    529531     echo 
    530      '<form class="clear" action="'.html::escapeURL($page_url).'" method="post">'. 
    531      '<fieldset><legend>'.__('Change media properties').'</legend>'. 
     532     '<form class="clear fieldset" action="'.html::escapeURL($page_url).'" method="post">'. 
     533     '<h4>'.__('Change media properties').'</h4>'. 
    532534     '<p><label for="media_file">'.__('File name:').'</label>'. 
    533535     form::field('media_file',30,255,html::escapeHTML($file->basename)).'</p>'. 
     
    543545     form::hidden(array('id'),$id). 
    544546     $core->formNonce().'</p>'. 
    545      '</fieldset></form>'; 
     547     '</form>'; 
    546548      
    547549     echo 
    548      '<form class="clear" action="'.html::escapeURL($page_url).'" method="post" enctype="multipart/form-data">'. 
    549      '<fieldset><legend>'.__('Change file').'</legend>'. 
     550     '<form class="clear fieldset" action="'.html::escapeURL($page_url).'" method="post" enctype="multipart/form-data">'. 
     551     '<h4>'.__('Change file').'</h4>'. 
    550552     '<div>'.form::hidden(array('MAX_FILE_SIZE'),DC_MAX_UPLOAD_SIZE).'</div>'. 
    551553     '<p><label for="upfile">'.__('Choose a file:'). 
     
    556558     form::hidden(array('id'),$id). 
    557559     $core->formNonce().'</p>'. 
    558      '</fieldset></form>'; 
     560     '</form>'; 
    559561 
    560562     if ($file->del) { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map