Dotclear


Ignore:
Timestamp:
12/17/12 14:40:06 (13 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Media title may now use the EXIF (original) date if exist instead of file date (see blog prefs). Fixes #1305

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/blog_pref.php

    r976 r1073  
    225225          $blog_settings->system->put('media_img_m_size',$media_img_m_size); 
    226226          $blog_settings->system->put('media_img_title_pattern',$_POST['media_img_title_pattern']); 
     227          $blog_settings->system->put('media_img_use_dto_first',!empty($_POST['media_img_use_dto_first'])); 
    227228          $blog_settings->system->put('media_img_default_size',$_POST['media_img_default_size']); 
    228229          $blog_settings->system->put('media_img_default_alignment',$_POST['media_img_default_alignment']); 
     
    482483     '<p>'.__('This defines image tag title when you insert it in a post from the media manager. It is retrieved from the picture\'s metadata.').'</p>'. 
    483484     '<p>'.form::combo('media_img_title_pattern',$img_title_combo,html::escapeHTML($blog_settings->system->media_img_title_pattern)).'</p>'. 
    484      '</div>'. 
    485  
    486      '<div class="col">'. 
     485     '<p><label for="media_img_use_dto_first" class="classic">'. 
     486     form::checkbox('media_img_use_dto_first','1',$blog_settings->system->media_img_use_dto_first). 
     487     __('Use original media date if possible').'</label></p>'. 
     488 
    487489     '<h4>'.__('Default image insertion attributes').'</h4>'. 
    488490     '<p><label for="media_img_default_size">'.__('Image size:'). 
Note: See TracChangeset for help on using the changeset viewer.

Sites map