Dotclear


Ignore:
Timestamp:
05/12/11 19:42:11 (14 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/index.php

    r217 r252  
    292292               while ($categories->fetch()) { 
    293293                    $categories_combo[] = new formSelectOption( 
    294                          str_repeat('&nbsp;&nbsp;',$categories->level-1).'&bull; '.html::escapeHTML($categories->cat_title), 
     294                         str_repeat('&nbsp;&nbsp;',$categories->level-1). 
     295                         ($categories->level-1 == 0 ? '' : '&bull; ').html::escapeHTML($categories->cat_title), 
    295296                         $categories->cat_id 
    296297                    ); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map