Index: openacs-4/packages/beehive/www/new_technique.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/beehive/www/new_technique.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/beehive/www/new_technique.tcl 10 May 2006 05:38:46 -0000 1.1 +++ openacs-4/packages/beehive/www/new_technique.tcl 15 Jun 2006 05:51:20 -0000 1.2 @@ -50,32 +50,33 @@ {label "#beehive.Session_Technique_Version_name# "} {html {size 101}} } - {uses:text(text),optional - {label "#beehive.Session_Technique_uses# "} - {html {size 101}} - } - {problem:text(text),optional - {label "#beehive.Session_Technique_Problem# "} - {html { cols 100 rows 2 }} - } + #{uses:text(text),optional + # {label "#beehive.Session_Technique_uses# "} + # {html {size 101}} + #} + #{problem:text(text),optional + # {label "#beehive.Session_Technique_Problem# "} + # {html { cols 100 rows 2 }} + #} - {example:text(textarea),optional - {label "#beehive.Session_Technique_Example# "} - {html { cols 100 rows 2}} - } + #{example:text(textarea),optional + # {label "#beehive.Session_Technique_Example# "} + # {html { cols 100 rows 2}} + #} - {context:text(textarea),optional - {label "#beehive.Session_Technique_Context# "} - {html { cols 100 rows 2}} - } + #{context:text(textarea),optional + # {label "#beehive.Session_Technique_Context# "} + # {html { cols 100 rows 2}} + #} - {gstructure:text(textarea),optional - {label "#beehive.Session_Technique_Groups_structure# "} - {html { cols 100 rows 2}} - } - {solution:text(textarea),optional - {label "#beehive.Session_Technique_Solution# "} - {html { cols 100 rows 3}} + #{gstructure:text(textarea),optional + # {label "#beehive.Session_Technique_Groups_structure# "} + # {html { cols 100 rows 2}} + #} + {solution:text(textarea) + {label "#beehive.Session_Technique_Solution# "} + {help_text "[_ beehive.Session_agenda_text]" } + {html { cols 90 rows 8}} } {group:text(hidden) {value $group} @@ -89,8 +90,9 @@ } -new_data { - db_dml new_session_sql {insert into beehive_pattern (num,techniqe,name,problem,example,context,gstructure,solution,uses) values (:num, :techniqe,:name,:problem,:example,:context,:gstructure,:solution,:uses)} - + db_dml new_session_sql {insert into beehive_pattern (num,techniqe,name,solution) values (:num, :techniqe,:name,:solution)} + + } -after_submit {