diff options
Diffstat (limited to 'template/yoga/mail/text/html')
-rw-r--r-- | template/yoga/mail/text/html/admin/notification_by_mail.tpl | 7 | ||||
-rw-r--r-- | template/yoga/mail/text/html/default-layout.css | 8 | ||||
-rw-r--r-- | template/yoga/mail/text/html/footer.tpl | 1 | ||||
-rw-r--r-- | template/yoga/mail/text/html/header.tpl | 20 |
4 files changed, 32 insertions, 4 deletions
diff --git a/template/yoga/mail/text/html/admin/notification_by_mail.tpl b/template/yoga/mail/text/html/admin/notification_by_mail.tpl index 9af59551d..d3c6cc796 100644 --- a/template/yoga/mail/text/html/admin/notification_by_mail.tpl +++ b/template/yoga/mail/text/html/admin/notification_by_mail.tpl @@ -1,4 +1,5 @@ <div id="nbm_mail_content">
+<h2>{lang:Notification}</h2>
<p>{lang:nbm_content_hello_1}{USERNAME}{lang:nbm_content_hello_2}</p>
<!-- BEGIN subscribe_by_admin -->
@@ -42,11 +43,13 @@ <hr><br/>
</p>
<!-- BEGIN recent_post -->
-<p>
+</div>
+</div>
+<div id="content">
+<div id="nbm_mail_recent_post">
<!-- BEGIN recent_post_block -->
<h2>{recent_post.recent_post_block.TITLE}</h2>
{recent_post.recent_post_block.HTML_DATA}
<!-- END recent_post_block -->
-</p>
<!-- END recent_post -->
</div>
diff --git a/template/yoga/mail/text/html/default-layout.css b/template/yoga/mail/text/html/default-layout.css new file mode 100644 index 000000000..d415a371f --- /dev/null +++ b/template/yoga/mail/text/html/default-layout.css @@ -0,0 +1,8 @@ +/* $Id$ */
+
+BODY#theMailPage #content
+{
+ margin: 2em;
+ text-align: left;
+}
+
diff --git a/template/yoga/mail/text/html/footer.tpl b/template/yoga/mail/text/html/footer.tpl index ac0d2784f..1e85a6a5d 100644 --- a/template/yoga/mail/text/html/footer.tpl +++ b/template/yoga/mail/text/html/footer.tpl @@ -1,3 +1,4 @@ +</div> <!-- content -->
<div id="copyright">
<HR>
<!-- Please, do not remove this copyright. If you really want to,
diff --git a/template/yoga/mail/text/html/header.tpl b/template/yoga/mail/text/html/header.tpl index fee4d441c..0d96da406 100644 --- a/template/yoga/mail/text/html/header.tpl +++ b/template/yoga/mail/text/html/header.tpl @@ -5,6 +5,22 @@ <meta http-equiv="Content-Type" content="text/html; charset={CONTENT_ENCODING}">
</head>
-<body id="{BODY_ID}">
-<div id="the_mail">
+<link rel="stylesheet" type="text/css" href="{pwg_root}template/{themeconf:template}/layout.css">
+<link rel="stylesheet" type="text/css" href="{pwg_root}template/{themeconf:template}/mail/text/html/default-layout.css">
+<!-- the next css is used to fix khtml (Konqueror/Safari) issue
+the "text/nonsense" prevents gecko based browsers to load it -->
+<link rel="stylesheet" type="text/nonsense" href="{pwg_root}template/{themeconf:template}/fix-khtml.css">
+<!--[if lt IE 7]>
+ <link rel="stylesheet" type="text/css" href="{pwg_root}template/{themeconf:template}/fix-ie5-ie6.css">
+<![endif]-->
+<!--[if gt IE 6]>
+ <link rel="stylesheet" type="text/css" href="{pwg_root}template/{themeconf:template}/fix-ie7.css">
+<![endif]-->
+<link rel="stylesheet" type="text/css" media="print" href="{pwg_root}template/{themeconf:template}/print.css">
+<link rel="stylesheet" type="text/css" href="{pwg_root}template/{themeconf:template}/default-colors.css">
+<link rel="stylesheet" type="text/css" href="{pwg_root}template/{themeconf:template}/theme/{themeconf:theme}/theme.css">
+
+<body id="theMailPage">
+<div id="the_page">
+<div id="content">
|