Mercurial > hgrepos > hgweb.cgi > s4
view scripts/s4-basic1.case @ 714:d7c5f86d9c75
Auth check more rigidly
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Sat, 30 May 2020 11:28:01 +0900 |
parents | dd7bedb6a83c |
children |
line wrap: on
line source
case $stage in "home"|"") rowid=${2%%[!A-Z0-9a-z_]*} contenttype; echo # func tbl-deffile rowidForUpdation default_smail $formdir/memo.def ;; "edittable") contenttype; echo m4 -D_TITLE_="既存レコードの編集" $layout/html.m4.html edittable "$formdir/$2.def" "$2" "$3" ;; "viewtable") contenttype; echo m4 -D_TITLE_="レコードの詳細" $layout/html.m4.html viewtable "$formdir/$2.def" "$2" "$3" ;; "showattc") # $2=table_m $3=rowid $4=val shift showattc "$@" exit 0 ;; esac