diff options
Diffstat (limited to 'themes/default/template/mail/text/html/header.tpl')
-rw-r--r-- | themes/default/template/mail/text/html/header.tpl | 40 |
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 |