Changeset 1915 for trunk/include/functions_mail.inc.php
- Timestamp:
- Mar 16, 2007, 7:49:19 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_mail.inc.php
r1914 r1915 328 328 * - email_format: mail format 329 329 * - keyargs_subject: mail subject on l10n_args format 330 * - dirname: short name of directory including template 330 331 * - tpl_shortname: short template name without extension 331 332 * - assign_vars: array used to assign_vars to mail template … … 336 337 function pwg_mail_group( 337 338 $group_id, $email_format, $keyargs_subject, 338 $tpl_shortname, $assign_vars = array(), $language_selected = '') 339 $dirname, $tpl_shortname, 340 $assign_vars = array(), $language_selected = '') 339 341 { 340 342 global $conf; … … 408 410 $mail_template = get_mail_template($email_format, $elem); 409 411 $mail_template->set_filename($tpl_shortname, 410 ( IN_ADMIN ? 'admin/' : '').$tpl_shortname.'.tpl');412 (empty($dirname) ? '' : $dirname.'/').$tpl_shortname.'.tpl'); 411 413 $mail_template->assign_vars($assign_vars); 412 414
Note: See TracChangeset
for help on using the changeset viewer.