diff --git a/default.css b/default.css index ceef733..559d0a8 100644 --- a/default.css +++ b/default.css @@ -1,13 +1,13 @@ /* * Default CSS Definitions for Lecture Note - * (C)2009, 2010 by HIROSE, Yuuji [yuuji>aa "" || namae > "" || course > "" then +sid_invalid = (/^c11.....?$/i !~ sid) + +if sid == "" || namae == "" || course == "" || sid_invalid then + if sid == "" || namae == "" || course == "" then puts("

全ての項目を埋めてください

") end - if sid > "" && /^c11.....?$/i !~ sid then + if sid_invalid then puts("

正しい学籍番号を入れてください

") sid="" end