From 8d96801f4b8b4f8f117f7ebe9b8ea23983444bca Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch> Date: Tue, 8 Oct 2024 17:07:01 +0200 Subject: [PATCH] update doc headers --- classes/emailcatcher.class.php | 14 ++++++++++++++ php-sendmail.php | 14 ++++++++++++++ viewer.css | 25 ++++++++++++++----------- viewer.php | 15 ++++++++++++++- 4 files changed, 56 insertions(+), 12 deletions(-) diff --git a/classes/emailcatcher.class.php b/classes/emailcatcher.class.php index 739376f..ba87f26 100644 --- a/classes/emailcatcher.class.php +++ b/classes/emailcatcher.class.php @@ -1,4 +1,18 @@ <?php +/** + * ======================================================================= + * + * PHP EMAIL CATCHER + * Read emails sent by mail() and browse them + * + * 👤 Author: Axel Hahn, Institute for Medical Education, University of Bern + * 📄 Source: <https://git-repo.iml.unibe.ch/iml-open-source/php-emailcatcher> + * 📜 License: GNU GPL 3.0 + * + * ---------------------------------------------------------------------- + * 2024-10-08 v0.1 initial version + * ======================================================================= + */ class emailcatcher { diff --git a/php-sendmail.php b/php-sendmail.php index b651030..ed2dc5b 100755 --- a/php-sendmail.php +++ b/php-sendmail.php @@ -1,5 +1,19 @@ #!/usr/local/bin/php -q <?php +/** + * ======================================================================= + * + * PHP EMAIL CATCHER + * Read emails sent by mail() and browse them + * + * 👤 Author: Axel Hahn, Institute for Medical Education, University of Bern + * 📄 Source: <https://git-repo.iml.unibe.ch/iml-open-source/php-emailcatcher> + * 📜 License: GNU GPL 3.0 + * + * ---------------------------------------------------------------------- + * 2024-10-08 v0.1 initial version + * ======================================================================= + */ require_once('classes/emailcatcher.class.php'); diff --git a/viewer.css b/viewer.css index 5e03079..fefa78c 100644 --- a/viewer.css +++ b/viewer.css @@ -38,6 +38,19 @@ footer{ padding: 1em; opacity: 0.6; } + +h1{ + background-color: #ebb; + background: linear-gradient(to right, #9be, #fcc); + margin: 0; + padding-left: 0.5em; + border-bottom: 4px solid rgba(0,0,0,0.05); +} +h1 a{ + color:#424; + text-decoration: none; +} + pre{ background-color: #e8ecec; overflow: scroll; @@ -63,17 +76,7 @@ pre{ float: right; } -h1{ - background-color: #ebb; - background: linear-gradient(to right, #9be, #fcc); - margin: 0; - padding-left: 0.5em; - border-bottom: 4px solid rgba(0,0,0,0.05); -} -h1 a{ - color:#424; - text-decoration: none; -} + #messages{ background-color: #f0f0f0; border: 2px solid rgba(0,0,0,0.1); diff --git a/viewer.php b/viewer.php index 0d953a2..ae44de3 100644 --- a/viewer.php +++ b/viewer.php @@ -1,5 +1,18 @@ <?php - +/** + * ======================================================================= + * + * PHP EMAIL CATCHER + * Read emails sent by mail() and browse them + * + * 👤 Author: Axel Hahn, Institute for Medical Education, University of Bern + * 📄 Source: <https://git-repo.iml.unibe.ch/iml-open-source/php-emailcatcher> + * 📜 License: GNU GPL 3.0 + * + * ---------------------------------------------------------------------- + * 2024-10-08 v0.1 initial version + * ======================================================================= + */ require_once('classes/emailcatcher.class.php'); -- GitLab