Dotclear


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

Cope with new categories combo generation, fixes #1737

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/simpleMenu/index.php

    r2120 r2154  
    2525$categories_label = array(); 
    2626$rs = $core->blog->getCategories(array('post_type'=>'post')); 
    27 $categories_combo = dcAdminCombos::getCategoriesCombo($rs,false); 
    28  
     27$categories_combo = dcAdminCombos::getCategoriesCombo($rs,false,true); 
    2928$rs->moveStart(); 
    3029while ($rs->fetch()) { 
    31      $categories_label[$rs->cat_id] = html::escapeHTML($rs->cat_title); 
    32 } 
     30     $categories_label[$rs->cat_url] = html::escapeHTML($rs->cat_title); 
     31} 
     32 
    3333# Liste des langues utilisées 
    3434$langs_combo = dcAdminCombos::getLangscombo( 
Note: See TracChangeset for help on using the changeset viewer.

Sites map