changeset 27:18b4d56a6206

send2mem, login added
author HIROSE Yuuji <yuuji@gentei.org>
date Wed, 22 Jul 2015 09:07:59 +0900
parents 514acfff7453
children 7ae119a14613
files s4.cgi
diffstat 1 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/s4.cgi	Wed Jul 22 09:02:55 2015 +0900
+++ b/s4.cgi	Wed Jul 22 09:07:59 2015 +0900
@@ -17,7 +17,8 @@
 #gencookie; echo
 
 case ${SERVER_SOFTWARE} in
-  bozohttp*)
+  bozohttp*)	# Ugly workaround for bozohttpd, which can't send
+    		# two or more arguments.
     set -- `echo "$@"|(IFS=+ read a b c d e f g; echo $a $b $c $d $e $f $g)`
     ;;
 esac
@@ -48,6 +49,11 @@
   #      -D_DUMPTABLE_="`dumptable html diary title,wday,diary`" \
   #      $layout/html.m4.html $layout/diary.m4.html
   #   ;;
+  "login")
+    contenttype; echo
+    myargs=""
+    showlogin
+    ;;
   "invite")
     contenttype; echo
     invite
@@ -261,6 +267,10 @@
 EOF
     fi
     ;;
+  "send2mem")
+    contenttype; echo
+    send2grpmember
+    ;;
   "showattc")
     # $2=table_m $3=rowid $4=val
     if ! isfilereadable $user $2 $3; then

yatex.org