Dotclear

Changeset 1619:5d925866b5b3


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

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • admin/js/_post.js

    r1606 r1619  
    145145               legend_click: true 
    146146          }); 
    147           $('#post_format').parent().children('label').toggleWithLegend($('#post_format'),{ 
     147          $('#label_format').toggleWithLegend($('#label_format').parent().children().not('#label_format'),{ 
    148148               cookie: 'dcx_post_format', 
    149149               legend_click: true 
  • admin/post.php

    r1613 r1619  
    439439                         '</p>', 
    440440                    'post_format' => 
    441                          '<p><label for="post_format" class="ib">'.__('Text formating').'</label>'. 
    442                          form::combo('post_format',$formaters_combo,$post_format,'maximal'). 
     441                         '<div>'. 
     442                         '<h5 id="label_format"><label for="post_format" class="ib">'.__('Text formating').'</label></h5>'. 
     443                         '<p>'.form::combo('post_format',$formaters_combo,$post_format,'maximal'). 
    443444                         '</p>'. 
    444445                         '<p>'.($post_id && $post_format != 'xhtml' ?  
    445446                         '<a id="convert-xhtml" class="button maximal" href="post.php?id='.$post_id.'&amp;xconv=1">'. 
    446                          __('Convert to XHTML').'</a>' : '').'</p>')), 
     447                         __('Convert to XHTML').'</a>' : '').'</p></div>')), 
    447448          'metas-box' => array( 
    448449               'title' => __('Ordering'), 
  • admin/style/default.css

    r1618 r1619  
    7878h5 { 
    7979     font-size: 12px; /* ie < 9 sucks */ 
    80      font-size: 1.3rem; 
     80     font-size: 1.2rem; 
    8181     color: #575859; 
    8282} 
     
    625625     width: 14em; /* to prevent inline with label */ 
    626626} 
     627#entry-sidebar input#post_position { 
     628     width: 4em; 
     629} 
    627630.box { 
    628631     border-bottom: 1px solid #ddd; 
     
    979982     height: 105px; 
    980983     border: 1px solid #fff; 
     984} 
     985#themes a:focus div, #themes a:hover div, 
     986#themes a:focus div.current-theme, #themes a:hover div.current-theme { 
     987     background: #BBDB58; 
    981988} 
    982989/* ----------------------------------------------------------  Plugins list */ 
  • locales/fr/plugins.po

    r1610 r1619  
    19811981msgid "Syntax color for theme editor" 
    19821982msgstr "Coloration syntaxique de l'éditeur de thème" 
     1983 
     1984msgid "Hide in widget Pages" 
     1985msgstr "Ne pas lister dans le widget Pages" 
  • 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