Dotclear

Changeset 1714:28737e5f6607


Ignore:
Timestamp:
09/03/13 20:30:04 (11 years ago)
Author:
kevin@…
Branch:
Ticket #1624
Children:
1715:d55945cae2cd, 1716:6c2f79db9c59
Parents:
1713:e29741a2433d (diff), 1699:5b68157bf85e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Fusion avec default

Location:
admin
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • admin/js/_post.js

    r1699 r1714  
    153153               legend_click: true 
    154154          }); 
     155          $('#label_comment_tb').toggleWithLegend($('#label_comment_tb').parent().children().not('#label_comment_tb'),{ 
     156               cookie: 'dcx_comment_tb', 
     157               legend_click: true 
     158          }); 
    155159          $('#post_url').parent().children('label').toggleWithLegend($('#post_url').parent().children().not('label'),{ 
    156160               user_pref: 'post_url', 
  • admin/js/_post.js

    r1712 r1714  
    120120          // Hide some fields 
    121121          $('#notes-area label').toggleWithLegend($('#notes-area').children().not('label'),{ 
    122                cookie: 'dcx_post_notes', 
     122               user_pref: 'dcx_post_notes', 
    123123               legend_click:true, 
    124124               hide: $('#post_notes').val() == '' 
     
    129129          }); 
    130130          $('#post_lang').parent().children('label').toggleWithLegend($('#post_lang'),{ 
    131                cookie: 'dcx_post_lang', 
     131               user_pref: 'dcx_post_lang', 
    132132               legend_click: true 
    133133          }); 
    134134          $('#post_password').parent().children('label').toggleWithLegend($('#post_password'),{ 
    135                cookie: 'dcx_post_password', 
     135               user_pref: 'dcx_post_password', 
    136136               legend_click: true, 
    137137               hide: $('#post_password').val() == '' 
    138138          }); 
    139139          $('#post_status').parent().children('label').toggleWithLegend($('#post_status'),{ 
    140                cookie: 'dcx_post_status', 
     140               user_pref: 'dcx_post_status', 
    141141               legend_click: true 
    142142          }); 
    143143          $('#post_dt').parent().children('label').toggleWithLegend($('#post_dt').parent().children().not('label'),{ 
    144                cookie: 'dcx_post_dt', 
     144               user_pref: 'dcx_post_dt', 
    145145               legend_click: true 
    146146          }); 
    147147          $('#label_format').toggleWithLegend($('#label_format').parent().children().not('#label_format'),{ 
    148                cookie: 'dcx_post_format', 
     148               user_pref: 'dcx_post_format', 
    149149               legend_click: true 
    150150          }); 
    151151          $('#cat_id').parent().children('label').toggleWithLegend($('#cat_id'),{ 
    152                cookie: 'cat_id', 
     152               user_pref: 'cat_id', 
    153153               legend_click: true 
    154154          }); 
     
    158158          }); 
    159159          $('#post_url').parent().children('label').toggleWithLegend($('#post_url').parent().children().not('label'),{ 
    160                cookie: 'post_url', 
     160               user_pref: 'post_url', 
    161161               legend_click: true 
    162162          }); 
    163163          // We load toolbar on excerpt only when it's ready 
    164164          $('#excerpt-area label').toggleWithLegend($('#excerpt-area').children().not('label'),{ 
    165                cookie: 'dcx_post_excerpt', 
     165               user_pref: 'dcx_post_excerpt', 
    166166               legend_click: true, 
    167167               hide: $('#post_excerpt').val() == '' 
  • admin/post.php

    r1697 r1714  
    472472               'title' => __('Options'), 
    473473               'items' => array( 
    474                     'post_open_comment' => 
     474                    'post_open_comment_tb' => 
     475                         '<div>'. 
     476                         '<h5 id="label_comment_tb">'.__('Commentaires et rétroliens').'</h5>'. 
    475477                         '<p><label for="post_open_comment" class="classic">'. 
    476478                         form::checkbox('post_open_comment',1,$post_open_comment).' '. 
     
    482484                                   __('Warning: Comments are not more accepted for this entry.').'</p>') :  
    483485                              '<p class="form-note warn">'. 
    484                               __('Comments are not accepted on this blog so far.').'</p>'), 
    485                     'post_open_tb' => 
     486                              __('Comments are not accepted on this blog so far.').'</p>'). 
    486487                         '<p><label for="post_open_tb" class="classic">'. 
    487488                         form::checkbox('post_open_tb',1,$post_open_tb).' '. 
     
    492493                                   '<p class="form-note warn">'. 
    493494                                   __('Warning: Trackbacks are not more accepted for this entry.').'</p>') :  
    494                               '<p class="form-note warn">'.__('Trackbacks are not accepted on this blog so far.').'</p>'), 
     495                              '<p class="form-note warn">'.__('Trackbacks are not accepted on this blog so far.').'</p>'). 
     496                         '</div>', 
    495497                    'post_password' => 
    496498                         '<p><label for="post_password" class="ib">'.__('Password').'</label>'. 
  • admin/post.php

    r1711 r1714  
    518518          "post_excerpt" => 
    519519               '<p class="area" id="excerpt-area"><label for="post_excerpt">'.__('Excerpt:').'<span class="form-note">'. 
    520                __('Add an introduction to the post.').'</span></label> '. 
     520               __('Introduction to the post.').'</span></label> '. 
    521521               form::textarea('post_excerpt',50,5,html::escapeHTML($post_excerpt)). 
    522522               '</p>', 
     
    530530          "post_notes" => 
    531531               '<p class="area" id="notes-area"><label for="post_notes">'.__('Personal notes:').'<span class="form-note">'. 
    532                __('Add unpublished notes.').'</span></label>'. 
     532               __('Unpublished notes.').'</span></label>'. 
    533533               form::textarea('post_notes',50,5,html::escapeHTML($post_notes)). 
    534534               '</p>' 
Note: See TracChangeset for help on using the changeset viewer.

Sites map