Index: openacs-4/packages/assessment/www/assessment.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/www/Attic/assessment.tcl,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/assessment/www/assessment.tcl 15 Sep 2004 19:47:48 -0000 1.1
+++ openacs-4/packages/assessment/www/assessment.tcl 19 Sep 2004 22:26:06 -0000 1.2
@@ -1,5 +1,5 @@
ad_page_contract {
- @author eperez@it.uc3m.es
+ @author Eduardo P�rez Ureta (eperez@it.uc3m.es)
@creation-date 2004-09-13
} -query {
assessment_id:notnull
Index: openacs-4/packages/assessment/www/index.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/www/index.adp,v
diff -u -r1.4 -r1.5
--- openacs-4/packages/assessment/www/index.adp 7 Jun 2004 14:02:53 -0000 1.4
+++ openacs-4/packages/assessment/www/index.adp 19 Sep 2004 22:26:06 -0000 1.5
@@ -1,9 +1,14 @@
Assessment
@context;noquote@
-
+
+
+
+
+
+
Index: openacs-4/packages/assessment/www/index.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/www/index.tcl,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/assessment/www/index.tcl 10 May 2004 12:20:10 -0000 1.1
+++ openacs-4/packages/assessment/www/index.tcl 19 Sep 2004 22:26:06 -0000 1.2
@@ -1,12 +1,18 @@
-# packages/alvassessment1/www/index.tcl
-
ad_page_contract {
- @author Alvaro
+ @author Eduardo P�rez Ureta (eperez@it.uc3m.es)
+ @creation-date 2004-09-03
} {
} -properties {
- context:onevalue
+ context:onevalue
+ assessment_info:multirow
}
-set context [list]
+set context [list "Show Assessments"]
+set package_id [ad_conn package_id]
+
+db_multirow assessment_info asssessment_id_name_definition {} {}
+
+set admin_p [ad_permission_p $package_id admin]
+
ad_return_template
Index: openacs-4/packages/assessment/www/index.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/www/index.xql,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ openacs-4/packages/assessment/www/index.xql 19 Sep 2004 22:26:06 -0000 1.1
@@ -0,0 +1,22 @@
+
+
+
+ postgresql7.1
+
+
+
+ SELECT as_assessmentsx.assessment_id, as_assessmentsx.name, as_assessmentsx.title, as_assessmentsx.description
+ FROM as_assessments
+
+
+
+
+
+ SELECT assessment_id, as_sections.section_id, as_sections.name, as_sections.definition
+ FROM as_sections JOIN as_assessment_section_map
+ ON (as_sections.section_id=as_assessment_section_map.section_id)
+ WHERE assessment_id=2
+
+
+
+