Changeset 27538 for trunk


Ignore:
Timestamp:
Mar 2, 2014, 2:21:01 PM (11 years ago)
Author:
Eric
Message:

bug 3051 fixed : Add missing render_category_name trigger in admin/album_notification.php

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/album_notification.php

    r26461 r27538  
    8484    $_POST['group'],
    8585    array(
    86       'subject' => l10n('[%s] Visit album %s', $conf['gallery_title'], $category['name']),
     86      'subject' => l10n('[%s] Visit album %s', $conf['gallery_title'], trigger_event('render_category_name', $category['name'], 'admin_cat_list')),
    8787      // TODO : change this language variable to 'Visit album %s'
    8888      // TODO : 'language_selected' => ....
     
    9292      'assign' => array(
    9393        'IMG_URL' => $img_url,
    94         'CAT_NAME' => $category['name'],
     94        'CAT_NAME' => trigger_event('render_category_name', $category['name'], 'admin_cat_list'),
    9595        'LINK' => make_index_url(array(
    9696            'category' => array(
    9797              'id' => $category['id'],
    98               'name' => $category['name'],
     98              'name' => trigger_event('render_category_name', $category['name'], 'admin_cat_list'),
    9999              'permalink' => $category['permalink']
    100100              )
Note: See TracChangeset for help on using the changeset viewer.