Dotclear


Ignore:
Timestamp:
08/29/13 23:40:31 (12 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

page_php: restore forgoten Hide in widget Pages
post_php: Include conversion button in hide/show syntax box

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/pages/page.php

    r1617 r1619  
    392392 
    393393 
    394 /* Post form if we can edit post 
     394/* Post form if we can edit page 
    395395-------------------------------------------------------- */ 
    396396if ($can_edit_page) 
     
    413413                         '</p>', 
    414414                    'post_format' => 
    415                          '<p><label for="post_format" class="ib">'.__('Text formating').'</label>'. 
    416                          form::combo('post_format',$formaters_combo,$post_format,'maximal'). 
     415                         '<div>'. 
     416                         '<h5 id="label_format"><label for="post_format" class="ib">'.__('Text formating').'</label></h5>'. 
     417                         '<p>'.form::combo('post_format',$formaters_combo,$post_format,'maximal'). 
    417418                         '</p>'. 
    418419                         '<p>'.($post_id && $post_format != 'xhtml' ?  
    419420                         '<a id="convert-xhtml" class="button maximal" href="post.php?id='.$post_id.'&amp;xconv=1">'. 
    420                          __('Convert to XHTML').'</a>' : '').'</p>')), 
     421                         __('Convert to XHTML').'</a>' : '').'</p></div>')), 
    421422          'metas-box' => array( 
    422423               'title' => __('Ordering'), 
     
    450451                                   __('Warning: Trackbacks are not more accepted for this entry.').'</p>') :  
    451452                              '<p class="form-note warn">'.__('Warning: Trackbacks are not accepted on this blog.').'</p>'), 
     453                    'post_hide' =>  
     454                         '<p><label for="post_selected" class="classic">'.form::checkbox('post_selected',1,$post_selected).' '. 
     455                         __('Hide in widget Pages').'</label></p>'. 
     456                         '</p>', 
    452457                    'post_password' => 
    453458                         '<p><label for="post_password" class="ib">'.__('Password').'</label>'. 
Note: See TracChangeset for help on using the changeset viewer.

Sites map