diff print.php @ 512:998a09b332f1

Add plain text printable results visible for admins.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 08 Dec 2013 02:27:15 +0200
parents 0c7b301742bd
children 6b4cbd590d35
line wrap: on
line diff
--- a/print.php	Sun Dec 08 02:16:26 2013 +0200
+++ b/print.php	Sun Dec 08 02:27:15 2013 +0200
@@ -48,6 +48,11 @@
 //
 switch (stGetRequestItem("type", "", TRUE))
 {
+  case "results":
+    header("Content-Type: text/plain");
+    echo stGetCompoResultsASCIIStr(TRUE, FALSE);
+    break;
+
   case "emails":
     //
     // Generic e-mail data dump