Index: openacs-4/packages/assessment/assessment.info
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/assessment.info,v
diff -u -r1.8 -r1.9
--- openacs-4/packages/assessment/assessment.info 5 Dec 2004 17:18:01 -0000 1.8
+++ openacs-4/packages/assessment/assessment.info 6 Dec 2004 12:27:48 -0000 1.9
@@ -7,7 +7,7 @@
f
f
-
+
oracle
postgresql
@@ -20,7 +20,7 @@
0
E-LANE
Create assessments and evalueate.
-
+
Index: openacs-4/packages/assessment/sql/postgresql/assessment-section-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/sql/postgresql/assessment-section-create.sql,v
diff -u -r1.10 -r1.11
--- openacs-4/packages/assessment/sql/postgresql/assessment-section-create.sql 26 Nov 2004 20:49:19 -0000 1.10
+++ openacs-4/packages/assessment/sql/postgresql/assessment-section-create.sql 6 Dec 2004 12:27:57 -0000 1.11
@@ -81,7 +81,7 @@
-- text that explains any specific steps the subject needs to follow
instructions text,
-- whether this is a standalone assessment (like current surveys), or if it provides an "assessment service" to another OpenACS app, or a "web service" via SOAP, etc
- mode varchar(25),
+ run_mode varchar(25),
-- whether the creator of the assessment will have the possibility to see the personal details of the respondee or not
anonymous_p char(1) default 'f'
constraint as_assessments_anonymous_p_ck
Index: openacs-4/packages/assessment/sql/postgresql/upgrade/upgrade-0.02d-0.03d.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/sql/postgresql/upgrade/upgrade-0.02d-0.03d.sql,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ openacs-4/packages/assessment/sql/postgresql/upgrade/upgrade-0.02d-0.03d.sql 6 Dec 2004 12:26:53 -0000 1.1
@@ -0,0 +1 @@
+alter table as_assessments rename column mode to run_mode;
Index: openacs-4/packages/assessment/tcl/as-assessment-procs-oracle.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/tcl/as-assessment-procs-oracle.xql,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/assessment/tcl/as-assessment-procs-oracle.xql 26 Nov 2004 20:48:37 -0000 1.1
+++ openacs-4/packages/assessment/tcl/as-assessment-procs-oracle.xql 6 Dec 2004 12:26:53 -0000 1.2
@@ -6,7 +6,7 @@
select a.assessment_id as assessment_rev_id, cr.item_id as assessment_id, cr.title,
- cr.description, o.creation_user, o.creation_date, a.instructions, a.mode,
+ cr.description, o.creation_user, o.creation_date, a.instructions, a.run_mode,
a.anonymous_p, a.secure_access_p, a.reuse_responses_p,
a.show_item_name_p, a.entry_page, a.exit_page, a.consent_page, a.return_url,
a.start_time, a.end_time, a.number_tries, a.wait_between_tries,
Index: openacs-4/packages/assessment/tcl/as-assessment-procs-postgresql.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/tcl/as-assessment-procs-postgresql.xql,v
diff -u -r1.2 -r1.3
--- openacs-4/packages/assessment/tcl/as-assessment-procs-postgresql.xql 3 Dec 2004 10:24:21 -0000 1.2
+++ openacs-4/packages/assessment/tcl/as-assessment-procs-postgresql.xql 6 Dec 2004 12:26:53 -0000 1.3
@@ -6,7 +6,7 @@
select a.assessment_id as assessment_rev_id, cr.item_id as assessment_id, cr.title, ci.name,
- cr.description, o.creation_user, o.creation_date, a.instructions, a.mode,
+ cr.description, o.creation_user, o.creation_date, a.instructions, a.run_mode,
a.anonymous_p, a.secure_access_p, a.reuse_responses_p,
a.show_item_name_p, a.entry_page, a.exit_page, a.consent_page, a.return_url,
a.start_time, a.end_time, a.number_tries, a.wait_between_tries,
Index: openacs-4/packages/assessment/tcl/as-assessment-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/tcl/as-assessment-procs.tcl,v
diff -u -r1.7 -r1.8
--- openacs-4/packages/assessment/tcl/as-assessment-procs.tcl 5 Dec 2004 17:17:12 -0000 1.7
+++ openacs-4/packages/assessment/tcl/as-assessment-procs.tcl 6 Dec 2004 12:26:53 -0000 1.8
@@ -11,7 +11,7 @@
{-creator_id ""}
{-description ""}
{-instructions ""}
- {-mode ""}
+ {-run_mode ""}
{-anonymous_p ""}
{-secure_access_p ""}
{-reuse_responses_p ""}
@@ -48,7 +48,7 @@
-description $description \
-attributes [list [list creator_id $creator_id] \
[list instructions $instructions] \
- [list mode $mode] \
+ [list run_mode $run_mode] \
[list anonymous_p $anonymous_p] \
[list secure_access_p $secure_access_p] \
[list reuse_responses_p $reuse_responses_p] \
@@ -76,7 +76,7 @@
{-creator_id ""}
{-description ""}
{-instructions ""}
- {-mode ""}
+ {-run_mode ""}
{-anonymous_p ""}
{-secure_access_p ""}
{-reuse_responses_p ""}
@@ -109,7 +109,7 @@
-description $description \
-attributes [list [list creator_id $creator_id] \
[list instructions $instructions] \
- [list mode $mode] \
+ [list run_mode $run_mode] \
[list anonymous_p $anonymous_p] \
[list secure_access_p $secure_access_p] \
[list reuse_responses_p $reuse_responses_p] \
@@ -179,7 +179,7 @@
-description $a(description) \
-attributes [list [list creator_id $a(creator_id)] \
[list instructions $a(instructions)] \
- [list mode $a(mode)] \
+ [list run_mode $a(run_mode)] \
[list anonymous_p $a(anonymous_p)] \
[list secure_access_p $a(secure_access_p)] \
[list reuse_responses_p $a(reuse_responses_p)] \
Index: openacs-4/packages/assessment/www/admin/assessment-form.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/www/admin/Attic/assessment-form.tcl,v
diff -u -r1.3 -r1.4
--- openacs-4/packages/assessment/www/admin/assessment-form.tcl 5 Dec 2004 17:15:23 -0000 1.3
+++ openacs-4/packages/assessment/www/admin/assessment-form.tcl 6 Dec 2004 12:26:53 -0000 1.4
@@ -40,7 +40,7 @@
ad_form -extend -name assessment_form -form {
{instructions:text(textarea),optional {label "[_ assessment.Instructions]"} {html {rows 5 cols 80}} {help_text "[_ assessment.as_Instructions_help]"}}
- {mode:text,optional {label "[_ assessment.Mode]"} {html {size 25 maxlength 25}} {help_text "[_ assessment.as_Mode_help]"}}
+ {run_mode:text,optional {label "[_ assessment.Mode]"} {html {size 25 maxlength 25}} {help_text "[_ assessment.as_Mode_help]"}}
{anonymous_p:text(select) {label "[_ assessment.Anonymous_Responses]"} {options $boolean_options} {help_text "[_ assessment.as_Anonymous_help]"}}
{secure_access_p:text(select) {label "[_ assessment.Secure_Access_1]"} {options $boolean_options} {help_text "[_ assessment.as_Secure_Access_help]"}}
{reuse_responses_p:text(select) {label "[_ assessment.Reuse_Responses_1]"} {options $boolean_options} {help_text "[_ assessment.as_Reuse_Responses_help]"}}
@@ -60,7 +60,7 @@
set title ""
set description ""
set instructions ""
- set mode ""
+ set run_mode ""
set anonymous_p f
set secure_access_p f
set reuse_responses_p f
@@ -99,7 +99,7 @@
-title $title \
-description $description \
-instructions $instructions \
- -mode $mode \
+ -run_mode $run_mode \
-anonymous_p $anonymous_p \
-secure_access_p $secure_access_p \
-reuse_responses_p $reuse_responses_p \
@@ -129,7 +129,7 @@
-title $title \
-description $description \
-instructions $instructions \
- -mode $mode \
+ -run_mode $run_mode \
-anonymous_p $anonymous_p \
-secure_access_p $secure_access_p \
-reuse_responses_p $reuse_responses_p \
Index: openacs-4/packages/assessment/www/admin/assessment-form.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/www/admin/Attic/assessment-form.xql,v
diff -u -r1.2 -r1.3
--- openacs-4/packages/assessment/www/admin/assessment-form.xql 5 Dec 2004 17:15:23 -0000 1.2
+++ openacs-4/packages/assessment/www/admin/assessment-form.xql 6 Dec 2004 12:26:53 -0000 1.3
@@ -4,7 +4,7 @@
- select cr.title, cr.description, a.instructions, a.mode,
+ select cr.title, cr.description, a.instructions, a.run_mode,
a.anonymous_p, a.secure_access_p, a.reuse_responses_p, a.show_item_name_p,
a.entry_page, a.exit_page, a.consent_page, a.return_url, a.number_tries,
a.wait_between_tries, a.time_for_response, a.show_feedback, a.section_navigation,