Ignore:
Timestamp:
Mar 13, 2010, 2:19:57 AM (14 years ago)
Author:
patdenice
Message:

Feature 1502
Move mail images.
Change image path in mail-css files.
Remove local css file for NBM.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_mail.inc.php

    r5123 r5125  
    655655      if ($content_type == 'text/html')
    656656      {
    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'))
    659658        {
    660659          $conf_mail[$cache_key]['theme']->set_filename('css', 'global-mail-css.tpl');
    661660          $conf_mail[$cache_key]['theme']->assign_var_from_handle('GLOBAL_MAIL_CSS', 'css');
    662661        }
    663         */
    664662
    665663        $file = PHPWG_ROOT_PATH.'themes/'.$args['theme'].'/mail-css.tpl';
     
    669667          $conf_mail[$cache_key]['theme']->assign_var_from_handle('MAIL_CSS', 'css');
    670668        }
    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         */
    679669      }
    680670
Note: See TracChangeset for help on using the changeset viewer.