- Timestamp:
- Feb 11, 2007, 1:43:53 AM (18 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_mail.inc.php
r1797 r1803 207 207 )); 208 208 209 $mail_template->set_filename('mail_css_default_template', 'default-layout-mail-css.tpl'); 210 $mail_template->assign_var_from_handle('MAIL_CSS_DEFAULT_TEMPLATE', 'mail_css_default_template'); 211 212 $old_root = $mail_template->root; 213 214 $mail_template->root = PHPWG_ROOT_PATH.'template/'.$user['template'].'/theme/'.$user['theme']; 215 if (is_file($mail_template->root.'/layout-mail-css.tpl')) 216 { 217 $mail_template->set_filename('mail_css_theme', 'layout-mail-css.tpl'); 218 $mail_template->assign_var_from_handle('MAIL_CSS_THEME', 'mail_css_theme'); 219 } 220 221 $mail_template->root = PHPWG_ROOT_PATH.'template-common'; 222 if (is_file($mail_template->root.'/local-layout-mail-css.tpl')) 223 { 224 $mail_template->set_filename('mail_css_local_template', 'local-layout-mail-css.tpl'); 225 $mail_template->assign_var_from_handle('MAIL_CSS_LOCAL_COMMON', 'mail_css_local_template'); 226 } 227 228 $mail_template->root = $old_root; 229 if (is_file($mail_template->root.'/local-layout-mail-css.tpl')) 230 { 231 $mail_template->set_filename('mail_css_local_template', 'local-layout-mail-css.tpl'); 232 $mail_template->assign_var_from_handle('MAIL_CSS_LOCAL_TEMPLATE', 'mail_css_local_template'); 209 if ($email_format == 'text/html') 210 { 211 if (is_file($mail_template->root.'/default-layout-mail-css.tpl')) 212 { 213 $mail_template->set_filename('mail_css_default_template', 'default-layout-mail-css.tpl'); 214 $mail_template->assign_var_from_handle('MAIL_CSS_DEFAULT_TEMPLATE', 'mail_css_default_template'); 215 } 216 217 $old_root = $mail_template->root; 218 219 $mail_template->root = PHPWG_ROOT_PATH.'template/'.$user['template'].'/theme/'.$user['theme']; 220 if (is_file($mail_template->root.'/layout-mail-css.tpl')) 221 { 222 $mail_template->set_filename('mail_css_theme', 'layout-mail-css.tpl'); 223 $mail_template->assign_var_from_handle('MAIL_CSS_THEME', 'mail_css_theme'); 224 } 225 226 $mail_template->root = PHPWG_ROOT_PATH.'template-common'; 227 if (is_file($mail_template->root.'/local-layout-mail-css.tpl')) 228 { 229 $mail_template->set_filename('mail_css_local_template', 'local-layout-mail-css.tpl'); 230 $mail_template->assign_var_from_handle('MAIL_CSS_LOCAL_COMMON', 'mail_css_local_template'); 231 } 232 233 $mail_template->root = $old_root; 234 if (is_file($mail_template->root.'/local-layout-mail-css.tpl')) 235 { 236 $mail_template->set_filename('mail_css_local_template', 'local-layout-mail-css.tpl'); 237 $mail_template->assign_var_from_handle('MAIL_CSS_LOCAL_TEMPLATE', 'mail_css_local_template'); 238 } 233 239 } 234 240 -
trunk/language/en_UK.iso-8859-1/admin.lang.php
r1784 r1803 288 288 $lang['nbm_content_new_elements_between_1'] = 'between '; 289 289 $lang['nbm_content_new_elements_between_2'] = ' and '; 290 $lang['nbm_content_subscribe_by_admin'] = 'The webmaster has subcribed you for receiving notifications by mail ';291 $lang['nbm_content_subscribe_by_himself'] = 'You have subcribed to receiving notifications by mail ';290 $lang['nbm_content_subscribe_by_admin'] = 'The webmaster has subcribed you for receiving notifications by mail.'; 291 $lang['nbm_content_subscribe_by_himself'] = 'You have subcribed to receiving notifications by mail.'; 292 292 $lang['nbm_content_subscribe_link'] = 'To subscribe'; 293 293 $lang['nbm_content_problem_contact'] = 'If you encounter problems or have any question, please send a message to '; 294 294 $lang['nbm_content_pb_contact_object'] = '[NBM] Problems or questions'; 295 $lang['nbm_content_unsubscribe_by_admin'] = 'The webmaster has unsubcribed you from receiving notifications by mail ';296 $lang['nbm_content_unsubscribe_by_himself'] = 'You have unsubcribed from receiving notifications by mail ';295 $lang['nbm_content_unsubscribe_by_admin'] = 'The webmaster has unsubcribed you from receiving notifications by mail.'; 296 $lang['nbm_content_unsubscribe_by_himself'] = 'You have unsubcribed from receiving notifications by mail.'; 297 297 $lang['nbm_content_click_on'] = ', click on '; 298 298 $lang['nbm_content_unsubscribe_link'] = 'To unsubscribe';
Note: See TracChangeset
for help on using the changeset viewer.