aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/mail/text/html/header.tpl
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2013-11-05 19:23:29 +0000
committermistic100 <mistic@piwigo.org>2013-11-05 19:23:29 +0000
commit7a26038e66da9d958cc1cc439c904a6a7977428e (patch)
treee43193f0fa9592067b851125c0e918b58f47bc89 /themes/default/template/mail/text/html/header.tpl
parent4c0899f88937bebd56e24a3304b8586bc86b8f41 (diff)
feature 2965: apply new template on pwg_mail()
TODO : review other mail functions, configuration GUI git-svn-id: http://piwigo.org/svn/trunk@25344 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/default/template/mail/text/html/header.tpl')
-rw-r--r--themes/default/template/mail/text/html/header.tpl40
1 files changed, 28 insertions, 12 deletions
diff --git a/themes/default/template/mail/text/html/header.tpl b/themes/default/template/mail/text/html/header.tpl
index 9520bdb20..b98f5be18 100644
--- a/themes/default/template/mail/text/html/header.tpl
+++ b/themes/default/template/mail/text/html/header.tpl
@@ -1,13 +1,29 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="{$lang_info.code}" dir="{$lang_info.direction}">
-<head>
-<title>Piwigo Mail</title>
-<meta http-equiv="Content-Type" content="text/html; charset={$CONTENT_ENCODING}">
-<style><!-- /* Mini style for mails */
-{if isset($GLOBAL_MAIL_CSS)}{$GLOBAL_MAIL_CSS}{/if}
-{if isset($MAIL_CSS)}{$MAIL_CSS}{/if}
---></style>
-</head>
-<body>
-<div id="the_page">
-<div id="content" class="content">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset={$CONTENT_ENCODING}"/>
+ <title>Piwigo Mail</title>
+
+ <style type="text/css">
+ {if isset($GLOBAL_MAIL_CSS)}{$GLOBAL_MAIL_CSS}{/if}
+ {if isset($MAIL_CSS)}{$MAIL_CSS}{/if}
+ </style>
+ </head>
+
+ <body>
+ <table id="bodyTable" cellspacing="0" cellpadding="10" border="0">
+ <tr><td align="center" valign="top">
+
+ <table id="contentTable" cellspacing="0" cellpadding="0" border="0">
+ <tr><td id="header">
+ {* <!-- begin HEADER --> *}
+ <div id="title">{$MAIL_TITLE}</div>
+ {if not empty($MAIL_SUBTITLE)}<div id="subtitle">{$MAIL_SUBTITLE}</div>{/if}
+ {* <!-- end HEADER --> *}
+ </td></tr>
+
+ <tr><td id="content">
+{* <!-- use an invisible div with a bottom margin to force the browser
+to merge the margin with the element bellow (typically h1/h2/...) --> *}
+ <div id="topSpacer"></div>
+ {* <!-- begin CONTENT --> *} \ No newline at end of file