Index: openacs-4/packages/xowf/xowf.info
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/xowf/xowf.info,v
diff -u -r1.12.2.28 -r1.12.2.29
--- openacs-4/packages/xowf/xowf.info 4 Feb 2021 13:22:16 -0000 1.12.2.28
+++ openacs-4/packages/xowf/xowf.info 9 Feb 2021 14:34:06 -0000 1.12.2.29
@@ -10,16 +10,16 @@
txowf
-
+ Gustaf NeumannXoWiki Content Flow - an XoWiki based workflow system implementing state-based behavior of wiki pages and forms2017-08-06WU ViennaBSD-Style2
-
-
+
+
Index: openacs-4/packages/xowf/catalog/xowf.de_DE.ISO-8859-1.xml
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/xowf/catalog/xowf.de_DE.ISO-8859-1.xml,v
diff -u -r1.2.2.44 -r1.2.2.45
--- openacs-4/packages/xowf/catalog/xowf.de_DE.ISO-8859-1.xml 18 Jan 2021 14:20:51 -0000 1.2.2.44
+++ openacs-4/packages/xowf/catalog/xowf.de_DE.ISO-8859-1.xml 9 Feb 2021 14:34:06 -0000 1.2.2.45
@@ -164,10 +164,18 @@
Darf der Studierende in mehrzeiligen Textfeldern Ausschneiden und Einf�gen verwenden?Ausschneiden und Einf�gen in mehrzeiligen Textfeldern ist erlaubtAusschneiden und Einf�gen in mehrzeiligen Textfeldern ist nicht erlaubt
+ Punkteanzeige
+ Zeige Studierenden w�hrend der Pr�fung die erreichbaren Punkte pro Beispiel
+ Minutenanzeige
+ Zeige Studierenden w�hrend der Pr�fung die vorgesehen Bearbeitsdauer pro Beispiel
+ Zeitbudget
+ Erh�he die Bearbeitungsdauer auf den angef�hren relativen WertBeschr�nkte FragenzahlBeschr�nke die Zahl der Fragen auf
- diesen Wert. Sinnvoll in Kombination mit randomisierter Fragenfolge, jeder Student sieht potentiell andere X von Y Fragen. Einschr�nkung: Alle Fragen m�ssen gleiche Dauer haben,
+ diesen Wert. Sinnvoll in Kombination mit randomisierter Fragenfolge,
+ jeder Student sieht potentiell andere X von Y Fragen. Einschr�nkung:
+ Alle Fragen m�ssen gleiche Dauer/Punkte aufweisen.
Beschr�nkung auf %n% Fragen ok, zeige Studierenden %n% von Beschr�nkung auf %n% Fragen NICHT ok (unterschiedliche Dauer), Beschr�nkung auf %n% Fragen NICHT ok (Fragenanzahl zu gering),
Index: openacs-4/packages/xowf/catalog/xowf.en_US.ISO-8859-1.xml
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/xowf/catalog/xowf.en_US.ISO-8859-1.xml,v
diff -u -r1.2.2.42 -r1.2.2.43
--- openacs-4/packages/xowf/catalog/xowf.en_US.ISO-8859-1.xml 18 Jan 2021 14:20:51 -0000 1.2.2.42
+++ openacs-4/packages/xowf/catalog/xowf.en_US.ISO-8859-1.xml 9 Feb 2021 14:34:06 -0000 1.2.2.43
@@ -182,9 +182,15 @@
Is the student allowed to use cut and paste in multiline text fields?Cut and Paste is allowed in multi-line text fieldsCut and Paste is not allowed in multi-line text fields
+ Show points
+ Show student points during exam
+ Show minutes
+ Show student minutes during exam
+ Time budget
+ Increase time budget for handicapped studentsRestrict Items
- Restrict item selection to this number of Items (requires same number weight of every item)
+ Restrict item selection to this number of items (requires same weight of every item)Restriction to %n% items ok, %n% of Item Restriction to %n% items NOT ok (duration varies), Item Restriction to %n% items NOT ok (not enough test items),
Index: openacs-4/packages/xowf/tcl/test-item-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/xowf/tcl/test-item-procs.tcl,v
diff -u -r1.7.2.109 -r1.7.2.110
--- openacs-4/packages/xowf/tcl/test-item-procs.tcl 9 Feb 2021 05:25:47 -0000 1.7.2.109
+++ openacs-4/packages/xowf/tcl/test-item-procs.tcl 9 Feb 2021 14:34:06 -0000 1.7.2.110
@@ -2935,6 +2935,20 @@
ns_log notice "[$form_obj name]: NO POINTS, default to minutes $minutes"
set points $minutes
}
+ set time_budget [$obj property time_budget]
+ ns_log notice "[$form_obj name]: TIME BUDGET '$time_budget'"
+ if {$time_budget ni {"" 100}} {
+ set minutes [expr {$time_budget*$minutes/100.0}]
+ ns_log notice "[$form_obj name]: TIME BUDGET '$time_budget' -> minutes set to $minutes"
+ ns_log notice "[$form_obj name]: [$obj instance_attributes]"
+ }
+ set mapping {show_points with_points show_minutes with_minutes}
+ foreach property {show_points show_minutes} {
+ if {[$obj property $property] ne ""} {
+ set [dict get $mapping $property] [$obj property $property]
+ ns_log notice "[$form_obj name]: override flag via exam setting: '$property' -> [$obj property $property]"
+ }
+ }
set title ""
if {$number ne ""} {
append title "#xowf.question# $number:"
@@ -3237,7 +3251,7 @@
set base_clock [clock scan [::xo::db::tcl_date $base_time tz]]
set secfrac 0
}
- set target_time [clock format [expr {$base_clock + $total_minutes * 60}] \
+ set target_time [clock format [expr {int($base_clock + $total_minutes * 60)}] \
-format %Y-%m-%dT%H:%M:%S]
ns_log notice "exam_target_time $base_time base clock $base_clock + total_minutes $total_minutes = ${target_time}.$secfrac"
return ${target_time}.$secfrac
@@ -3294,15 +3308,15 @@
:public method current_question_number {obj:object} {
#
# Translate the position of an object into its question number
- # (as e.g. used by current_question_title)
+ # (as e.g. used by current_question_title).
#
return [expr {[$obj property position] + 1}]
}
:public method current_question_title {{-with_numbers:switch false} obj:object} {
#
# In case, with_numbers is provided, return a internationalized
- # title for the question, such as "Question 1"
+ # title for the question, such as "Question 1".
#
if {$with_numbers} {
return "#xowf.question# [:current_question_number $obj]"
Index: openacs-4/packages/xowf/www/prototypes/select_question.form.page
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/xowf/www/prototypes/Attic/select_question.form.page,v
diff -u -r1.1.2.11 -r1.1.2.12
--- openacs-4/packages/xowf/www/prototypes/select_question.form.page 23 Nov 2020 11:50:42 -0000 1.1.2.11
+++ openacs-4/packages/xowf/www/prototypes/select_question.form.page 9 Feb 2021 14:34:06 -0000 1.1.2.12
@@ -8,7 +8,7 @@
@question@