Dotclear


Ignore:
Timestamp:
06/16/11 23:11:22 (14 years ago)
Author:
Franck <carnet.franck.paul@…>
Branch:
themes
Message:

Configuration des polices - step 2 : couleurs et graisse des liens + divers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • themes/ductile/_config.php

    r376 r378  
    5252 
    5353$ductile_base = array( 
    54      'body_link_c' => null, 
     54     'body_link_w' => null, 
    5555     'body_link_v_c' => null, 
    5656     'body_link_f_c' => null, 
     
    7171     try 
    7272     { 
    73           $ductile_user['body_link_c'] = adjustColor($_POST['body_link_c']); 
     73          $ductile_user['body_link_w'] = (integer) !empty($_POST['body_link_w']); 
     74 
     75          $ductile_user['body_link_v_c'] = adjustColor($_POST['body_link_v_c']); 
    7476          $ductile_user['body_link_f_c'] = adjustColor($_POST['body_link_f_c']); 
    75           $ductile_user['body_link_v_c'] = adjustColor($_POST['body_link_v_c']); 
    7677           
    7778          $ductile_user['body_font'] = $_POST['body_font']; 
     
    9798form::combo('body_font',$fonts,$ductile_user['body_font']).'</label></p>'. 
    9899 
    99 '<p class="field"><label for="alternate_font">'.__('Alternate font:').' '. 
     100'<p class="field"><label for="alternate_font">'.__('Secondary font:').' '. 
    100101form::combo('alternate_font',$fonts,$ductile_user['alternate_font']).'</label></p>'. 
    101102'</fieldset>'; 
    102103 
    103 echo '<fieldset><legend>'.__('Links').'</legend>'. 
    104 '<p class="field"><label for="body_link_c">'.__('Links color:').' '. 
    105 form::field('body_link_c',7,7,$ductile_user['body_link_c'],'colorpicker').'</label></p>'. 
     104echo '<fieldset><legend>'.__('Inside posts links').'</legend>'. 
     105'<p class="field"><label for="body_link_w">'.__('Links in bold:').' '. 
     106form::checkbox('body_link_w',1,$ductile_user['body_link_w']).'</label>'.'</p>'. 
    106107 
    107 '<p class="field"><label for="body_link_v_c">'.__('Visited links color:').' '. 
    108 form::field('body_link_v_c',7,7,$ductile_user['body_link_v_c'],'colorpicker').'</label></p>'. 
     108'<p class="field"><label for="body_link_v_c">'.__('Normal and visited links color:').'</label> '. 
     109form::field('body_link_v_c',7,7,$ductile_user['body_link_v_c'],'colorpicker').'</p>'. 
    109110 
    110 '<p class="field"><label for="body_link_f_c">'.__('Focus links color:').' '. 
    111 form::field('body_link_f_c',7,7,$ductile_user['body_link_f_c'],'colorpicker').'</label></p>'. 
     111'<p class="field"><label for="body_link_f_c">'.__('Active, hover and focus links color:').'</label> '. 
     112form::field('body_link_f_c',7,7,$ductile_user['body_link_f_c'],'colorpicker').'</p>'. 
    112113'</fieldset>'; 
    113114 
Note: See TracChangeset for help on using the changeset viewer.

Sites map