From ae974849bc5a2b2289e264c5166cfcae3a360450 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Thu, 7 Nov 2013 15:30:59 +0000 Subject: feature 2995 and feature 2997 change organization of configuration page add theme parameter on GUI change links color of dark mail theme (pink) remove main themes css files git-svn-id: http://piwigo.org/svn/trunk@25372 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/config_default.inc.php | 3 --- include/functions_mail.inc.php | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/config_default.inc.php b/include/config_default.inc.php index 2ecfd226b..b0a42d4ae 100644 --- a/include/config_default.inc.php +++ b/include/config_default.inc.php @@ -287,9 +287,6 @@ $conf['mail_sender_email'] = ''; // set true to allow text/html emails $conf['mail_allow_html'] = true; -// 'clear' or 'dark' -$conf['mail_theme'] = 'clear'; - // smtp configuration (work if fsockopen function is allowed for smtp port) // smtp_host: smtp server host // if null, regular mail function is used diff --git a/include/functions_mail.inc.php b/include/functions_mail.inc.php index 443a9b4e1..d6f7ea632 100644 --- a/include/functions_mail.inc.php +++ b/include/functions_mail.inc.php @@ -680,8 +680,8 @@ function pwg_mail($to, $args=array(), $tpl=array()) { if ($template->smarty->template_exists('global-mail-css.tpl')) { - $template->set_filename('css', 'global-mail-css.tpl'); - $template->assign_var_from_handle('GLOBAL_MAIL_CSS', 'css'); + $template->set_filename('global-css', 'global-mail-css.tpl'); + $template->assign_var_from_handle('GLOBAL_MAIL_CSS', 'global-css'); } if ($template->smarty->template_exists('mail-css-'. $args['theme'] .'.tpl')) -- cgit v1.2.3