Dotclear


Ignore:
Timestamp:
03/29/12 13:34:24 (13 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Ductile theme 1.1 : Add optional logo URL in configuration. A media selector should be nice but I don't know how to implement it, until now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • themes/ductile/_config.php

    r776 r810  
    221221     // HTML 
    222222     'subtitle_hidden' => null, 
     223     'logo_src' => null, 
    223224     // CSS 
    224225     'body_font' => null, 
     
    322323          if ($conf_tab == 'html') { 
    323324               $ductile_user['subtitle_hidden'] = (integer) !empty($_POST['subtitle_hidden']); 
     325               $ductile_user['logo_src'] = $_POST['logo_src']; 
    324326 
    325327               $ductile_stickers = array(); 
     
    427429     echo '<p>'.sprintf(__('To configure the top menu go to the <a href="%s">Simple Menu administration page</a>.'),'plugin.php?p=simpleMenu').'</p>'; 
    428430} 
     431echo '<p class="field"><label for"logo_src">'.__('Logo URL:').' '. 
     432     form::field('logo_src',40,255,$ductile_user['logo_src']).'</label>'.'</p>'; 
    429433echo '</fieldset>'; 
    430434 
Note: See TracChangeset for help on using the changeset viewer.

Sites map