Index: openacs-4/packages/xowf/xowf.info
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/xowf/xowf.info,v
diff -u -r1.12.2.91 -r1.12.2.92
--- openacs-4/packages/xowf/xowf.info 22 Aug 2022 16:08:55 -0000 1.12.2.91
+++ openacs-4/packages/xowf/xowf.info 29 Aug 2022 07:46:51 -0000 1.12.2.92
@@ -10,15 +10,15 @@
t
xowf
-
+
Gustaf Neumann
XoWiki Content Flow - an XoWiki based workflow system implementing state-based behavior of wiki pages and forms
2021-09-15
WU Vienna
BSD-Style
2
-
+
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.81 -r1.2.2.82
--- openacs-4/packages/xowf/catalog/xowf.de_DE.ISO-8859-1.xml 22 Aug 2022 16:08:55 -0000 1.2.2.81
+++ openacs-4/packages/xowf/catalog/xowf.de_DE.ISO-8859-1.xml 29 Aug 2022 07:46:51 -0000 1.2.2.82
@@ -214,6 +214,8 @@
Zeige maximal
Anzeige der Minuten pro Frage
Zeige Studierenden w�hrend der Pr�fung die vorgesehene Bearbeitungsdauer pro Beispiel
+ Freie Fragennavigation erlaubt
+ D�rfen Studierende frei zwischen den Fragen navigieren?
Anzeige der Punkte pro Frage
Zeige Studierenden w�hrend der Pr�fung die erreichbaren Punkte pro Beispiel
Zeige Antwortstatistik
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.86 -r1.2.2.87
--- openacs-4/packages/xowf/catalog/xowf.en_US.ISO-8859-1.xml 22 Aug 2022 16:08:55 -0000 1.2.2.86
+++ openacs-4/packages/xowf/catalog/xowf.en_US.ISO-8859-1.xml 29 Aug 2022 07:46:51 -0000 1.2.2.87
@@ -234,6 +234,8 @@
Show Max
Show questions with minutes
Show student questions with time budget in minutes during exam
+ Allow free navigation
+ Is the student alllowed to freely navigate through the questions?
Show questions with points
Show student achievable points per question during exam
Show Results
Index: openacs-4/packages/xowf/lib/inclass-exam.wf
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/xowf/lib/inclass-exam.wf,v
diff -u -r1.1.2.99 -r1.1.2.100
--- openacs-4/packages/xowf/lib/inclass-exam.wf 13 Aug 2022 14:00:38 -0000 1.1.2.99
+++ openacs-4/packages/xowf/lib/inclass-exam.wf 29 Aug 2022 07:46:52 -0000 1.1.2.100
@@ -81,6 +81,7 @@
{proctoring_options:checkbox,horizontal=true,options={Desktop d} {Camera c} {Audio a} {Statement s},default=d c a s,label=#xowf.Proctoring_options#,help_text=#xowf.Proctoring_options_help_text#,swa?:disabled=1}
{proctoring_record:boolean,horizontal=true,default=t,label=#xowf.Proctoring_record#,help_text=#xowf.Proctoring_record_help_text#}
{signature:boolean,horizontal=true,default=f,label=#xowf.Signature#,help_text=#xowf.Signature_help_text#}
+ {show_pagination_actions:boolean,horizontal=true,default=t,label=#xowf.Show_pagination_actions#,help_text=#xowf.Show_pagination_actions_help_text#}
{grading:grading_scheme,required,default=none,label=#xowf.Grading_scheme#,help_text=#xowf.Grading_scheme_help_text#}
{iprange:iprange,required,default=all,label=#xowf.IPrange#,help_text=#xowf.IPrange_help_text#}
}
Index: openacs-4/packages/xowf/resources/prototypes/select_question.form.page
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/xowf/resources/prototypes/select_question.form.page,v
diff -u -r1.1.2.11 -r1.1.2.12
--- openacs-4/packages/xowf/resources/prototypes/select_question.form.page 8 Apr 2022 09:46:03 -0000 1.1.2.11
+++ openacs-4/packages/xowf/resources/prototypes/select_question.form.page 29 Aug 2022 07:46:52 -0000 1.1.2.12
@@ -19,6 +19,7 @@
@proctoring_record@
@signature@
@iprange@
+ @show_pagination_actions@
@grading@
@@ -36,6 +37,7 @@
{show_points:}
{show_ip:}
{iprange:}
+ {show_pagination_actions:}
{time_budget:}
{synchronized:}
{time_window:}
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.242 -r1.7.2.243
--- openacs-4/packages/xowf/tcl/test-item-procs.tcl 23 Aug 2022 18:44:55 -0000 1.7.2.242
+++ openacs-4/packages/xowf/tcl/test-item-procs.tcl 29 Aug 2022 07:46:52 -0000 1.7.2.243
@@ -5576,40 +5576,42 @@
set actions ""
if {$question_count > 1} {
- set extra_css [:pagination_button_css \
- -CSSclass $CSSclass \
- -cond [expr {$current_position == 0}] \
- -extra "disabled"]
- ${container}::previousQuestion configure \
- -extra_css_class $extra_css \
- -label "«" \
- -label_noquote true \
- -wrapper_CSSclass "pagination"
- lappend actions previousQuestion
-
- for {set count 1} {$count <= $question_count} {incr count} {
- set visited_css [expr {($count - 1) in $visited ? "visited" : ""}]
- set flag_label [expr {($count - 1) in $flagged
- ? " [::xowiki::bootstrap::icon -name flag -CSSclass text-danger]"
- : ""}]
+ if {[[${:wfi} get_parent_object] property show_pagination_actions t]} {
set extra_css [:pagination_button_css \
- -CSSclass "$CSSclass $visited_css" \
- -cond [expr {$current_position == $count - 1 }] \
- -extra "active current"]
- ${container}::Action create ${container}::q.$count \
- -label "$count$flag_label" \
- -label_noquote true \
- -state_safe true \
- -next_state working \
- -wrapper_CSSclass "pagination" \
+ -CSSclass $CSSclass \
+ -cond [expr {$current_position == 0}] \
+ -extra "disabled"]
+ ${container}::previousQuestion configure \
-extra_css_class $extra_css \
- -proc activate {obj} [subst {
- #ns_log notice "===== NAVIGATE next"
- next
- #ns_log notice "===== NAVIGATE goto [expr {$count - 1}]"
- :goto_page [expr {$count - 1}]
- }]
- lappend actions q.$count
+ -label "«" \
+ -label_noquote true \
+ -wrapper_CSSclass "pagination"
+ lappend actions previousQuestion
+
+ for {set count 1} {$count <= $question_count} {incr count} {
+ set visited_css [expr {($count - 1) in $visited ? "visited" : ""}]
+ set flag_label [expr {($count - 1) in $flagged
+ ? " [::xowiki::bootstrap::icon -name flag -CSSclass text-danger]"
+ : ""}]
+ set extra_css [:pagination_button_css \
+ -CSSclass "$CSSclass $visited_css" \
+ -cond [expr {$current_position == $count - 1 }] \
+ -extra "active current"]
+ ${container}::Action create ${container}::q.$count \
+ -label "$count$flag_label" \
+ -label_noquote true \
+ -state_safe true \
+ -next_state working \
+ -wrapper_CSSclass "pagination" \
+ -extra_css_class $extra_css \
+ -proc activate {obj} [subst {
+ #ns_log notice "===== NAVIGATE next"
+ next
+ #ns_log notice "===== NAVIGATE goto [expr {$count - 1}]"
+ :goto_page [expr {$count - 1}]
+ }]
+ lappend actions q.$count
+ }
}
set extra_css [:pagination_button_css \
-CSSclass $CSSclass \
@@ -6728,7 +6730,7 @@
lappend modifiable {*}{
shuffle_items max_items
time_budget synchronized time_window
- proctoring proctoring_options proctoring_record signature
+ proctoring proctoring_options proctoring_record signature show_pagination_actions
}
}
return $modifiable