Dotclear


Ignore:
Timestamp:
05/12/11 19:42:11 (13 years ago)
Author:
Franck <carnet.franck.paul@…>
Branch:
default
Message:

Suppression des puces surnuméraires dans les listes de catégories (le premier niveau de catégorie n'a plus de puce en préfixe)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/posts_actions.php

    r217 r252  
    216216          while ($categories->fetch()) { 
    217217               $categories_combo[] = new formSelectOption( 
    218                     str_repeat('&nbsp;&nbsp;',$categories->level-1).'&bull; '.html::escapeHTML($categories->cat_title), 
     218                    str_repeat('&nbsp;&nbsp;',$categories->level-1). 
     219                    ($categories->level-1 == 0 ? '' : '&bull; ').html::escapeHTML($categories->cat_title), 
    219220                    $categories->cat_id 
    220221               ); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map