Changeset 1547:22dcc292b34d for admin
- Timestamp:
- 08/23/13 16:28:43 (11 years ago)
- Branch:
- default
- Location:
- admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/categories.php
r1534 r1547 172 172 ' (<a href="posts.php?cat_id='.$rs->cat_id.'">'. 173 173 sprintf(($rs->nb_post > 1 ? __('%d entries') : __('%d entry') ),$rs->nb_post).'</a>'. 174 ', '.__('total:').' '.$rs->nb_total.') </p>'.175 '<p>'.__('URL:').' '.html::escapeHTML($rs->cat_url).'</p>';174 ', '.__('total:').' '.$rs->nb_total.') '. 175 __('URL:').' <code>'.html::escapeHTML($rs->cat_url).'</code></p>'; 176 176 177 177 $level = $rs->level; … … 188 188 '<div class="two-cols">'. 189 189 '<p class="col checkboxes-helpers"></p>'. 190 '<p class="col right"><label for="mov_cat">'.__('And choose the category which will receive its entries:').'</label> '. 191 form::combo('mov_cat',array_merge(array(__('(No cat)') => ''),$categories_combo),'','maximal').'</p> '. 192 '<p class="col right"><label for="action" class="classic">'.__('Selected categories action:').'</label> '. 193 form::combo('action',$combo_action). 190 '<div class="col right">'. 191 '<p class="cat-actions"><label for="action" class="classic">'.__('Selected categories action:').'</label> '. 192 form::combo('action',$combo_action).' '. 193 '<span id="mov-cat"><label for="mov_cat">'.__('Choose the category which will receive its entries:').'</label> '. 194 form::combo('mov_cat',array_merge(array(__('(No cat)') => ''),$categories_combo),'','').' </span>'. 194 195 $core->formNonce(). 195 '<input type="submit" value="'.__('ok').'" /></p>'. 196 '<input type="submit" value="'.__('OK').'" /></p>'. 197 '</div>'. 196 198 '</div>'. 197 199 '</form>'; … … 202 204 '<h3>'.__('Categories order').'</h3>'. 203 205 '<form action="categories.php" method="post" id="reset-order">'. 204 '<!-- <p>'.__('This will relocate all categories on the top level').'</p> -->'.205 206 '<p><input type="submit" value="'.__('Reorder all categories on the top level').'" />'. 206 207 form::hidden(array('reset'),1). -
admin/js/_categories.js
r1532 r1547 20 20 $('#mov_cat').parent().hide(); 21 21 $('input[name="categories[]"]').click(function() { 22 $('#mov_cat').parent().parent().removeClass('two-cols').addClass('three-cols');23 22 $('#mov_cat').parent().show(); 24 23 }); -
admin/style/default.css
r1534 r1547 612 612 #categories li { 613 613 margin: .5em 0; 614 padding: . 3em 1.5em;614 padding: .5em 1.2em; 615 615 border: 1px solid #ccc; 616 border-left: 1em solid #E5E3DA; 617 border-radius: .3em; 618 } 616 border-left: 8px solid #E5E3DA; 617 border-radius: 3px; 618 } 619 #categories input[type="checkbox"] { 620 margin-right: .8em; 621 } 619 622 #categories h4 { 620 623 margin: 0; 624 } 625 #categories label a { 626 font-weight: bold; 621 627 } 622 628 #categories h4 span { … … 625 631 #categories li p { 626 632 margin: 0; 633 } 634 .cat-actions { 635 line-height: 2; 627 636 } 628 637 select#del_cat {
Note: See TracChangeset
for help on using the changeset viewer.