diff --git a/examples/sns/form/diary.def b/examples/sns/form/diary.def deleted file mode 100644 index 3b0a0e2..0000000 --- a/examples/sns/form/diary.def +++ /dev/null @@ -1,4 +0,0 @@ -タイトル:title:s:text:length="20" maxlength="40" -曜日:wday:s:radio:日=sun 月=mon 火=tue 水=wed 木=thu 金=fri 土=sun -本文:diary:s:textarea: rows="4" cols="30" maxlength="2048" -stage:stage:s:hidden:value="diary" diff --git a/examples/sns/form/diary.def.notUSED b/examples/sns/form/diary.def.notUSED new file mode 100644 index 0000000..b6d6e62 --- /dev/null +++ b/examples/sns/form/diary.def.notUSED @@ -0,0 +1,5 @@ +# プライマリキー(:p)がないと使えない(現状不要なので整備せず) +タイトル:title:s:text:length="20" maxlength="40" +曜日:wday:s:radio:日=sun 月=mon 火=tue 水=wed 木=thu 金=fri 土=sun +本文:diary:s:textarea: rows="4" cols="30" maxlength="2048" +stage:stage:s:hidden:value="diary" diff --git a/s4-init.sh b/s4-init.sh index c3826d1..10b27c9 100755 --- a/s4-init.sh +++ b/s4-init.sh @@ -1,5 +1,5 @@ #!/bin/sh -type cgiinit >/dev/null 2.&1 || . `dirname $0`/s4-funcs.sh +type cgiinit >/dev/null 2>&1 || . `dirname $0`/s4-funcs.sh create() { # $1=type $2=obj $3=defs...