Dotclear


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
  • inc/public/default-templates/currywurst/_simple-entry.html

    r2641 r2776  
    164164               <p class="buttons"> 
    165165                    <button type="submit" class="preview" name="preview" value="{{tpl:lang Preview}}">{{tpl:lang Preview}}</button> 
    166                   <tpl:IfCommentPreview> 
     166                  <tpl:IfCommentPreviewOptional> 
    167167                    <button type="submit" class="submit" value="{{tpl:lang Send}}">{{tpl:lang Send}}</button> 
    168                   </tpl:IfCommentPreview> 
     168                  </tpl:IfCommentPreviewOptional> 
    169169               </p> 
    170170     </form> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map