Ignore:
Timestamp:
02/17/10 17:15:56 (10 years ago)
Author:
plg
Message:

merge r4902 from branch 2.0 to trunk

bug 1423 fixed: support for ExtendedDescription (and all the ones using the
"render_category_name" event) in category names.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/ws_functions.inc.php

    r4900 r4903  
    428428    } 
    429429 
     430    $row['name'] = strip_tags( 
     431      trigger_event( 
     432        'render_category_name', 
     433        $row['name'], 
     434        'ws_categories_getList' 
     435        ) 
     436      ); 
     437     
    430438    array_push($cats, $row); 
    431439  } 
     
    486494    $id = $row['id']; 
    487495    $row['nb_images'] = isset($nb_images_of[$id]) ? $nb_images_of[$id] : 0; 
     496    $row['name'] = strip_tags( 
     497      trigger_event( 
     498        'render_category_name', 
     499        $row['name'], 
     500        'ws_categories_getAdminList' 
     501        ) 
     502      ); 
    488503    array_push($cats, $row); 
    489504  } 
Note: See TracChangeset for help on using the changeset viewer.