From e517cfad640d7697eb021cb698e5958f154f908b Mon Sep 17 00:00:00 2001 From: rub Date: Tue, 6 Feb 2007 22:55:12 +0000 Subject: Issue 0000598: NBM: Add new informations Notification by mail: Add new informations about last categories and last images like new feature of RSS notification. 2 parts: - Possibility to send HTML mail - Include last categories and last images on HTML format into notification mail ccs & HTML experts! Please! Check, fix, improve and enhance HTML mail content! git-svn-id: http://piwigo.org/svn/trunk@1784 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/yoga/admin/notification_by_mail.tpl | 25 ++++++++++++++++---- template/yoga/mail/admin/index.php | 35 ---------------------------- template/yoga/mail/footer.tpl | 18 -------------- template/yoga/mail/header.tpl | 10 -------- template/yoga/mail/index.php | 2 +- template/yoga/mail/text/html/footer.tpl | 18 ++++++++++++++ template/yoga/mail/text/html/header.tpl | 10 ++++++++ template/yoga/mail/text/html/index.php | 35 ++++++++++++++++++++++++++++ template/yoga/mail/text/index.php | 35 ++++++++++++++++++++++++++++ template/yoga/mail/text/plain/footer.tpl | 3 +++ template/yoga/mail/text/plain/header.tpl | 1 + template/yoga/mail/text/plain/index.php | 35 ++++++++++++++++++++++++++++ 12 files changed, 159 insertions(+), 68 deletions(-) delete mode 100644 template/yoga/mail/admin/index.php delete mode 100644 template/yoga/mail/footer.tpl delete mode 100644 template/yoga/mail/header.tpl create mode 100644 template/yoga/mail/text/html/footer.tpl create mode 100644 template/yoga/mail/text/html/header.tpl create mode 100644 template/yoga/mail/text/html/index.php create mode 100644 template/yoga/mail/text/index.php create mode 100644 template/yoga/mail/text/plain/footer.tpl create mode 100644 template/yoga/mail/text/plain/header.tpl create mode 100644 template/yoga/mail/text/plain/index.php (limited to 'template/yoga') diff --git a/template/yoga/admin/notification_by_mail.tpl b/template/yoga/admin/notification_by_mail.tpl index 620f8a8dc..da61bcdfb 100644 --- a/template/yoga/admin/notification_by_mail.tpl +++ b/template/yoga/admin/notification_by_mail.tpl @@ -26,6 +26,13 @@
{lang:nbm_title_param} + + + + - - + + - + + + + +
+ + +
@@ -33,17 +40,27 @@
+ +
{lang:nbm_info_send_recent_post_dates} +
+ + +
@@ -98,7 +115,7 @@ {lang:nbm_send_options} - +
diff --git a/template/yoga/mail/admin/index.php b/template/yoga/mail/admin/index.php deleted file mode 100644 index ad16c4524..000000000 --- a/template/yoga/mail/admin/index.php +++ /dev/null @@ -1,35 +0,0 @@ - diff --git a/template/yoga/mail/footer.tpl b/template/yoga/mail/footer.tpl deleted file mode 100644 index 22076068a..000000000 --- a/template/yoga/mail/footer.tpl +++ /dev/null @@ -1,18 +0,0 @@ - - - - - diff --git a/template/yoga/mail/header.tpl b/template/yoga/mail/header.tpl deleted file mode 100644 index fee4d441c..000000000 --- a/template/yoga/mail/header.tpl +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - -
- diff --git a/template/yoga/mail/index.php b/template/yoga/mail/index.php index ad16c4524..871f06a8e 100644 --- a/template/yoga/mail/index.php +++ b/template/yoga/mail/index.php @@ -2,7 +2,7 @@ // +-----------------------------------------------------------------------+ // | 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 | +// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | // +-----------------------------------------------------------------------+ // | branch : BSF (Best So Far) // | file : $RCSfile$ diff --git a/template/yoga/mail/text/html/footer.tpl b/template/yoga/mail/text/html/footer.tpl new file mode 100644 index 000000000..ac0d2784f --- /dev/null +++ b/template/yoga/mail/text/html/footer.tpl @@ -0,0 +1,18 @@ + +
+ + + diff --git a/template/yoga/mail/text/html/header.tpl b/template/yoga/mail/text/html/header.tpl new file mode 100644 index 000000000..fee4d441c --- /dev/null +++ b/template/yoga/mail/text/html/header.tpl @@ -0,0 +1,10 @@ + + + + + + + +
+ diff --git a/template/yoga/mail/text/html/index.php b/template/yoga/mail/text/html/index.php new file mode 100644 index 000000000..871f06a8e --- /dev/null +++ b/template/yoga/mail/text/html/index.php @@ -0,0 +1,35 @@ + diff --git a/template/yoga/mail/text/index.php b/template/yoga/mail/text/index.php new file mode 100644 index 000000000..871f06a8e --- /dev/null +++ b/template/yoga/mail/text/index.php @@ -0,0 +1,35 @@ + diff --git a/template/yoga/mail/text/plain/footer.tpl b/template/yoga/mail/text/plain/footer.tpl new file mode 100644 index 000000000..7d97bba50 --- /dev/null +++ b/template/yoga/mail/text/plain/footer.tpl @@ -0,0 +1,3 @@ + +------------------------ +PhpWebGallery {VERSION} diff --git a/template/yoga/mail/text/plain/header.tpl b/template/yoga/mail/text/plain/header.tpl new file mode 100644 index 000000000..fec68b422 --- /dev/null +++ b/template/yoga/mail/text/plain/header.tpl @@ -0,0 +1 @@ +{FAKE_SIMULATE_EMPTY_FILE} \ No newline at end of file diff --git a/template/yoga/mail/text/plain/index.php b/template/yoga/mail/text/plain/index.php new file mode 100644 index 000000000..871f06a8e --- /dev/null +++ b/template/yoga/mail/text/plain/index.php @@ -0,0 +1,35 @@ + -- cgit v1.2.3