Dotclear


Ignore:
Timestamp:
08/23/13 16:28:43 (12 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

Categories page: work in progress with nikrou

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/categories.php

    r1534 r1547  
    172172          ' (<a href="posts.php?cat_id='.$rs->cat_id.'">'. 
    173173          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>'; 
    176176 
    177177          $level = $rs->level; 
     
    188188           '<div class="two-cols">'. 
    189189           '<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>'. 
    194195           $core->formNonce(). 
    195            '<input type="submit" value="'.__('ok').'" /></p>'. 
     196           '<input type="submit" value="'.__('OK').'" /></p>'. 
     197           '</div>'. 
    196198           '</div>'. 
    197199           '</form>'; 
     
    202204     '<h3>'.__('Categories order').'</h3>'. 
    203205     '<form action="categories.php" method="post" id="reset-order">'. 
    204      '<!-- <p>'.__('This will relocate all categories on the top level').'</p> -->'. 
    205206     '<p><input type="submit" value="'.__('Reorder all categories on the top level').'" />'. 
    206207     form::hidden(array('reset'),1). 
Note: See TracChangeset for help on using the changeset viewer.

Sites map