aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/mail/text/html
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-02-08 22:04:36 +0000
committerrub <rub@piwigo.org>2007-02-08 22:04:36 +0000
commit5b038de71715c8ec006abffe9d23c4172b71d0ba (patch)
tree8ca826e68a35ea386b3831cf30a0fb1eb9632efe /template/yoga/mail/text/html
parent1f53608976250806d9a37f93e386f53a84aedbbc (diff)
Issue 0000639: Force selected page on index.php
Continue the Radu idea, restrict more use of random list Issue 0000598: NBM: Add new informations Add css on mail Use user template for mail (on next commit, best control) Comment mass_inserts because don't with MySQL 4.1.9 git-svn-id: http://piwigo.org/svn/trunk@1792 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/mail/text/html')
-rw-r--r--template/yoga/mail/text/html/admin/notification_by_mail.tpl7
-rw-r--r--template/yoga/mail/text/html/default-layout.css8
-rw-r--r--template/yoga/mail/text/html/footer.tpl1
-rw-r--r--template/yoga/mail/text/html/header.tpl20
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">