Mercurial > hgrepos > hgweb.cgi > after5
comparison after5.rb @ 91:9ed5d139232f draft
Should use sub_nt* instead of nt* in modifying mode
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Mon, 23 Dec 2013 12:37:53 +0900 |
parents | 48afc00ef5df |
children | 52a3c4444a4c |
comparison
equal
deleted
inserted
replaced
90:48afc00ef5df | 91:9ed5d139232f |
---|---|
2 # -*- coding: euc-jp -*- | 2 # -*- coding: euc-jp -*- |
3 # | 3 # |
4 # Associative Scheduling Table - after5 | 4 # Associative Scheduling Table - after5 |
5 # (C)2003, 2004, 2006, 2008, 2012, 2013 by HIROSE Yuuji [yuuji<at>gentei.org] | 5 # (C)2003, 2004, 2006, 2008, 2012, 2013 by HIROSE Yuuji [yuuji<at>gentei.org] |
6 # $Id: after5.rb,v 1.20 2012/12/03 15:54:20 yuuji Exp $ | 6 # $Id: after5.rb,v 1.20 2012/12/03 15:54:20 yuuji Exp $ |
7 # Last modified Sat Dec 21 16:24:53 2013 on firestorm | 7 # Last modified Mon Dec 23 12:33:10 2013 on firestorm |
8 # See http://www.gentei.org/~yuuji/software/after5/ | 8 # See http://www.gentei.org/~yuuji/software/after5/ |
9 # このスクリプトはEUCで保存してください。 | 9 # このスクリプトはEUCで保存してください。 |
10 $hgid = <<_HGID_.split[1..-2].join(" ") | 10 $hgid = <<_HGID_.split[1..-2].join(" ") |
11 $HGid$ | 11 $HGid$ |
12 _HGID_ | 12 _HGID_ |
2645 "visibility: " + | 2645 "visibility: " + |
2646 (editmode=="move" ? "hidden" : "show") + "\""}) { | 2646 (editmode=="move" ? "hidden" : "show") + "\""}) { |
2647 msg('reqnotify') + "<br>\n" + \ | 2647 msg('reqnotify') + "<br>\n" + \ |
2648 @ntlist.collect{|nt, v| | 2648 @ntlist.collect{|nt, v| |
2649 cronp = @sc.getfile(user, y, m, d, time, nt) | 2649 cronp = @sc.getfile(user, y, m, d, time, nt) |
2650 sprintf "<input type=\"checkbox\" name=\"%s\"%s>%s \n", | 2650 sprintf "<input type=\"checkbox\" name=\"sub_%s\"%s>%s \n", |
2651 nt, (cronp ? " checked" : ""), v | 2651 nt, (cronp ? " checked" : ""), v |
2652 }.join + "<br>" | 2652 }.join + "<br>" |
2653 } + \ | 2653 } + \ |
2654 @H.element("textarea", @schedulearea) {text} + "<br>" + \ | 2654 @H.element("textarea", @schedulearea) {text} + "<br>" + \ |
2655 @H.radio("editmode", "append", msg('append')) + ' / ' + \ | 2655 @H.radio("editmode", "append", msg('append')) + ' / ' + \ |