Dotclear

Changeset 2510:22eb32a28268


Ignore:
Timestamp:
11/03/13 08:41:12 (12 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
2.6
Message:

Displays media popup with columns. Closes #1837.
Add some margin over auth fieldset.

Location:
admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin/media_item.php

    r2256 r2510  
    289289          echo '</p>'; 
    290290           
    291            
    292           echo '<h3>'.__('Image alignment').'</h3>'; 
     291          echo 
     292          '<div class="two-boxes">'.          
     293          '<h3>'.__('Image alignment').'</h3>'; 
    293294          $i_align = array( 
    294295               'none' => array(__('None'),($media_img_default_alignment == 'none' ? 1 : 0)), 
     
    304305          } 
    305306          echo '</p>'; 
    306            
    307           echo 
     307          echo '</div>'; 
     308           
     309          echo 
     310          '<div class="two-boxes">'. 
    308311          '<h3>'.__('Image insertion').'</h3>'. 
    309312          '<p>'. 
     
    312315          '<label for="insert2" class="classic">'.form::radio(array('insertion','insert2'),'link',$media_img_default_link). 
    313316          __('As a link to the original image').'</label>'. 
    314           '</p>'; 
     317          '</p>'. 
     318          '</div>'; 
    315319     } 
    316320     elseif ($file->type == 'audio/mpeg3') 
     
    318322          $media_type = 'mp3'; 
    319323           
    320           echo '<h3>'.__('MP3 disposition').'</h3>'; 
     324          echo  
     325          '<div class="two-boxes">'. 
     326          '<h3>'.__('MP3 disposition').'</h3>'; 
    321327          dcPage::message(__("Please note that you cannot insert mp3 files with visual editor."),false); 
    322328           
     
    338344          echo form::hidden('public_player',html::escapeHTML($public_player)); 
    339345          echo '</p>'; 
     346          echo '</div>'; 
    340347     } 
    341348     elseif ($file->type == 'video/x-flv' || $file->type == 'video/mp4' || $file->type == 'video/x-m4v') 
     
    346353           
    347354          echo 
     355          '<div class="two-boxes">'. 
    348356          '<h3>'.__('Video size').'</h3>'. 
    349357          '<p><label for="video_w" class="classic">'.__('Width:').'</label> '. 
     
    351359          '<label for="video_h" class="classic">'.__('Height:').'</label> '. 
    352360          form::field('video_h',3,4,300). 
    353           '</p>'; 
    354            
    355           echo '<h3>'.__('Video disposition').'</h3>'; 
     361          '</p>'. 
     362          '</div>'; 
     363 
     364           
     365          echo  
     366          '<div class="two-boxes">'. 
     367          '<h3>'.__('Video disposition').'</h3>'; 
    356368           
    357369          $i_align = array( 
     
    372384          echo form::hidden('public_player',html::escapeHTML($public_player)); 
    373385          echo '</p>'; 
     386          echo '</div>'; 
    374387     } 
    375388     else 
  • admin/style/default.css

    r2489 r2510  
    14231423     background: #fff; 
    14241424     margin-bottom: 0; 
     1425     margin-top: 1em; 
    14251426     } 
    14261427#login-screen input[type=text], #login-screen input[type=password], #login-screen input[type=submit], 
Note: See TracChangeset for help on using the changeset viewer.

Sites map