Dotclear

Changeset 2776:75004db1c37c for admin


Ignore:
Timestamp:
11/10/14 16:31:35 (11 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Comment mandatory preview before submit may be disabled, using new <tpl:IfCommentPreviewOptional> instead of <tpl:IfCommentPreview> for displaying submit button. Applied only in currywurst templateset in order to insure backward compatibility. Fixes #1963

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/blog_pref.php

    r2720 r2776  
    231231          $blog_settings->system->put('comments_nofollow',!empty($_POST['comments_nofollow'])); 
    232232          $blog_settings->system->put('wiki_comments',!empty($_POST['wiki_comments'])); 
     233          $blog_settings->system->put('comment_preview_optional',!empty($_POST['comment_preview_optional'])); 
    233234          $blog_settings->system->put('enable_xmlrpc',!empty($_POST['enable_xmlrpc'])); 
    234235          $blog_settings->system->put('note_title_tag',$_POST['note_title_tag']); 
     
    473474     form::checkbox('wiki_comments','1',$blog_settings->system->wiki_comments). 
    474475     __('Wiki syntax for comments').'</label></p>'. 
     476     '<p><label for="comment_preview_optional" class="classic">'. 
     477     form::checkbox('comment_preview_optional','1',$blog_settings->system->comment_preview_optional). 
     478     __('Preview of comment before submit is not mandatory').'</label></p>'. 
    475479     '</div>'. 
    476480 
Note: See TracChangeset for help on using the changeset viewer.

Sites map