Ignore:
Timestamp:
Mar 13, 2010, 1:00:52 AM (15 years ago)
Author:
plg
Message:

feature 1502: based on Dotclear model, P@t has reorganized the way Piwigo
manages template/theme in a simpler "theme only level" architecture. It
supports multiple level inheritance.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/functions_notification_by_mail.inc.php

    r5036 r5123  
    257257  if ($is_action_send)
    258258  {
    259     $nbm_user['template'] = $user['template'];
    260259    $nbm_user['theme'] = $user['theme'];
    261     $env_nbm['mail_template'] =
    262       get_mail_template($env_nbm['email_format'],
    263         array('template' => $nbm_user['template'], 'theme' => $nbm_user['theme']));
     260    $env_nbm['mail_template'] = get_mail_template($env_nbm['email_format'], $nbm_user['theme']);
    264261    $env_nbm['mail_template']->set_filename('notification_by_mail', 'notification_by_mail.tpl');
    265262  }
     
    436433                'content' => $env_nbm['mail_template']->parse('notification_by_mail', true),
    437434                'content_format' => $env_nbm['email_format'],
    438                 'template' => $nbm_user['template'],
    439435                'theme' => $nbm_user['theme']
    440436              )
Note: See TracChangeset for help on using the changeset viewer.