diff options
author | rub <rub@piwigo.org> | 2006-12-07 23:49:52 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2006-12-07 23:49:52 +0000 |
commit | 92fc9abb14a2186806ed50322730caae54909f0f (patch) | |
tree | bf79cdf4981c9a4b4be83309081dc175f47de6be /template | |
parent | 961640b8d69f949bf2d57420ded7690c96599b58 (diff) |
Feature Issue ID 0000598:
Possibility to send HTML mail
git-svn-id: http://piwigo.org/svn/trunk@1642 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template')
-rw-r--r-- | template/yoga/mail/admin/index.php | 35 | ||||
-rw-r--r-- | template/yoga/mail/footer.tpl | 16 | ||||
-rw-r--r-- | template/yoga/mail/header.tpl | 10 | ||||
-rw-r--r-- | template/yoga/mail/index.php | 35 |
4 files changed, 96 insertions, 0 deletions
diff --git a/template/yoga/mail/admin/index.php b/template/yoga/mail/admin/index.php new file mode 100644 index 000000000..ad16c4524 --- /dev/null +++ b/template/yoga/mail/admin/index.php @@ -0,0 +1,35 @@ +<?php +// +-----------------------------------------------------------------------+ +// | PhpWebGallery - a PHP based picture gallery | +// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | +// | Copyright (C) 2003-2005 PhpWebGallery Team - http://phpwebgallery.net | +// +-----------------------------------------------------------------------+ +// | branch : BSF (Best So Far) +// | file : $RCSfile$ +// | last update : $Date: 2006-03-15 23:44:35 +0100 (mer., 15 mars 2006) $ +// | last modifier : $Author: plg $ +// | revision : $Revision: 1082 $ +// +-----------------------------------------------------------------------+ +// | This program is free software; you can redistribute it and/or modify | +// | it under the terms of the GNU General Public License as published by | +// | the Free Software Foundation | +// | | +// | This program is distributed in the hope that it will be useful, but | +// | WITHOUT ANY WARRANTY; without even the implied warranty of | +// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | +// | General Public License for more details. | +// | | +// | You should have received a copy of the GNU General Public License | +// | along with this program; if not, write to the Free Software | +// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | +// | USA. | +// +-----------------------------------------------------------------------+ + +// recursive call of index.php + +$url = '../index.php'; +header( 'Request-URI: '.$url ); +header( 'Content-Location: '.$url ); +header( 'Location: '.$url ); +exit(); +?> diff --git a/template/yoga/mail/footer.tpl b/template/yoga/mail/footer.tpl new file mode 100644 index 000000000..1110dacdf --- /dev/null +++ b/template/yoga/mail/footer.tpl @@ -0,0 +1,16 @@ +<div id="copyright">
+
+ <!-- Please, do not remove this copyright. If you really want to,
+ contact us on http://phpwebgallery.net to find a solution on how
+ to show the origin of the script...-->
+
+ {lang:powered_by} <a href="http://www.phpwebgallery.net" class="back">PhpWebGallery</a>
+ {VERSION}
+ - {lang:send_mail}
+ <a href="mailto:{contact.MAIL}?subject={L_TITLE_MAIL}">{lang:Webmaster}</a>
+
+</div> <!-- copyright -->
+</div> <!-- the_page -->
+
+</body>
+</html>
diff --git a/template/yoga/mail/header.tpl b/template/yoga/mail/header.tpl new file mode 100644 index 000000000..fee4d441c --- /dev/null +++ b/template/yoga/mail/header.tpl @@ -0,0 +1,10 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+"http://www.w3.org/TR/html4/strict.dtd">
+<html lang="{LANG}" dir="{DIR}">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset={CONTENT_ENCODING}">
+</head>
+
+<body id="{BODY_ID}">
+<div id="the_mail">
+
diff --git a/template/yoga/mail/index.php b/template/yoga/mail/index.php new file mode 100644 index 000000000..ad16c4524 --- /dev/null +++ b/template/yoga/mail/index.php @@ -0,0 +1,35 @@ +<?php +// +-----------------------------------------------------------------------+ +// | PhpWebGallery - a PHP based picture gallery | +// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | +// | Copyright (C) 2003-2005 PhpWebGallery Team - http://phpwebgallery.net | +// +-----------------------------------------------------------------------+ +// | branch : BSF (Best So Far) +// | file : $RCSfile$ +// | last update : $Date: 2006-03-15 23:44:35 +0100 (mer., 15 mars 2006) $ +// | last modifier : $Author: plg $ +// | revision : $Revision: 1082 $ +// +-----------------------------------------------------------------------+ +// | This program is free software; you can redistribute it and/or modify | +// | it under the terms of the GNU General Public License as published by | +// | the Free Software Foundation | +// | | +// | This program is distributed in the hope that it will be useful, but | +// | WITHOUT ANY WARRANTY; without even the implied warranty of | +// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | +// | General Public License for more details. | +// | | +// | You should have received a copy of the GNU General Public License | +// | along with this program; if not, write to the Free Software | +// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | +// | USA. | +// +-----------------------------------------------------------------------+ + +// recursive call of index.php + +$url = '../index.php'; +header( 'Request-URI: '.$url ); +header( 'Content-Location: '.$url ); +header( 'Location: '.$url ); +exit(); +?> |