Ignore:
Timestamp:
Jan 10, 2012, 4:31:09 PM (12 years ago)
Author:
patdenice
Message:

merge r12870 from trunk to branch 2.3
feature:2552
Apply trigger render_element_description for thumbnail title (for picture description)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.3/include/functions.inc.php

    r12540 r12871  
    821821  if (!empty($info['comment']))
    822822  {
    823     $title.= ' '.substr($info['comment'], 0, 100).'...';
     823    $info['comment'] = trigger_event('render_element_description', $info['comment']);
     824    $title.= ' '.substr($info['comment'], 0, 100).(strlen($info['comment']) > 100 ? '...' : '');
    824825  }
    825826
Note: See TracChangeset for help on using the changeset viewer.