Dotclear

Changeset 3011:bdf708026a1c for inc


Ignore:
Timestamp:
06/11/15 20:09:51 (10 years ago)
Author:
Anne-Sophie Tranchet <as.tranchet@…>
Branch:
bullet-in-categories-combo
Children:
3012:f7e909b4cb59, 3659:974f451868a6
Message:

Add bullets to categories combo list

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/lib.admincombos.php

    r2679 r3011  
    3737          while ($categories->fetch()) { 
    3838               $categories_combo[] = new formSelectOption ( 
    39                     html::escapeHTML($categories->cat_title).' ('.$categories->nb_post.')', 
     39                    str_repeat('&nbsp;&nbsp;',$categories->level-1).($categories->level-1 == 0 ? '' : '&bull; ').html::escapeHTML($categories->cat_title).' ('.$categories->nb_post.')', 
    4040                    ($use_url ? $categories->cat_url : $categories->cat_id), 
    4141                    ($categories->level-1 ? 'sub-option'.($categories->level-1) : '') 
Note: See TracChangeset for help on using the changeset viewer.

Sites map