MantisBT - ATutor
View Issue Details
0005033ATutorPreferencespublic2012-07-24 15:342012-07-26 09:59
greg 
cindy 
normalminoralways
closedfixed 
 
2.12.1 
SVN
Listed in notes
0005033: Restore default Prefs fails
In 2.1 after setting text preferences to cursive, 1.5x, white on black, pressing the restore defaults button does not restore defaults.
No tags attached.
Issue History
2012-07-24 15:34gregNew Issue
2012-07-24 15:35gregAssigned To => cindy
2012-07-24 15:35gregStatusnew => assigned
2012-07-25 09:30cindySVN Revision# => 3df812f6d08cd66091380514d0b1b6af5f2f7592
2012-07-25 09:30cindyNote Added: 0005691
2012-07-25 09:30cindyStatusassigned => resolved
2012-07-25 09:30cindyFixed in Version => 2.1
2012-07-25 09:30cindyResolutionopen => fixed
2012-07-25 15:10cindyNote Added: 0005699
2012-07-25 15:10cindyStatusresolved => feedback
2012-07-25 15:10cindyResolutionfixed => reopened
2012-07-25 15:15cindySVN Revision#3df812f6d08cd66091380514d0b1b6af5f2f7592 => Listed in notes
2012-07-25 15:15cindyNote Added: 0005700
2012-07-25 15:15cindyStatusfeedback => resolved
2012-07-25 15:15cindyResolutionreopened => fixed
2012-07-26 09:59gregNote Added: 0005707
2012-07-26 09:59gregStatusresolved => closed

Notes
(0005691)
cindy   
2012-07-25 09:30   
Solution: At the request to restore to system defaults, remove the session vars for foreground color, background color etc. which are set on user preference page.

Affected: include/vitals.inc.php
(0005699)
cindy   
2012-07-25 15:10   
The prefs for "learner support tools" are not saved.
(0005700)
cindy   
2012-07-25 15:15   
Related commits:
130143428c80c3fb84cbc59d6b25d03828315f1b
9c8da4d941315e67462f13f91253739e452ec604
3df812f6d08cd66091380514d0b1b6af5f2f7592

Re-structure the user preference page to,
1. at "restore system defaults", only apply themes immediately in vitals.inc.php. The save on other prefs are preformed at user prefs index script;
2. fixed the issue that the prefs on learner support tools are not saved.

Affected scripts:
include/vitals.inc.php
users/pref_wizard/index.php
users/tool_settings.inc.php
(0005707)
greg   
2012-07-26 09:59   
close for ATutor 2.1