s4

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 diff
     1.1 --- a/s4.cgi	Wed Jul 22 09:02:55 2015 +0900
     1.2 +++ b/s4.cgi	Wed Jul 22 09:07:59 2015 +0900
     1.3 @@ -17,7 +17,8 @@
     1.4  #gencookie; echo
     1.5  
     1.6  case ${SERVER_SOFTWARE} in
     1.7 -  bozohttp*)
     1.8 +  bozohttp*)	# Ugly workaround for bozohttpd, which can't send
     1.9 +    		# two or more arguments.
    1.10      set -- `echo "$@"|(IFS=+ read a b c d e f g; echo $a $b $c $d $e $f $g)`
    1.11      ;;
    1.12  esac
    1.13 @@ -48,6 +49,11 @@
    1.14    #      -D_DUMPTABLE_="`dumptable html diary title,wday,diary`" \
    1.15    #      $layout/html.m4.html $layout/diary.m4.html
    1.16    #   ;;
    1.17 +  "login")
    1.18 +    contenttype; echo
    1.19 +    myargs=""
    1.20 +    showlogin
    1.21 +    ;;
    1.22    "invite")
    1.23      contenttype; echo
    1.24      invite
    1.25 @@ -261,6 +267,10 @@
    1.26  EOF
    1.27      fi
    1.28      ;;
    1.29 +  "send2mem")
    1.30 +    contenttype; echo
    1.31 +    send2grpmember
    1.32 +    ;;
    1.33    "showattc")
    1.34      # $2=table_m $3=rowid $4=val
    1.35      if ! isfilereadable $user $2 $3; then