Changeset 5125 for trunk/include/functions_mail.inc.php
- Timestamp:
- Mar 13, 2010, 2:19:57 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_mail.inc.php
r5123 r5125 655 655 if ($content_type == 'text/html') 656 656 { 657 /* 658 if (is_file($conf_mail[$cache_key]['theme']->get_template_dir().'/global-mail-css.tpl')) 657 if ($conf_mail[$cache_key]['theme']->smarty->template_exists('global-mail-css.tpl')) 659 658 { 660 659 $conf_mail[$cache_key]['theme']->set_filename('css', 'global-mail-css.tpl'); 661 660 $conf_mail[$cache_key]['theme']->assign_var_from_handle('GLOBAL_MAIL_CSS', 'css'); 662 661 } 663 */664 662 665 663 $file = PHPWG_ROOT_PATH.'themes/'.$args['theme'].'/mail-css.tpl'; … … 669 667 $conf_mail[$cache_key]['theme']->assign_var_from_handle('MAIL_CSS', 'css'); 670 668 } 671 /*672 $file = $root_abs_path.'/template-common/local-mail-css.tpl';673 if (is_file($file))674 {675 $conf_mail[$cache_key]['template']->set_filename('css', $file);676 $conf_mail[$cache_key]['template']->assign_var_from_handle('LOCAL_MAIL_CSS', 'css');677 }678 */679 669 } 680 670
Note: See TracChangeset
for help on using the changeset viewer.