Changeset 1797
- Timestamp:
- Feb 10, 2007, 6:43:11 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 4 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_mail.inc.php
r1792 r1797 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'); 233 } 234 209 235 // what are displayed on the header of each mail ? 210 236 $conf_mail[$email_format] -
trunk/template-common
- Property svn:ignore
-
old new 2 2 faviconx.mng 3 3 local-layout.css 4 local-layout-mail-css.tpl
-
- Property svn:ignore
-
trunk/template/yoga/mail/text/html
-
Property
svn:ignore
set to
local-layout-mail-css.tpl
-
Property
svn:ignore
set to
-
trunk/template/yoga/mail/text/html/default-layout-mail-css.tpl
r1796 r1797 1 1 /* $Id$ */ 2 /* Including like css style on HTML mail */ 2 3 3 BODY#theMailPage #content 4 { 5 margin: 2em; 6 text-align: left; 7 } 8 4 body{background-color:#fff;font-family: Univers, Helvetica, Optima;font-size:12px; margin:0px;padding:0px; color:#369;} 5 #the_page {background: #fff url({pwg_root}template/{themeconf:template}/mail/text/html/images/mailbody-bg.jpg) repeat-y scroll left top; 6 margin:0px;padding:0px;text-align: left;} 7 a {text-decoration: none} 8 #content {background: transparent url({pwg_root}template/{themeconf:template}/mail/text/html/images/header-bg.jpg) no-repeat scroll left top; 9 margin:0px;padding:82px 0px 0px 62px;} 10 hr {width:632px;margin-left:0px;} 11 #copyright {background: transparent url({pwg_root}template/{themeconf:template}/mail/text/html/images/footer-bg.jpg) no-repeat scroll left bottom; 12 color: #69c;font-size:10px;margin:0px;padding:98px 0px 62px 62px;} 13 .PWG {font-family: verdana, sans-serif !important; font-size: 0.9em; font-weight: normal; letter-spacing: 0px;} 14 a.PWG { border: 0px; } 15 a.PWG .P { color : #f92; } 16 a.PWG .W { color : #aaa; } 17 a.PWG .G { color : #69c; } 18 a.PWG:hover .P { color : #69c; } 19 a.PWG:hover .G { color : #f92; } -
trunk/template/yoga/mail/text/html/header.tpl
r1796 r1797 3 3 <html lang="{LANG}" dir="{DIR}"> 4 4 <head> 5 <title>PhpWebGallery Notication byMail</title>5 <title>PhpWebGallery Mail</title> 6 6 <meta http-equiv="Content-Type" content="text/html; charset={CONTENT_ENCODING}"> 7 8 <!--<link rel="stylesheet" type="text/css" href="{pwg_root}template/{themeconf:template}/mail/text/html/default-layout.css">--> 9 10 <style><!-- /* Notification mini style for mails */ 11 body{background-color:#fff;font-family: Univers, Helvetica, Optima;font-size:12px; margin:0px;padding:0px; color:#369;} 12 #the_page {background: #fff url({pwg_root}template/{themeconf:template}/mail/text/html/images/mailbody-bg.jpg) repeat-y scroll left top; 13 margin:0px;padding:0px;text-align: left;} 14 a {text-decoration: none} 15 #content {background: transparent url({pwg_root}template/{themeconf:template}/mail/text/html/images/header-bg.jpg) no-repeat scroll left top; 16 margin:0px;padding:82px 0px 0px 62px;} 17 hr {width:632px;margin-left:0px;} 18 #copyright {background: transparent url({pwg_root}template/{themeconf:template}/mail/text/html/images/footer-bg.jpg) no-repeat scroll left bottom; 19 color: #69c;font-size:10px;margin:0px;padding:98px 0px 62px 62px;} 20 .PWG {font-family: verdana, sans-serif !important; font-size: 0.9em; font-weight: normal; letter-spacing: 0px;} 21 a.PWG { border: 0px; } 22 a.PWG .P { color : #f92; } 23 a.PWG .W { color : #aaa; } 24 a.PWG .G { color : #69c; } 25 a.PWG:hover .P { color : #69c; } 26 a.PWG:hover .G { color : #f92; } 7 <style><!-- /* Mini style for mails */ 8 {MAIL_CSS_DEFAULT_TEMPLATE} 9 {MAIL_CSS_THEME} 10 {MAIL_CSS_LOCAL_TEMPLATE} 11 {MAIL_CSS_LOCAL_COMMON} 27 12 --></style> 28 13 </head>
Note: See TracChangeset
for help on using the changeset viewer.