2011-08-29 22:34:26 +00:00
|
|
|
#!/mod/bin/jimsh
|
|
|
|
|
|
|
|
package require cgi
|
2012-05-21 20:23:41 +00:00
|
|
|
source /mod/webif/lib/setup
|
2011-09-15 23:08:15 +00:00
|
|
|
require rsv.class system.class
|
2011-08-29 22:34:26 +00:00
|
|
|
|
2013-02-09 22:46:15 +00:00
|
|
|
httpheader
|
2011-08-29 22:34:26 +00:00
|
|
|
|
2012-03-31 21:16:31 +00:00
|
|
|
set slot [cgi_get sid 0]
|
2011-08-29 22:34:26 +00:00
|
|
|
set table [cgi_get table TBL_RESERVATION]
|
2012-04-14 21:31:25 +00:00
|
|
|
set folder [cgi_get name ""]
|
2012-03-31 21:16:31 +00:00
|
|
|
set event [rsv slot $table $slot]
|
|
|
|
|
2011-08-29 22:34:26 +00:00
|
|
|
$event clear_ulslot
|
2012-03-31 21:16:31 +00:00
|
|
|
$event set_folder $folder
|
2011-08-29 22:34:26 +00:00
|
|
|
$event insert
|
|
|
|
|
2011-09-15 23:08:15 +00:00
|
|
|
system restartpending
|
|
|
|
|