Dotclear


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/blowupConfig/index.php

    r1454 r1499  
    235235 
    236236echo 
    237 '<p><a class="back" href="blog_theme.php">'.__('back').'</a></p>'; 
     237'<p><a class="back" href="blog_theme.php">'.__('Back to Blog themes').'</a></p>'; 
    238238 
    239239 
     
    249249echo '<form id="theme_config" action="'.$p_url.'" method="post" enctype="multipart/form-data">'; 
    250250 
    251 echo '<fieldset><legend>'.__('General').'</legend>'; 
     251echo '<div class="fieldset"><h3>'.__('Customization').'</h3>'. 
     252'<h4>'.__('General').'</h4>'; 
    252253 
    253254if ($can_write_images) { 
     
    272273'<p class="field"><label for="body_line_height">'.__('Text line height:').'</label> '. 
    273274form::field('body_line_height',7,7,$blowup_user['body_line_height']).'</p>'. 
    274 '</fieldset>'. 
    275  
    276 '<fieldset><legend>'.__('Links').'</legend>'. 
     275 
     276'<h4 class="border-top">'.__('Links').'</h4>'. 
    277277'<p class="field"><label for="body_link_c">'.__('Links color:').'</label> '. 
    278278form::field('body_link_c',7,7,$blowup_user['body_link_c'],'colorpicker').'</p>'. 
     
    283283'<p class="field"><label for="body_link_f_c">'.__('Focus links color:').'</label> '. 
    284284form::field('body_link_f_c',7,7,$blowup_user['body_link_f_c'],'colorpicker').'</p>'. 
    285 '</fieldset>'. 
    286  
    287 '<fieldset><legend>'.__('Page top').'</legend>'; 
     285 
     286'<h4 class="border-top">'.__('Page top').'</h4>'; 
    288287 
    289288if ($can_write_images) { 
     
    310309 
    311310'<p class="field"><label for="blog_title_p">'.__('Main title position (x:y)').'</label> '. 
    312 form::field('blog_title_p',7,7,$blowup_user['blog_title_p']).'</p>'. 
    313 '</fieldset>'; 
     311form::field('blog_title_p',7,7,$blowup_user['blog_title_p']).'</p>'; 
    314312 
    315313if ($can_write_images) { 
     
    321319 
    322320     echo 
    323      '<fieldset><legend>'.__('Top image').'</legend>'. 
     321     '<h4 class="border-top">'.__('Top image').'</h4>'. 
    324322     '<p class="field"><label for="top_image">'.__('Top image').'</label> '. 
    325323     form::combo('top_image',$top_images,($blowup_user['top_image'] ? $blowup_user['top_image'] : 'default')).'</p>'. 
     
    331329     '</p>'. 
    332330 
    333      '<h3>'.__('Preview').'</h3>'. 
     331     '<h5>'.__('Preview').'</h5>'. 
    334332     '<div class="grid" style="width:800px;border:1px solid #ccc;">'. 
    335333     '<img style="display:block;" src="'.$preview_image.'" alt="" id="image-preview" />'. 
    336      '</div>'. 
    337      '</fieldset>'; 
    338 } 
    339  
    340 echo 
    341 '<fieldset><legend>'.__('Sidebar').'</legend>'. 
     334     '</div>'; 
     335} 
     336 
     337echo 
     338'<h4 class="border-top">'.__('Sidebar').'</h4>'. 
    342339'<p class="field"><label for="sidebar_position">'.__('Sidebar position:').'</label> '. 
    343340form::combo('sidebar_position',array(__('right')=>'right',__('left')=>'left'),$blowup_user['sidebar_position']).'</p>'. 
     
    383380'</fieldset>'. 
    384381 
    385 '<fieldset><legend>'.__('Entries').'</legend>'. 
     382'<h4 class="border-top">'.__('Entries').'</h4>'. 
    386383'<p class="field"><label for="date_title_f">'.__('Date title font:').'</label> '. 
    387384form::combo('date_title_f',blowupConfig::fontsList(),$blowup_user['date_title_f']).'</p>'. 
     
    421418'<p class="field"><label for="post_commentmy_c">'.__('My comment text color:').'</label> '. 
    422419form::field('post_commentmy_c',7,7,$blowup_user['post_commentmy_c'],'colorpicker').'</p>'. 
    423 '</fieldset>'. 
    424  
    425 '<fieldset><legend>'.__('Footer').'</legend>'. 
     420 
     421'<h4 class="border-top">'.__('Footer').'</h4>'. 
    426422'<p class="field"><label for="footer_f">'.__('Footer font:').'</label> '. 
    427423form::combo('footer_f',blowupConfig::fontsList(),$blowup_user['footer_f']).'</p>'. 
     
    437433 
    438434'<p class="field"><label for="footer_bg_c">'.__('Footer background color:').'</label> '. 
    439 form::field('footer_bg_c',7,7,$blowup_user['footer_bg_c'],'colorpicker').'</p>'. 
    440 '</fieldset>'; 
    441  
    442 echo 
    443 '<fieldset><legend>'.__('Additional CSS').'</legend>'. 
     435form::field('footer_bg_c',7,7,$blowup_user['footer_bg_c'],'colorpicker').'</p>'; 
     436 
     437echo 
     438'<h4 class="border-top">'.__('Additional CSS').'</h4>'. 
    444439'<p><label for="extra_css">'.__('Any additional CSS styles (must be written using the CSS syntax):').'</label> '. 
    445440form::textarea('extra_css',72,5,html::escapeHTML($blowup_user['extra_css']),'maximal','',false,'title="'.__('Additional CSS').'"'). 
    446441'</p>'. 
    447 '</fieldset>'; 
     442'</div>'; 
    448443 
    449444 
     
    461456} 
    462457echo 
    463 '<h3 id="bu_export">'.__('Configuration import / export').'</h3><fieldset>'. 
     458'<div class="fieldset">'. 
     459'<h3 id="bu_export">'.__('Configuration import / export').'</h3>'. 
     460'<div id="bu_export_content">'. 
    464461'<p>'.__('You can share your configuration using the following code. To apply a configuration, paste the code, click on "Apply code" and save.').'</p>'. 
    465462'<p>'.form::textarea('export_code',72,5,implode('; ',$tmp_array),'maximal','',false,'title="'.__('Copy this code:').'"').'</p>'. 
    466 '</fieldset>'; 
     463'</div>'. 
     464'</div>'; 
    467465 
    468466echo 
Note: See TracChangeset for help on using the changeset viewer.

Sites map