Changeset 4902 for branches/2.0


Ignore:
Timestamp:
Feb 17, 2010, 5:15:41 PM (14 years ago)
Author:
plg
Message:

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
  • branches/2.0/include/ws_functions.inc.php

    r4899 r4902  
    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.