Changeset 1714:28737e5f6607 for admin
- Timestamp:
- 09/03/13 20:30:04 (10 years ago)
- 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. - Location:
- admin
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/js/_post.js
r1699 r1714 153 153 legend_click: true 154 154 }); 155 $('#label_comment_tb').toggleWithLegend($('#label_comment_tb').parent().children().not('#label_comment_tb'),{ 156 cookie: 'dcx_comment_tb', 157 legend_click: true 158 }); 155 159 $('#post_url').parent().children('label').toggleWithLegend($('#post_url').parent().children().not('label'),{ 156 160 user_pref: 'post_url', -
admin/js/_post.js
r1712 r1714 120 120 // Hide some fields 121 121 $('#notes-area label').toggleWithLegend($('#notes-area').children().not('label'),{ 122 cookie: 'dcx_post_notes',122 user_pref: 'dcx_post_notes', 123 123 legend_click:true, 124 124 hide: $('#post_notes').val() == '' … … 129 129 }); 130 130 $('#post_lang').parent().children('label').toggleWithLegend($('#post_lang'),{ 131 cookie: 'dcx_post_lang',131 user_pref: 'dcx_post_lang', 132 132 legend_click: true 133 133 }); 134 134 $('#post_password').parent().children('label').toggleWithLegend($('#post_password'),{ 135 cookie: 'dcx_post_password',135 user_pref: 'dcx_post_password', 136 136 legend_click: true, 137 137 hide: $('#post_password').val() == '' 138 138 }); 139 139 $('#post_status').parent().children('label').toggleWithLegend($('#post_status'),{ 140 cookie: 'dcx_post_status',140 user_pref: 'dcx_post_status', 141 141 legend_click: true 142 142 }); 143 143 $('#post_dt').parent().children('label').toggleWithLegend($('#post_dt').parent().children().not('label'),{ 144 cookie: 'dcx_post_dt',144 user_pref: 'dcx_post_dt', 145 145 legend_click: true 146 146 }); 147 147 $('#label_format').toggleWithLegend($('#label_format').parent().children().not('#label_format'),{ 148 cookie: 'dcx_post_format',148 user_pref: 'dcx_post_format', 149 149 legend_click: true 150 150 }); 151 151 $('#cat_id').parent().children('label').toggleWithLegend($('#cat_id'),{ 152 cookie: 'cat_id',152 user_pref: 'cat_id', 153 153 legend_click: true 154 154 }); … … 158 158 }); 159 159 $('#post_url').parent().children('label').toggleWithLegend($('#post_url').parent().children().not('label'),{ 160 cookie: 'post_url',160 user_pref: 'post_url', 161 161 legend_click: true 162 162 }); 163 163 // We load toolbar on excerpt only when it's ready 164 164 $('#excerpt-area label').toggleWithLegend($('#excerpt-area').children().not('label'),{ 165 cookie: 'dcx_post_excerpt',165 user_pref: 'dcx_post_excerpt', 166 166 legend_click: true, 167 167 hide: $('#post_excerpt').val() == '' -
admin/post.php
r1697 r1714 472 472 'title' => __('Options'), 473 473 'items' => array( 474 'post_open_comment' => 474 'post_open_comment_tb' => 475 '<div>'. 476 '<h5 id="label_comment_tb">'.__('Commentaires et rétroliens').'</h5>'. 475 477 '<p><label for="post_open_comment" class="classic">'. 476 478 form::checkbox('post_open_comment',1,$post_open_comment).' '. … … 482 484 __('Warning: Comments are not more accepted for this entry.').'</p>') : 483 485 '<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>'). 486 487 '<p><label for="post_open_tb" class="classic">'. 487 488 form::checkbox('post_open_tb',1,$post_open_tb).' '. … … 492 493 '<p class="form-note warn">'. 493 494 __('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>', 495 497 'post_password' => 496 498 '<p><label for="post_password" class="ib">'.__('Password').'</label>'. -
admin/post.php
r1711 r1714 518 518 "post_excerpt" => 519 519 '<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> '. 521 521 form::textarea('post_excerpt',50,5,html::escapeHTML($post_excerpt)). 522 522 '</p>', … … 530 530 "post_notes" => 531 531 '<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>'. 533 533 form::textarea('post_notes',50,5,html::escapeHTML($post_notes)). 534 534 '</p>'
Note: See TracChangeset
for help on using the changeset viewer.