Dotclear


Ignore:
Timestamp:
05/07/11 11:45:54 (13 years ago)
Author:
Franck <carnet.franck.paul@…>
Branch:
default
Children:
203:7d4b71c7c72f, 204:2f0d3ac4c859
Message:

Partial fix of ticket #656 (http://dev.dotclear.org/2.0/ticket/656) : first-level categories have no more bullet defore their names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/post.php

    r197 r202  
    5858     while ($categories->fetch()) { 
    5959          $categories_combo[] = new formSelectOption( 
    60                str_repeat('&nbsp;&nbsp;',$categories->level-1).'&bull; '.html::escapeHTML($categories->cat_title), 
     60               str_repeat('&nbsp;&nbsp;',$categories->level-1).($categories->level-1 == 0 ? '' : '&bull; ').html::escapeHTML($categories->cat_title), 
    6161               $categories->cat_id 
    6262          ); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map