s4

view scripts/s4-basic1.case @ 525:dd7bedb6a83c

typo fixed
author HIROSE Yuuji <yuuji@gentei.org>
date Sat, 06 Apr 2019 18:08:05 +0900
parents 9cf0b6b7bb90
children
line source
1 case $stage in
2 "home"|"")
3 rowid=${2%%[!A-Z0-9a-z_]*}
4 contenttype; echo
5 # func tbl-deffile rowidForUpdation
6 default_smail $formdir/memo.def
7 ;;
8 "edittable")
9 contenttype; echo
10 m4 -D_TITLE_="既存レコードの編集" $layout/html.m4.html
11 edittable "$formdir/$2.def" "$2" "$3"
12 ;;
13 "viewtable")
14 contenttype; echo
15 m4 -D_TITLE_="レコードの詳細" $layout/html.m4.html
16 viewtable "$formdir/$2.def" "$2" "$3"
17 ;;
18 "showattc")
19 # $2=table_m $3=rowid $4=val
20 shift
21 showattc "$@"
22 exit 0
23 ;;
24 esac