changeset 272:cd3283333ec1

Add link for printing out email addresses of participants.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 24 Nov 2013 17:57:33 +0200
parents becf97e747d2
children 39c247babc0c
files admajax.php print.php
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/admajax.php	Sun Nov 24 17:10:21 2013 +0200
+++ b/admajax.php	Sun Nov 24 17:57:33 2013 +0200
@@ -217,6 +217,11 @@
         break;
 
       case "attendees":
+        echo
+          "<div>\n".
+          "<a href=\"print.php?type=emails\" target=\"_blank\">List of e-mails</a>\n".
+          "</div>\n";
+
         // For adding a new one
         $prefix = "ne";
         echo
--- a/print.php	Sun Nov 24 17:10:21 2013 +0200
+++ b/print.php	Sun Nov 24 17:57:33 2013 +0200
@@ -48,7 +48,7 @@
 //
 switch (stGetRequestItem("type"))
 {
-  case "email":
+  case "emails":
     //
     // Generic e-mail data dump
     //