Dotclear

Changeset 515:953e6a577fce for themes


Ignore:
Timestamp:
07/05/11 15:51:38 (14 years ago)
Author:
Franck <carnet.franck.paul@…>
Branch:
themes
Message:

Rajout du choix de la couleur des titres sans lien dans le configurateur

Location:
themes/ductile
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • themes/ductile/_config.php

    r443 r515  
    8989     'post_title_w_m' => null, 
    9090     'post_title_s_m' => null, 
    91      'post_title_c_m' => null 
     91     'post_title_c_m' => null, 
     92     'post_simple_title_c' => null 
    9293); 
    9394 
     
    165166               $ductile_user['post_link_f_c'] = adjustColor($_POST['post_link_f_c']); 
    166167           
     168               $ductile_user['post_simple_title_c'] = adjustColor($_POST['post_simple_title_c']); 
     169           
    167170               $ductile_user['blog_title_w_m'] = (integer) !empty($_POST['blog_title_w_m']); 
    168171               $ductile_user['blog_title_s_m'] = adjustFontSize($_POST['blog_title_s_m']); 
     
    292295echo '</div>'; 
    293296 
     297echo '<fieldset><legend>'.__('Titles without link').'</legend>'. 
     298 
     299'<p class="field picker"><label for="post_simple_title_c">'.__('Color:').'</label> '. 
     300form::field('post_simple_title_c',7,7,$ductile_user['post_simple_title_c'],'colorpicker').'</p>'. 
     301'</fieldset>'; 
     302 
    294303echo '<fieldset><legend>'.__('Inside posts links').'</legend>'. 
    295304'<p class="field"><label for="post_link_w">'.__('In bold:').' '. 
  • themes/ductile/_public.php

    r444 r515  
    166166          if (isset($s['post_title_c'])) self::prop($css_large,$selectors,'color',$s['post_title_c']); 
    167167 
     168          # Simple title color (title without link) 
     169          $selectors = '#content-info h2, .post-title, .post h3, .post h4, .post h5, .post h6, .arch-block h3'; 
     170          if (isset($s['post_simple_title_c'])) self::prop($css_large,$selectors,'color',$s['post_simple_title_c']); 
     171 
    168172          # Style directives for large screens 
    169173          if (count($css_large)) { 
  • themes/ductile/locales/fr/admin.po

    r421 r515  
    3434msgid "Post title" 
    3535msgstr "Titre des billets" 
     36 
     37msgid "Titles without link" 
     38msgstr "Titres sans lien" 
    3639 
    3740msgid "Inside posts links" 
Note: See TracChangeset for help on using the changeset viewer.

Sites map