Changeset 2694:1873a0e11790 for admin/post.php
- Timestamp:
- 04/05/14 14:46:47 (11 years ago)
- Branch:
- default
- Children:
- 2700:4ded6c327e04, 3280:d258c9f4317b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/post.php
r2682 r2694 73 73 $TB = new dcTrackback($core); 74 74 $tb_urls = $tb_excerpt = ''; 75 76 if (count($formaters_combo)==0 || !$core->auth->getOption('editor') || $core->auth->getOption('editor')=='') { 77 dcPage::addNotice("message", 78 sprintf(__('Choose an active editor in %s.'), 79 '<a href="preferences.php#user-options">'.__('your preferences').'</a>' 80 ) 81 ); 82 } 75 83 76 84 # Get entry informations … … 449 457 if ($can_edit_post) 450 458 { 451 if (count($formaters_combo)>0 ) {459 if (count($formaters_combo)>0 && ($core->auth->getOption('editor') && $core->auth->getOption('editor')!='')) { 452 460 $post_format_field = form::combo('post_format',$formaters_combo,$post_format,'maximal'); 453 461 } else { 454 $post_format_field = '<a href="preferences.php#user-options">'.__('Choose an activated editor').'</a>'; 462 $post_format_field = sprintf(__('Choose an active editor in %s.'), 463 '<a href="preferences.php#user-options">'.__('your preferences').'</a>' 464 ); 455 465 } 456 466
Note: See TracChangeset
for help on using the changeset viewer.