Dotclear

Changeset 1530:18df991c4c1a


Ignore:
Timestamp:
08/23/13 11:02:50 (12 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

Quick new cat: adjustments after last merge with 2.5.

Location:
admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • admin/index.php

    r1529 r1530  
    340340               ? '<div>'. 
    341341               '<p id="new_cat" class="q-cat">'.__('Add a new category').'</p>'. 
    342                '<p class="form-note info clear">'.__('This category will be created when you will save your post.').'</p>'. 
    343342               '<p class="q-cat"><label for="new_cat_title">'.__('Title:').'</label> '. 
    344343               form::field('new_cat_title',30,255,'','').'</p>'. 
     
    346345               form::combo('new_cat_parent',$categories_combo,'',''). 
    347346               '</p>'. 
     347               '<p class="form-note info clear">'.__('This category will be created when you will save your post.').'</p>'. 
    348348               '</div>' 
    349349               : ''). 
  • admin/js/_post.js

    r1529 r1530  
    124124                  legend_click: true 
    125125          }); 
    126           $('#new_cat').toggleWithLegend( 
    127                $('#new_cat').parent().children().not('#new_cat'), 
     126          $('#create_cat').toggleWithLegend( 
     127               $('#create_cat').parent().children().not('#create_cat'), 
    128128               {legend_click: true} // no cookie on new category as we don't use this every day 
    129129          ); 
  • admin/post.php

    r1529 r1530  
    458458                         ($core->auth->check('categories', $core->blog->id) ? 
    459459                              '<div>'. 
    460                               '<p id="new_cat">'.__('Add a new category').'</p>'. 
     460                              '<h5 id="create_cat">'.__('Add a new category').'</h5>'. 
    461461                              '<p><label for="new_cat_title">'.__('Title:').' '. 
    462462                              form::field('new_cat_title',30,255,'','maximal').'</label></p>'. 
Note: See TracChangeset for help on using the changeset viewer.

Sites map