Changeset 1935:fb17968f0a0f
- Timestamp:
- 09/17/13 22:27:03 (12 years ago)
- Branch:
- default
- Location:
- admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/js/_post.js
r1832 r1935 191 191 hide: $('#post_notes').val() == '' 192 192 }); 193 $('#create_cat').toggleWithLegend($('#create_cat').parent().children().not('#create_cat'),{194 // no cookie on new category as we don't use this every day195 legend_click: true196 });197 193 $('#post_lang').parent().children('label').toggleWithLegend($('#post_lang'),{ 198 194 user_pref: 'dcx_post_lang', … … 216 212 legend_click: true 217 213 }); 218 $('# cat_id').parent().children('label').toggleWithLegend($('#cat_id'),{219 user_pref: ' cat_id',214 $('#label_cat_id').toggleWithLegend($('#label_cat_id').parent().children().not('#label_cat_id'),{ 215 user_pref: 'dcx_cat_id', 220 216 legend_click: true 221 217 }); -
admin/post.php
r1831 r1935 466 466 __('Selected entry').'</label></p>', 467 467 'cat_id' => 468 '<p><label for="cat_id" class="ib">'.__('Category').'</label>'. 468 '<div>'. 469 '<h5 id="label_cat_id">'.__('Category').'</h5>'. 470 '<p><label for="cat_id">'.__('Category:').'</label>'. 469 471 form::combo('cat_id',$categories_combo,$cat_id,'maximal'). 470 472 '</p>'. 471 473 ($core->auth->check('categories', $core->blog->id) ? 472 '<div>'.473 474 '<h5 id="create_cat">'.__('Add a new category').'</h5>'. 474 475 '<p><label for="new_cat_title">'.__('Title:').' '. … … 476 477 '<p><label for="new_cat_parent">'.__('Parent:').' '. 477 478 form::combo('new_cat_parent',$categories_combo,'','maximal'). 478 '</label></p>' .479 '</div>'480 : ''))),479 '</label></p>' 480 : ''). 481 '</div>')), 481 482 'options-box' => array( 482 483 'title' => __('Options'),
Note: See TracChangeset
for help on using the changeset viewer.